Ticket #405: creating_own_user_account_without_session.txt

File creating_own_user_account_without_session.txt, 10.0 KB (added by Malte, 10 years ago)
Line 
1INFO: Processing template "/views/sign-up.html" of plugin "org.deepamehta Sign up"
220.05.2014 00:46:25 org.deepamehta.plugins.signup.SignupService createSimpleUserAccount
3INFO: Setting up new "User Account" composite value model
420.05.2014 00:46:25 de.deepamehta.plugins.accesscontrol.AccessControlPlugin setCreator
5WARNUNG: ROLLBACK!
620.05.2014 00:46:25 de.deepamehta.core.impl.EmbeddedService createTopic
7WARNUNG: ROLLBACK!
820.05.2014 00:46:25 de.deepamehta.core.impl.EmbeddedService createTopic
9WARNUNG: ROLLBACK!
1020.05.2014 00:46:25 de.deepamehta.plugins.webservice.provider.CatchAllExceptionMapper toResponse
11SCHWERWIEGEND: A DeepaMehta resource method or event listener threw an exception resp. an error occurred. Mapping exception/error to response: 500 (Internal Server Error).
12java.lang.RuntimeException: java.lang.RuntimeException: Creating topic failed (topic (id=14973, uri="", typeUri="dm4.accesscontrol.user_account", value="", composite={dm4.contacts.email_address=topic (id=-1, uri="null", typeUri="dm4.contacts.email_address", value="malte@mikromedia.de", composite={}), dm4.accesscontrol.username=topic (id=14974, uri="", typeUri="dm4.accesscontrol.username", value="first_user", composite={}), dm4.accesscontrol.password=topic (id=-1, uri="null", typeUri="dm4.accesscontrol.password", value="-SHA256-7ffdb4c63d93be783cf6e02077b1e304daaac2fc36cb7559a21f52571eedb3b7", composite={})}))
13        at org.deepamehta.plugins.signup.SignupService.createSimpleUserAccount(SignupService.java:97)
14        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
15        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
16        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
17        at java.lang.reflect.Method.invoke(Method.java:597)
18        at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
19        at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:185)
20        at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
21        at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302)
22        at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
23        at com.sun.jersey.server.impl.uri.rules.ResourceObjectRule.accept(ResourceObjectRule.java:100)
24        at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
25        at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
26        at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1480)
27        at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1411)
28        at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1360)
29        at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1350)
30        at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)
31        at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:538)
32        at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:716)
33        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
34        at org.apache.felix.http.base.internal.handler.ServletHandler.doHandle(ServletHandler.java:96)
35        at org.apache.felix.http.base.internal.handler.ServletHandler.handle(ServletHandler.java:79)
36        at org.apache.felix.http.base.internal.dispatch.ServletPipeline.handle(ServletPipeline.java:42)
37        at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:49)
38        at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:33)
39        at org.apache.felix.http.base.internal.dispatch.FilterPipeline.dispatch(FilterPipeline.java:48)
40        at org.apache.felix.http.base.internal.dispatch.Dispatcher.dispatch(Dispatcher.java:39)
41        at org.apache.felix.http.base.internal.DispatcherServlet.service(DispatcherServlet.java:67)
42        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
43        at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:654)
44        at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:445)
45        at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225)
46        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1044)
47        at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:372)
48        at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:189)
49        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:978)
50        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
51        at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:255)
52        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
53        at org.eclipse.jetty.server.Server.handle(Server.java:369)
54        at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:486)
55        at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:933)
56        at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:995)
57        at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644)
58        at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
59        at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
60        at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668)
61        at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
62        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
63        at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
64        at java.lang.Thread.run(Thread.java:662)
65Caused by: java.lang.RuntimeException: Creating topic failed (topic (id=14973, uri="", typeUri="dm4.accesscontrol.user_account", value="", composite={dm4.contacts.email_address=topic (id=-1, uri="null", typeUri="dm4.contacts.email_address", value="malte@mikromedia.de", composite={}), dm4.accesscontrol.username=topic (id=14974, uri="", typeUri="dm4.accesscontrol.username", value="first_user", composite={}), dm4.accesscontrol.password=topic (id=-1, uri="null", typeUri="dm4.accesscontrol.password", value="first_user", composite={})}))
66        at de.deepamehta.core.impl.EmbeddedService.createTopic(EmbeddedService.java:164)
67        at org.deepamehta.plugins.signup.SignupService.createSimpleUserAccount(SignupService.java:92)
68        ... 51 more
69Caused by: java.lang.RuntimeException: Storing composite value of object 14973 failed ({dm4.contacts.email_address=topic (id=-1, uri="null", typeUri="dm4.contacts.email_address", value="malte@mikromedia.de", composite={}), dm4.accesscontrol.username=topic (id=14974, uri="", typeUri="dm4.accesscontrol.username", value="first_user", composite={}), dm4.accesscontrol.password=topic (id=-1, uri="null", typeUri="dm4.accesscontrol.password", value="first_user", composite={})})
70        at de.deepamehta.core.impl.ValueStorage.storeCompositeValue(ValueStorage.java:280)
71        at de.deepamehta.core.impl.ValueStorage.storeValue(ValueStorage.java:108)
72        at de.deepamehta.core.impl.EmbeddedService.topicFactory(EmbeddedService.java:792)
73        at de.deepamehta.core.impl.EmbeddedService.createTopic(EmbeddedService.java:156)
74        ... 52 more
75Caused by: java.lang.RuntimeException: Creating topic failed (topic (id=14974, uri="", typeUri="dm4.accesscontrol.username", value="first_user", composite={}))
76        at de.deepamehta.core.impl.EmbeddedService.createTopic(EmbeddedService.java:164)
77        at de.deepamehta.core.impl.ValueStorage.storeCompositionOne(ValueStorage.java:314)
78        at de.deepamehta.core.impl.ValueStorage.storeChildTopics(ValueStorage.java:293)
79        at de.deepamehta.core.impl.ValueStorage.storeCompositeValue(ValueStorage.java:277)
80        ... 55 more
81Caused by: java.lang.RuntimeException: Processing event de.deepamehta.core.impl.CoreEvent$3 (de.deepamehta.core.service.event.PostCreateTopicListener) by plugin "DeepaMehta 4 Access Control" failed
82        at de.deepamehta.core.impl.EventManager.deliverEvent(EventManager.java:101)
83        at de.deepamehta.core.impl.EventManager.fireEvent(EventManager.java:62)
84        at de.deepamehta.core.impl.EmbeddedService.fireEvent(EmbeddedService.java:586)
85        at de.deepamehta.core.impl.EmbeddedService.createTopic(EmbeddedService.java:158)
86        ... 58 more
87Caused by: java.lang.RuntimeException: Setting the creator of topic 14974 (typeUri="dm4.accesscontrol.username", uri="") failed (username=null)
88        at de.deepamehta.plugins.accesscontrol.AccessControlPlugin.setCreator(AccessControlPlugin.java:242)
89        at de.deepamehta.plugins.accesscontrol.AccessControlPlugin.setupAccessControl(AccessControlPlugin.java:844)
90        at de.deepamehta.plugins.accesscontrol.AccessControlPlugin.setupUserAccountAccessControl(AccessControlPlugin.java:829)
91        at de.deepamehta.plugins.accesscontrol.AccessControlPlugin.postCreateTopic(AccessControlPlugin.java:432)
92        at de.deepamehta.core.impl.CoreEvent$3.deliver(CoreEvent.java:54)
93        at de.deepamehta.core.impl.EventManager.deliverEvent(EventManager.java:94)
94        ... 61 more
95Caused by: java.lang.IllegalArgumentException: Null parameter, key=dm4.accesscontrol.creator, value=null
96        at org.neo4j.kernel.impl.core.Primitive.setProperty(Primitive.java:327)
97        at org.neo4j.kernel.impl.core.NodeImpl.setProperty(NodeImpl.java:52)
98        at org.neo4j.kernel.impl.core.NodeProxy.setProperty(NodeProxy.java:130)
99        at de.deepamehta.storage.neo4j.Neo4jStorage.storeAndIndexExactValue(Neo4jStorage.java:573)
100        at de.deepamehta.storage.neo4j.Neo4jStorage.storeTopicProperty(Neo4jStorage.java:459)
101        at de.deepamehta.core.impl.StorageDecorator.storeTopicProperty(StorageDecorator.java:578)
102        at de.deepamehta.core.impl.AttachedTopic.setProperty(AttachedTopic.java:171)
103        at de.deepamehta.plugins.accesscontrol.AccessControlPlugin.setCreator(AccessControlPlugin.java:238)
104        ... 66 more
105
106g!