]
Shane Bryzak resolved SEAMSECURITY-43.
--------------------------------------
Resolution: Done
Fixed NPE in JpaIdentityStore
security-idmconsole example fails with NPE
------------------------------------------
Key: SEAMSECURITY-43
URL:
https://issues.jboss.org/browse/SEAMSECURITY-43
Project: Seam Security
Issue Type: Bug
Affects Versions: 3.0.0.CR3
Reporter: Jozef Hartinger
Assignee: Shane Bryzak
Fix For: 3.0.0.Final
To reproduce:
1.) Deploy the security-idmconsole example to JBoss AS 6
2.) Go to
http://localhost:8080/security-idmconsole
3.) Log in as demo/demo
4.) Click "Manage users"
5.) Click "Create new user"
6.) Fill in user details (e.g. tester, password, password) and check "Account
enabled"
7.) Click "Save"
8.) The following stacktrace appears:
{code}
13:06:18,770 SEVERE [javax.enterprise.resource.webcontainer.jsf.application]
org.picketlink.idm.common.exception.IdentityException: Error creating identity object:
javax.faces.el.EvaluationException: org.picketlink.idm.common.exception.IdentityException:
Error creating identity object
at
javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:98)
[:2.0.3-]
at
com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:98)
[:2.0.3-]
at javax.faces.component.UICommand.broadcast(UICommand.java:311) [:2.0.3-]
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:781)
[:2.0.3-]
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1246)
[:2.0.3-]
at
com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:77)
[:2.0.3-]
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97) [:2.0.3-]
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:114)
[:2.0.3-]
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:308) [:2.0.3-]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324)
[:6.0.0.Final]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
[:6.0.0.Final]
at
org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:67)
[:6.0.0.Final]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)
[:6.0.0.Final]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
[:6.0.0.Final]
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
[:6.0.0.Final]
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
[:6.0.0.Final]
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181)
[:6.0.0.Final]
at
org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285)
[:1.1.0.Final]
at
org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261)
[:1.1.0.Final]
at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88)
[:6.0.0.Final]
at
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100)
[:6.0.0.Final]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
[:6.0.0.Final]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
[:6.0.0.Final]
at
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
[:6.0.0.Final]
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
[:6.0.0.Final]
at
org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53)
[:6.0.0.Final]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)
[:6.0.0.Final]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
[:6.0.0.Final]
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:654)
[:6.0.0.Final]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951)
[:6.0.0.Final]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_23]
Caused by: org.picketlink.idm.common.exception.IdentityException: Error creating identity
object
at
org.jboss.seam.security.management.picketlink.JpaIdentityStore.createIdentityObject(JpaIdentityStore.java:1168)
[:3.0.0.CR3]
at
org.jboss.seam.security.management.picketlink.JpaIdentityStore.createIdentityObject(JpaIdentityStore.java:1096)
[:3.0.0.CR3]
at
org.picketlink.idm.impl.repository.WrapperIdentityStoreRepository.createIdentityObject(WrapperIdentityStoreRepository.java:144)
[:1.5.0.Alpha02]
at
org.picketlink.idm.impl.api.session.managers.PersistenceManagerImpl.createUser(PersistenceManagerImpl.java:132)
[:1.5.0.Alpha02]
at
org.jboss.seam.security.management.action.UserAction.saveNewUser(UserAction.java:154)
[:3.0.0.CR3]
at org.jboss.seam.security.management.action.UserAction.save(UserAction.java:132)
[:3.0.0.CR3]
at
org.jboss.seam.security.management.action.org$jboss$weld$bean-jboss$classloader:id="vfs:$$$home$jharting$jboss$Seam_3$jboss-6$0$0$Final$server$default$deploy$security-idmconsole$war"-ManagedBean-org$jboss$seam$security$management$action$UserAction[@javax$enterprise$context$ConversationScoped()@javax$inject$Named(value=)]{org$jboss$seam$security$management$action$UserAction$conversation[@javax$inject$Inject()]$org$jboss$seam$security$management$action$UserAction$identitySession[@javax$inject$Inject()]$org$jboss$seam$security$management$action$UserAction$deleteUser[@org$jboss$seam$transaction$Transactional(value=REQUIRED)@org$jboss$seam$transaction$TransactionalInterceptorBinding()](java$lang$String)$org$jboss$seam$security$management$action$UserAction$save[@org$jboss$seam$transaction$Transactional(value=REQUIRED)@org$jboss$seam$transaction$TransactionalInterceptorBinding()]()$}_$$_WeldSubclass.save(org$jboss$weld$bean-jboss$classloader:id="vfs:$$$home$jharting$jboss$Seam_3$jboss-6$0$0$Final$server$default$deploy$security-idmconsole$war"-ManagedBean-org$jboss$seam$security$management$action$UserAction[@javax$enterprise$context$ConversationScoped()@javax$inject$Named(value=)]{org$jboss$seam$security$management$action$UserAction$conversation[@javax$inject$Inject()]$org$jboss$seam$security$management$action$UserAction$identitySession[@javax$inject$Inject()]$org$jboss$seam$security$management$action$UserAction$deleteUser[@org$jboss$seam$transaction$Transactional(value=REQUIRED)@org$jboss$seam$transaction$TransactionalInterceptorBinding()](java$lang$String)$org$jboss$seam$security$management$action$UserAction$save[@org$jboss$seam$transaction$Transactional(value=REQUIRED)@org$jboss$seam$transaction$TransactionalInterceptorBinding()]()$}_$$_WeldSubclass.java)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_23]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[:1.6.0_23]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[:1.6.0_23]
at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_23]
at
org.jboss.interceptor.proxy.SimpleInterceptionChain.invokeNextInterceptor(SimpleInterceptionChain.java:114)
[:2.0.0.CR1]
at
org.jboss.interceptor.proxy.InterceptorInvocationContext.proceed(InterceptorInvocationContext.java:143)
[:2.0.0.CR1]
at
org.jboss.seam.transaction.TransactionInterceptor$1.work(TransactionInterceptor.java:194)
[:3.0.0.CR4]
at org.jboss.seam.transaction.Work.workInTransaction(Work.java:54) [:3.0.0.CR4]
at
org.jboss.seam.transaction.TransactionInterceptor.aroundInvoke(TransactionInterceptor.java:188)
[:3.0.0.CR4]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_23]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[:1.6.0_23]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[:1.6.0_23]
at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_23]
at
org.jboss.interceptor.proxy.InterceptorInvocation$InterceptorMethodInvocation.invoke(InterceptorInvocation.java:72)
[:2.0.0.CR1]
at
org.jboss.interceptor.proxy.SimpleInterceptionChain.invokeNextInterceptor(SimpleInterceptionChain.java:82)
[:2.0.0.CR1]
at
org.jboss.interceptor.proxy.InterceptorMethodHandler.executeInterception(InterceptorMethodHandler.java:133)
[:2.0.0.CR1]
at
org.jboss.interceptor.proxy.InterceptorMethodHandler.invoke(InterceptorMethodHandler.java:112)
[:2.0.0.CR1]
at
org.jboss.weld.bean.proxy.CombinedInterceptorAndDecoratorStackMethodHandler.invoke(CombinedInterceptorAndDecoratorStackMethodHandler.java:66)
[:6.0.0.Final]
at
org.jboss.seam.security.management.action.org$jboss$weld$bean-jboss$classloader:id="vfs:$$$home$jharting$jboss$Seam_3$jboss-6$0$0$Final$server$default$deploy$security-idmconsole$war"-ManagedBean-org$jboss$seam$security$management$action$UserAction[@javax$enterprise$context$ConversationScoped()@javax$inject$Named(value=)]{org$jboss$seam$security$management$action$UserAction$conversation[@javax$inject$Inject()]$org$jboss$seam$security$management$action$UserAction$identitySession[@javax$inject$Inject()]$org$jboss$seam$security$management$action$UserAction$deleteUser[@org$jboss$seam$transaction$Transactional(value=REQUIRED)@org$jboss$seam$transaction$TransactionalInterceptorBinding()](java$lang$String)$org$jboss$seam$security$management$action$UserAction$save[@org$jboss$seam$transaction$Transactional(value=REQUIRED)@org$jboss$seam$transaction$TransactionalInterceptorBinding()]()$}_$$_WeldSubclass.save(org$jboss$weld$bean-jboss$classloader:id="vfs:$$$home$jharting$jboss$Seam_3$jboss-6$0$0$Final$server$default$deploy$security-idmconsole$war"-ManagedBean-org$jboss$seam$security$management$action$UserAction[@javax$enterprise$context$ConversationScoped()@javax$inject$Named(value=)]{org$jboss$seam$security$management$action$UserAction$conversation[@javax$inject$Inject()]$org$jboss$seam$security$management$action$UserAction$identitySession[@javax$inject$Inject()]$org$jboss$seam$security$management$action$UserAction$deleteUser[@org$jboss$seam$transaction$Transactional(value=REQUIRED)@org$jboss$seam$transaction$TransactionalInterceptorBinding()](java$lang$String)$org$jboss$seam$security$management$action$UserAction$save[@org$jboss$seam$transaction$Transactional(value=REQUIRED)@org$jboss$seam$transaction$TransactionalInterceptorBinding()]()$}_$$_WeldSubclass.java)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_23]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[:1.6.0_23]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[:1.6.0_23]
at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_23]
at org.apache.el.parser.AstValue.invoke(AstValue.java:196) [:6.0.0.Final]
at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
[:6.0.0.Final]
at
org.jboss.weld.util.el.ForwardingMethodExpression.invoke(ForwardingMethodExpression.java:43)
[:6.0.0.Final]
at org.jboss.weld.el.WeldMethodExpression.invoke(WeldMethodExpression.java:56)
[:6.0.0.Final]
at
org.jboss.weld.util.el.ForwardingMethodExpression.invoke(ForwardingMethodExpression.java:43)
[:6.0.0.Final]
at org.jboss.weld.el.WeldMethodExpression.invoke(WeldMethodExpression.java:56)
[:6.0.0.Final]
at
com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:102)
[:2.0.3-]
at
javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:84)
[:2.0.3-]
... 30 more
Caused by: java.lang.NullPointerException
at
org.jboss.seam.security.management.picketlink.JpaIdentityStore.createIdentityObject(JpaIdentityStore.java:1154)
[:3.0.0.CR3]
... 67 more
13:06:18,776 WARNING [javax.enterprise.resource.webcontainer.jsf.lifecycle]
#{userAction.save}: org.picketlink.idm.common.exception.IdentityException: Error creating
identity object: javax.faces.FacesException: #{userAction.save}:
org.picketlink.idm.common.exception.IdentityException: Error creating identity object
at
com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:114)
[:2.0.3-]
at javax.faces.component.UICommand.broadcast(UICommand.java:311) [:2.0.3-]
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:781)
[:2.0.3-]
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1246)
[:2.0.3-]
at
com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:77)
[:2.0.3-]
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97) [:2.0.3-]
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:114)
[:2.0.3-]
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:308) [:2.0.3-]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324)
[:6.0.0.Final]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
[:6.0.0.Final]
at
org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:67)
[:6.0.0.Final]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)
[:6.0.0.Final]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
[:6.0.0.Final]
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
[:6.0.0.Final]
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
[:6.0.0.Final]
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181)
[:6.0.0.Final]
at
org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285)
[:1.1.0.Final]
at
org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261)
[:1.1.0.Final]
at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88)
[:6.0.0.Final]
at
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100)
[:6.0.0.Final]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
[:6.0.0.Final]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
[:6.0.0.Final]
at
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
[:6.0.0.Final]
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
[:6.0.0.Final]
at
org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53)
[:6.0.0.Final]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)
[:6.0.0.Final]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
[:6.0.0.Final]
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:654)
[:6.0.0.Final]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951)
[:6.0.0.Final]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_23]
Caused by: javax.faces.el.EvaluationException:
org.picketlink.idm.common.exception.IdentityException: Error creating identity object
at
javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:98)
[:2.0.3-]
at
com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:98)
[:2.0.3-]
... 29 more
Caused by: org.picketlink.idm.common.exception.IdentityException: Error creating identity
object
at
org.jboss.seam.security.management.picketlink.JpaIdentityStore.createIdentityObject(JpaIdentityStore.java:1168)
[:3.0.0.CR3]
at
org.jboss.seam.security.management.picketlink.JpaIdentityStore.createIdentityObject(JpaIdentityStore.java:1096)
[:3.0.0.CR3]
at
org.picketlink.idm.impl.repository.WrapperIdentityStoreRepository.createIdentityObject(WrapperIdentityStoreRepository.java:144)
[:1.5.0.Alpha02]
at
org.picketlink.idm.impl.api.session.managers.PersistenceManagerImpl.createUser(PersistenceManagerImpl.java:132)
[:1.5.0.Alpha02]
at
org.jboss.seam.security.management.action.UserAction.saveNewUser(UserAction.java:154)
[:3.0.0.CR3]
at org.jboss.seam.security.management.action.UserAction.save(UserAction.java:132)
[:3.0.0.CR3]
at
org.jboss.seam.security.management.action.org$jboss$weld$bean-jboss$classloader:id="vfs:$$$home$jharting$jboss$Seam_3$jboss-6$0$0$Final$server$default$deploy$security-idmconsole$war"-ManagedBean-org$jboss$seam$security$management$action$UserAction[@javax$enterprise$context$ConversationScoped()@javax$inject$Named(value=)]{org$jboss$seam$security$management$action$UserAction$conversation[@javax$inject$Inject()]$org$jboss$seam$security$management$action$UserAction$identitySession[@javax$inject$Inject()]$org$jboss$seam$security$management$action$UserAction$deleteUser[@org$jboss$seam$transaction$Transactional(value=REQUIRED)@org$jboss$seam$transaction$TransactionalInterceptorBinding()](java$lang$String)$org$jboss$seam$security$management$action$UserAction$save[@org$jboss$seam$transaction$Transactional(value=REQUIRED)@org$jboss$seam$transaction$TransactionalInterceptorBinding()]()$}_$$_WeldSubclass.save(org$jboss$weld$bean-jboss$classloader:id="vfs:$$$home$jharting$jboss$Seam_3$jboss-6$0$0$Final$server$default$deploy$security-idmconsole$war"-ManagedBean-org$jboss$seam$security$management$action$UserAction[@javax$enterprise$context$ConversationScoped()@javax$inject$Named(value=)]{org$jboss$seam$security$management$action$UserAction$conversation[@javax$inject$Inject()]$org$jboss$seam$security$management$action$UserAction$identitySession[@javax$inject$Inject()]$org$jboss$seam$security$management$action$UserAction$deleteUser[@org$jboss$seam$transaction$Transactional(value=REQUIRED)@org$jboss$seam$transaction$TransactionalInterceptorBinding()](java$lang$String)$org$jboss$seam$security$management$action$UserAction$save[@org$jboss$seam$transaction$Transactional(value=REQUIRED)@org$jboss$seam$transaction$TransactionalInterceptorBinding()]()$}_$$_WeldSubclass.java)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_23]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[:1.6.0_23]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[:1.6.0_23]
at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_23]
at
org.jboss.interceptor.proxy.SimpleInterceptionChain.invokeNextInterceptor(SimpleInterceptionChain.java:114)
[:2.0.0.CR1]
at
org.jboss.interceptor.proxy.InterceptorInvocationContext.proceed(InterceptorInvocationContext.java:143)
[:2.0.0.CR1]
at
org.jboss.seam.transaction.TransactionInterceptor$1.work(TransactionInterceptor.java:194)
[:3.0.0.CR4]
at org.jboss.seam.transaction.Work.workInTransaction(Work.java:54) [:3.0.0.CR4]
at
org.jboss.seam.transaction.TransactionInterceptor.aroundInvoke(TransactionInterceptor.java:188)
[:3.0.0.CR4]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_23]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[:1.6.0_23]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[:1.6.0_23]
at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_23]
at
org.jboss.interceptor.proxy.InterceptorInvocation$InterceptorMethodInvocation.invoke(InterceptorInvocation.java:72)
[:2.0.0.CR1]
at
org.jboss.interceptor.proxy.SimpleInterceptionChain.invokeNextInterceptor(SimpleInterceptionChain.java:82)
[:2.0.0.CR1]
at
org.jboss.interceptor.proxy.InterceptorMethodHandler.executeInterception(InterceptorMethodHandler.java:133)
[:2.0.0.CR1]
at
org.jboss.interceptor.proxy.InterceptorMethodHandler.invoke(InterceptorMethodHandler.java:112)
[:2.0.0.CR1]
at
org.jboss.weld.bean.proxy.CombinedInterceptorAndDecoratorStackMethodHandler.invoke(CombinedInterceptorAndDecoratorStackMethodHandler.java:66)
[:6.0.0.Final]
at
org.jboss.seam.security.management.action.org$jboss$weld$bean-jboss$classloader:id="vfs:$$$home$jharting$jboss$Seam_3$jboss-6$0$0$Final$server$default$deploy$security-idmconsole$war"-ManagedBean-org$jboss$seam$security$management$action$UserAction[@javax$enterprise$context$ConversationScoped()@javax$inject$Named(value=)]{org$jboss$seam$security$management$action$UserAction$conversation[@javax$inject$Inject()]$org$jboss$seam$security$management$action$UserAction$identitySession[@javax$inject$Inject()]$org$jboss$seam$security$management$action$UserAction$deleteUser[@org$jboss$seam$transaction$Transactional(value=REQUIRED)@org$jboss$seam$transaction$TransactionalInterceptorBinding()](java$lang$String)$org$jboss$seam$security$management$action$UserAction$save[@org$jboss$seam$transaction$Transactional(value=REQUIRED)@org$jboss$seam$transaction$TransactionalInterceptorBinding()]()$}_$$_WeldSubclass.save(org$jboss$weld$bean-jboss$classloader:id="vfs:$$$home$jharting$jboss$Seam_3$jboss-6$0$0$Final$server$default$deploy$security-idmconsole$war"-ManagedBean-org$jboss$seam$security$management$action$UserAction[@javax$enterprise$context$ConversationScoped()@javax$inject$Named(value=)]{org$jboss$seam$security$management$action$UserAction$conversation[@javax$inject$Inject()]$org$jboss$seam$security$management$action$UserAction$identitySession[@javax$inject$Inject()]$org$jboss$seam$security$management$action$UserAction$deleteUser[@org$jboss$seam$transaction$Transactional(value=REQUIRED)@org$jboss$seam$transaction$TransactionalInterceptorBinding()](java$lang$String)$org$jboss$seam$security$management$action$UserAction$save[@org$jboss$seam$transaction$Transactional(value=REQUIRED)@org$jboss$seam$transaction$TransactionalInterceptorBinding()]()$}_$$_WeldSubclass.java)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_23]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[:1.6.0_23]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[:1.6.0_23]
at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_23]
at org.apache.el.parser.AstValue.invoke(AstValue.java:196) [:6.0.0.Final]
at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
[:6.0.0.Final]
at
org.jboss.weld.util.el.ForwardingMethodExpression.invoke(ForwardingMethodExpression.java:43)
[:6.0.0.Final]
at org.jboss.weld.el.WeldMethodExpression.invoke(WeldMethodExpression.java:56)
[:6.0.0.Final]
at
org.jboss.weld.util.el.ForwardingMethodExpression.invoke(ForwardingMethodExpression.java:43)
[:6.0.0.Final]
at org.jboss.weld.el.WeldMethodExpression.invoke(WeldMethodExpression.java:56)
[:6.0.0.Final]
at
com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:102)
[:2.0.3-]
at
javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:84)
[:2.0.3-]
... 30 more
Caused by: java.lang.NullPointerException
at
org.jboss.seam.security.management.picketlink.JpaIdentityStore.createIdentityObject(JpaIdentityStore.java:1154)
[:3.0.0.CR3]
... 67 more
13:06:18,785 ERROR
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/security-idmconsole].[Faces
Servlet]] Servlet.service() for servlet Faces Servlet threw exception:
java.lang.NullPointerException
at
org.jboss.seam.security.management.picketlink.JpaIdentityStore.createIdentityObject(JpaIdentityStore.java:1154)
[:3.0.0.CR3]
at
org.jboss.seam.security.management.picketlink.JpaIdentityStore.createIdentityObject(JpaIdentityStore.java:1096)
[:3.0.0.CR3]
at
org.picketlink.idm.impl.repository.WrapperIdentityStoreRepository.createIdentityObject(WrapperIdentityStoreRepository.java:144)
[:1.5.0.Alpha02]
at
org.picketlink.idm.impl.api.session.managers.PersistenceManagerImpl.createUser(PersistenceManagerImpl.java:132)
[:1.5.0.Alpha02]
at
org.jboss.seam.security.management.action.UserAction.saveNewUser(UserAction.java:154)
[:3.0.0.CR3]
at org.jboss.seam.security.management.action.UserAction.save(UserAction.java:132)
[:3.0.0.CR3]
at
org.jboss.seam.security.management.action.org$jboss$weld$bean-jboss$classloader:id="vfs:$$$home$jharting$jboss$Seam_3$jboss-6$0$0$Final$server$default$deploy$security-idmconsole$war"-ManagedBean-org$jboss$seam$security$management$action$UserAction[@javax$enterprise$context$ConversationScoped()@javax$inject$Named(value=)]{org$jboss$seam$security$management$action$UserAction$conversation[@javax$inject$Inject()]$org$jboss$seam$security$management$action$UserAction$identitySession[@javax$inject$Inject()]$org$jboss$seam$security$management$action$UserAction$deleteUser[@org$jboss$seam$transaction$Transactional(value=REQUIRED)@org$jboss$seam$transaction$TransactionalInterceptorBinding()](java$lang$String)$org$jboss$seam$security$management$action$UserAction$save[@org$jboss$seam$transaction$Transactional(value=REQUIRED)@org$jboss$seam$transaction$TransactionalInterceptorBinding()]()$}_$$_WeldSubclass.save(org$jboss$weld$bean-jboss$classloader:id="vfs:$$$home$jharting$jboss$Seam_3$jboss-6$0$0$Final$server$default$deploy$security-idmconsole$war"-ManagedBean-org$jboss$seam$security$management$action$UserAction[@javax$enterprise$context$ConversationScoped()@javax$inject$Named(value=)]{org$jboss$seam$security$management$action$UserAction$conversation[@javax$inject$Inject()]$org$jboss$seam$security$management$action$UserAction$identitySession[@javax$inject$Inject()]$org$jboss$seam$security$management$action$UserAction$deleteUser[@org$jboss$seam$transaction$Transactional(value=REQUIRED)@org$jboss$seam$transaction$TransactionalInterceptorBinding()](java$lang$String)$org$jboss$seam$security$management$action$UserAction$save[@org$jboss$seam$transaction$Transactional(value=REQUIRED)@org$jboss$seam$transaction$TransactionalInterceptorBinding()]()$}_$$_WeldSubclass.java)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_23]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[:1.6.0_23]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[:1.6.0_23]
at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_23]
at
org.jboss.interceptor.proxy.SimpleInterceptionChain.invokeNextInterceptor(SimpleInterceptionChain.java:114)
[:2.0.0.CR1]
at
org.jboss.interceptor.proxy.InterceptorInvocationContext.proceed(InterceptorInvocationContext.java:143)
[:2.0.0.CR1]
at
org.jboss.seam.transaction.TransactionInterceptor$1.work(TransactionInterceptor.java:194)
[:3.0.0.CR4]
at org.jboss.seam.transaction.Work.workInTransaction(Work.java:54) [:3.0.0.CR4]
at
org.jboss.seam.transaction.TransactionInterceptor.aroundInvoke(TransactionInterceptor.java:188)
[:3.0.0.CR4]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_23]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[:1.6.0_23]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[:1.6.0_23]
at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_23]
at
org.jboss.interceptor.proxy.InterceptorInvocation$InterceptorMethodInvocation.invoke(InterceptorInvocation.java:72)
[:2.0.0.CR1]
at
org.jboss.interceptor.proxy.SimpleInterceptionChain.invokeNextInterceptor(SimpleInterceptionChain.java:82)
[:2.0.0.CR1]
at
org.jboss.interceptor.proxy.InterceptorMethodHandler.executeInterception(InterceptorMethodHandler.java:133)
[:2.0.0.CR1]
at
org.jboss.interceptor.proxy.InterceptorMethodHandler.invoke(InterceptorMethodHandler.java:112)
[:2.0.0.CR1]
at
org.jboss.weld.bean.proxy.CombinedInterceptorAndDecoratorStackMethodHandler.invoke(CombinedInterceptorAndDecoratorStackMethodHandler.java:66)
[:6.0.0.Final]
at
org.jboss.seam.security.management.action.org$jboss$weld$bean-jboss$classloader:id="vfs:$$$home$jharting$jboss$Seam_3$jboss-6$0$0$Final$server$default$deploy$security-idmconsole$war"-ManagedBean-org$jboss$seam$security$management$action$UserAction[@javax$enterprise$context$ConversationScoped()@javax$inject$Named(value=)]{org$jboss$seam$security$management$action$UserAction$conversation[@javax$inject$Inject()]$org$jboss$seam$security$management$action$UserAction$identitySession[@javax$inject$Inject()]$org$jboss$seam$security$management$action$UserAction$deleteUser[@org$jboss$seam$transaction$Transactional(value=REQUIRED)@org$jboss$seam$transaction$TransactionalInterceptorBinding()](java$lang$String)$org$jboss$seam$security$management$action$UserAction$save[@org$jboss$seam$transaction$Transactional(value=REQUIRED)@org$jboss$seam$transaction$TransactionalInterceptorBinding()]()$}_$$_WeldSubclass.save(org$jboss$weld$bean-jboss$classloader:id="vfs:$$$home$jharting$jboss$Seam_3$jboss-6$0$0$Final$server$default$deploy$security-idmconsole$war"-ManagedBean-org$jboss$seam$security$management$action$UserAction[@javax$enterprise$context$ConversationScoped()@javax$inject$Named(value=)]{org$jboss$seam$security$management$action$UserAction$conversation[@javax$inject$Inject()]$org$jboss$seam$security$management$action$UserAction$identitySession[@javax$inject$Inject()]$org$jboss$seam$security$management$action$UserAction$deleteUser[@org$jboss$seam$transaction$Transactional(value=REQUIRED)@org$jboss$seam$transaction$TransactionalInterceptorBinding()](java$lang$String)$org$jboss$seam$security$management$action$UserAction$save[@org$jboss$seam$transaction$Transactional(value=REQUIRED)@org$jboss$seam$transaction$TransactionalInterceptorBinding()]()$}_$$_WeldSubclass.java)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_23]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[:1.6.0_23]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[:1.6.0_23]
at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_23]
at org.apache.el.parser.AstValue.invoke(AstValue.java:196) [:6.0.0.Final]
at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
[:6.0.0.Final]
at
org.jboss.weld.util.el.ForwardingMethodExpression.invoke(ForwardingMethodExpression.java:43)
[:6.0.0.Final]
at org.jboss.weld.el.WeldMethodExpression.invoke(WeldMethodExpression.java:56)
[:6.0.0.Final]
at
org.jboss.weld.util.el.ForwardingMethodExpression.invoke(ForwardingMethodExpression.java:43)
[:6.0.0.Final]
at org.jboss.weld.el.WeldMethodExpression.invoke(WeldMethodExpression.java:56)
[:6.0.0.Final]
at
com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:102)
[:2.0.3-]
at
javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:84)
[:2.0.3-]
at
com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:98)
[:2.0.3-]
at javax.faces.component.UICommand.broadcast(UICommand.java:311) [:2.0.3-]
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:781)
[:2.0.3-]
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1246)
[:2.0.3-]
at
com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:77)
[:2.0.3-]
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97) [:2.0.3-]
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:114)
[:2.0.3-]
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:308) [:2.0.3-]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324)
[:6.0.0.Final]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
[:6.0.0.Final]
at
org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:67)
[:6.0.0.Final]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)
[:6.0.0.Final]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
[:6.0.0.Final]
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
[:6.0.0.Final]
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
[:6.0.0.Final]
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181)
[:6.0.0.Final]
at
org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285)
[:1.1.0.Final]
at
org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261)
[:1.1.0.Final]
at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88)
[:6.0.0.Final]
at
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100)
[:6.0.0.Final]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
[:6.0.0.Final]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
[:6.0.0.Final]
at
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
[:6.0.0.Final]
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
[:6.0.0.Final]
at
org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53)
[:6.0.0.Final]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)
[:6.0.0.Final]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
[:6.0.0.Final]
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:654)
[:6.0.0.Final]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951)
[:6.0.0.Final]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_23]
{code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: