Thanks!

BTW I also tried the embedded mode, also with the same exception...

Regards.
Jan


> -----Original Message-----
> From: Francesco Chicchiriccò [mailto:ilgro...@apache.org]
> Sent: Donnerstag, 10. Januar 2013 15:50
> To: dev@syncope.apache.org
> Subject: Re: Console is not working with trunk version
> 
> On 10/01/2013 15:37, Jan Bernhardt wrote:
> > Hi Francesco,
> >
> > I used our archetype to generate a new project and then deployed this one
> to Tomcat 7.
> >
> > First I used my (old) syncope postgres DB settings. But I also created a new
> (empty) DB getting still the same error messages.
> 
> Ok, I'll replicate your setup and let you know.
> 
> Regards.
> 
> >> -----Original Message-----
> >> From: Francesco Chicchiriccò [mailto:ilgro...@apache.org]
> >> Sent: Donnerstag, 10. Januar 2013 15:33
> >> To: dev@syncope.apache.org
> >> Subject: Re: Console is not working with trunk version
> >>
> >> On 10/01/2013 15:26, Jan Bernhardt wrote:
> >>> Hi Syncopers,
> >>>
> >>> I just tried to setup a syncope IDM based on the current trunk
> >>> version. I
> >> was able to package and deploy core and console just fine. But when I
> >> try to login to our console I get an unexpected RuntimeException!!
> >>> Does someone has a clue why this is happening?
> >> Which setup are you running? From sources? From a generated project
> >> via archetype? If so, embedded or in an external Tomcat?
> >>
> >>> Unexpected RuntimeException
> >>>
> >>> Last cause: null
> >>> WicketMessage: Method onFormSubmitted of interface
> >>> org.apache.wicket.markup.html.form.IFormSubmitListener targeted at
> >>> [Form [Component id = login]] on component [Form [Component id =
> >>> login]] threw an exception
> >>>
> >>> Stacktrace
> >>>
> >>> Root cause:
> >>>
> >>> java.lang.NullPointerException
> >>>        at
> >>
> org.apache.syncope.console.SyncopeSession.setEntitlements(SyncopeSess
> >> i
> >> on.java:81)
> >>>        at
> org.apache.syncope.console.pages.Login$1.onSubmit(Login.java:113)
> >>>        at
> >>
> org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:75
> >> 7)
> >>>        at
> >>
> org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:70
> >> 0)
> >>>        at java.lang.reflect.Method.invoke(Method.java:597)
> >>>        at
> >> org.apache.wicket.RequestListenerInterface.internalInvoke(RequestList
> >> ener
> >> Interface.java:258)
> >>>        at
> >> org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInte
> >> rfac
> >> e.java:216)
> >>>        at
> >> org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandle
> >> r.in
> >> vokeListener(ListenerInterfaceRequestHandler.java:240)
> >>>        at
> >> org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandle
> >> r.r
> >> espond(ListenerInterfaceRequestHandler.java:226)
> >>>        at
> >>
> org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(
> >> Re
> >> questCycle.java:840)
> >>>        at
> >>
> org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerS
> >> t
> >> ack.java:64)
> >>>        at
> >> org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.jav
> >> a:2
> >> 54)
> >>>        at
> >>
> org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCy
> >> cl
> >> e.java:211)
> >>>        at
> >>
> org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(
> >> R
> >> equestCycle.java:282)
> >>>        at
> >> org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(Wick
> >> etFil
> >> ter.java:244)
> >>>        at
> >> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFil
> >> ter.ja
> >> va:188)
> >>>        at
> >> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.ja
> >> va:267)
> >>>        at
> >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
> >> icationFi
> >> lterChain.java:243)
> >>>        at
> >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
> >> ilterChai
> >> n.java:210)
> >>>        at
> >>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
> >> alve.java:225)
> >>>        at
> >>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
> >> al
> >> ve.java:169)
> >>>        at
> >> org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
> >> torB
> >> ase.java:472)
> >>>        at
> >>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
> >> 168)
> >>>        at
> >> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
> >> ava:9
> >> 8)
> >>>        at
> >> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
> >> 927)
> >>>        at
> >>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
> >> java:118)
> >>>        at
> >> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
> >> a:4
> >> 07)
> >>>        at
> >> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp
> >> 11P
> >> rocessor.java:999)
> >>>        at
> >>
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(
> >> Ab
> >> stractProtocol.java:565)
> >>>        at
> >> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoin
> >> t.ja
> >> va:309)
> >>>        at
> >>
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
> >> ut
> >> or.java:886)
> >>>        at
> >>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
> >> .ja
> >> va:908)
> >>>        at java.lang.Thread.run(Thread.java:662)
> >>> Viele Grüße
> 
> --
> Francesco Chicchiriccò
> 
> ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member
> http://people.apache.org/~ilgrosso/

Reply via email to