Changes between Initial Version and Version 1 of Ticket #1041


Ignore:
Timestamp:
17.11.2016 09:55:50 (8 years ago)
Author:
Malte
Comment:

Changed the stacktrace to correspond with the actual code snippet. Source code see also https://github.com/mukil/dm4-notifications/commit/29e36b199ec48705e35630b684feba20cb78db92#diff-ae97910b50035c13c2ef8686e101ab1cR264

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1041 – Description

    initial v1  
    2727 
    2828{{{ 
    29 INFO: Workspace Association association (id=6012, uri="", typeUri="dm4.core.aggregation", value="", childTopics={},  
    30         association role (roleTypeUri="dm4.core.parent", playerId=6010),  
    31         topic role (roleTypeUri="dm4.core.child", playerId=2251)) to "topic (id=2251, uri="dm4.workspaces.deepamehta", typeUri="dm4.workspaces.workspace", value="DeepaMehta", childTopics={})" 
    32 Nov 17, 2016 9:07:34 AM de.deepamehta.core.util.UniversalExceptionMapper logException 
    33 SEVERE: Request "PUT /core/topic/5987" failed. Responding with 500 (Internal Server Error). The original exception/error is: 
    34 java.lang.RuntimeException: Updating topic 5987 failed 
     29Nov 17, 2016 9:42:23 AM org.deepamehta.notifications.NotificationsPlugin postCreateAssociation 
     30INFO: Added Topic of type "dm4.events.event" to Topicmap "untitled" 
     31Nov 17, 2016 9:42:35 AM de.deepamehta.core.impl.DeepaMehtaObjectModelImpl update 
     32INFO: Updating topic 7118 (typeUri="dm4.events.event") 
     33Nov 17, 2016 9:42:35 AM org.deepamehta.notifications.NotificationsPlugin postCreateAssociation 
     34INFO: Created Association association (id=7129, uri="", typeUri="dm4.core.aggregation", value="", childTopics={},  
     35        association role (roleTypeUri="dm4.core.parent", playerId=7127),  
     36        topic role (roleTypeUri="dm4.core.child", playerId=2251)) 
     37Nov 17, 2016 9:42:35 AM org.deepamehta.notifications.NotificationsPlugin postCreateAssociation 
     38INFO: Workspace Assignment of a "dm4.core.aggregation" to "DeepaMehta" 
     39Nov 17, 2016 9:42:35 AM org.deepamehta.notifications.NotificationsPlugin postCreateAssociation 
     40INFO: Created Association association (id=7127, uri="", typeUri="dm4.core.aggregation", value="", childTopics={dm4.workspaces.workspace=reference topic (id=2251, uri="dm4.workspaces.deepamehta", typeUri="dm4.workspaces.workspace", value="DeepaMehta", childTopics={dm4.workspaces.sharing_mode=topic (id=2237, uri="dm4.workspaces.public", typeUri="dm4.workspaces.sharing_mode", value="Public", childTopics={}), relating association (id=2257, uri="", typeUri="dm4.core.aggregation", value="", childTopics={},  
     41        topic role (roleTypeUri="dm4.core.parent", playerId=2251),  
     42        topic role (roleTypeUri="dm4.core.child", playerId=2237)), dm4.workspaces.name=topic (id=2252, uri="", typeUri="dm4.workspaces.name", value="DeepaMehta", childTopics={}), relating association (id=2255, uri="", typeUri="dm4.core.composition", value="", childTopics={},  
     43        topic role (roleTypeUri="dm4.core.parent", playerId=2251),  
     44        topic role (roleTypeUri="dm4.core.child", playerId=2252))}), relating association (id=7129, uri="", typeUri="dm4.core.aggregation", value="", childTopics={},  
     45        association role (roleTypeUri="dm4.core.parent", playerId=7127),  
     46        topic role (roleTypeUri="dm4.core.child", playerId=2251))},  
     47        topic role (roleTypeUri="dm4.core.parent", playerId=7126),  
     48        topic role (roleTypeUri="dm4.core.child", playerId=464)) 
     49Nov 17, 2016 9:42:35 AM de.deepamehta.core.util.UniversalExceptionMapper logException 
     50SEVERE: Request "PUT /core/topic/7118" failed. Responding with 500 (Internal Server Error). The original exception/error is: 
     51java.lang.RuntimeException: Updating topic 7118 failed 
    3552        at de.deepamehta.core.impl.PersistenceLayer.updateTopic(PersistenceLayer.java:180) 
    3653        at de.deepamehta.core.impl.CoreServiceImpl.updateTopic(CoreServiceImpl.java:123) 
    3754        at de.deepamehta.webservice.WebservicePlugin.updateTopic(WebservicePlugin.java:110) 
    38         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
    39         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
     55        at sun.reflect.GeneratedMethodAccessor17.invoke(Unknown Source) 
    4056        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 
    4157        at java.lang.reflect.Method.invoke(Method.java:498) 
     
    87103        at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) 
    88104        at java.lang.Thread.run(Thread.java:745) 
    89 Caused by: java.lang.RuntimeException: Updating topic 5987 failed (typeUri="dm4.contacts.person") 
     105Caused by: java.lang.RuntimeException: Updating topic 7118 failed (typeUri="dm4.events.event") 
    90106        at de.deepamehta.core.impl.DeepaMehtaObjectModelImpl.update(DeepaMehtaObjectModelImpl.java:408) 
    91107        at de.deepamehta.core.impl.PersistenceLayer.updateTopic(PersistenceLayer.java:173) 
    92         ... 53 more 
    93 Caused by: java.lang.RuntimeException: Updating the child topics of topic 5987 failed 
     108        ... 52 more 
     109Caused by: java.lang.RuntimeException: Updating the child topics of topic 7118 failed 
    94110        at de.deepamehta.core.impl.DeepaMehtaObjectModelImpl._updateChildTopics(DeepaMehtaObjectModelImpl.java:529) 
    95111        at de.deepamehta.core.impl.DeepaMehtaObjectModelImpl.update(DeepaMehtaObjectModelImpl.java:397) 
    96         ... 54 more 
    97 Caused by: java.lang.RuntimeException: Creating topic 6004 failed (typeUri="dm4.contacts.person_name") 
     112        ... 53 more 
     113Caused by: java.lang.RuntimeException: Creating topic 7125 failed (typeUri="dm4.datetime") 
    98114        at de.deepamehta.core.impl.PersistenceLayer.createTopic(PersistenceLayer.java:160) 
    99115        at de.deepamehta.core.impl.PersistenceLayer.createTopic(PersistenceLayer.java:129) 
     
    103119        at de.deepamehta.core.impl.DeepaMehtaObjectModelImpl.updateChildTopics(DeepaMehtaObjectModelImpl.java:546) 
    104120        at de.deepamehta.core.impl.DeepaMehtaObjectModelImpl._updateChildTopics(DeepaMehtaObjectModelImpl.java:523) 
    105         ... 55 more 
    106 Caused by: java.lang.RuntimeException: Storing the child topics of object 6004 failed ({dm4.contacts.first_name=topic (id=6005, uri="", typeUri="dm4.contacts.first_name", value="Malte", childTopics={dm4.workspaces.workspace=reference topic (id=2251, uri="dm4.workspaces.deepamehta", typeUri="dm4.workspaces.workspace", value="DeepaMehta", childTopics={dm4.workspaces.sharing_mode=topic (id=2237, uri="dm4.workspaces.public", typeUri="dm4.workspaces.sharing_mode", value="Public", childTopics={}), relating association (id=2257, uri="", typeUri="dm4.core.aggregation", value="", childTopics={},  
     121        ... 54 more 
     122Caused by: java.lang.RuntimeException: Storing the child topics of object 7125 failed ({dm4.datetime.time=topic (id=-1, uri="null", typeUri="dm4.datetime.time", value="null", childTopics={dm4.datetime.hour=reference topic (id=596, uri="null", typeUri="null", value="null", childTopics={}), relating association (id=-1, uri="null", typeUri="null", value="null", childTopics={}, null, null), dm4.datetime.minute=reference topic (id=668, uri="null", typeUri="null", value="null", childTopics={}), relating association (id=-1, uri="null", typeUri="null", value="null", childTopics={}, null, null)}), relating association (id=-1, uri="null", typeUri="null", value="null", childTopics={}, null, null), dm4.datetime.date=topic (id=7126, uri="", typeUri="dm4.datetime.date", value="", childTopics={dm4.datetime.month=reference topic (id=464, uri="", typeUri="dm4.datetime.month", value="2", childTopics={}), relating association (id=7127, uri="", typeUri="dm4.core.aggregation", value="", childTopics={dm4.workspaces.workspace=reference topic (id=2251, uri="dm4.workspaces.deepamehta", typeUri="dm4.workspaces.workspace", value="DeepaMehta", childTopics={dm4.workspaces.sharing_mode=topic (id=2237, uri="dm4.workspaces.public", typeUri="dm4.workspaces.sharing_mode", value="Public", childTopics={}), relating association (id=2257, uri="", typeUri="dm4.core.aggregation", value="", childTopics={},  
    107123        topic role (roleTypeUri="dm4.core.parent", playerId=2251),  
    108124        topic role (roleTypeUri="dm4.core.child", playerId=2237)), dm4.workspaces.name=topic (id=2252, uri="", typeUri="dm4.workspaces.name", value="DeepaMehta", childTopics={}), relating association (id=2255, uri="", typeUri="dm4.core.composition", value="", childTopics={},  
    109125        topic role (roleTypeUri="dm4.core.parent", playerId=2251),  
    110         topic role (roleTypeUri="dm4.core.child", playerId=2252))}), relating association (id=6008, uri="", typeUri="dm4.core.aggregation", value="", childTopics={},  
    111         topic role (roleTypeUri="dm4.core.parent", playerId=6005),  
    112         topic role (roleTypeUri="dm4.core.child", playerId=2251))}), relating association (id=6010, uri="", typeUri="dm4.core.composition", value="", childTopics={dm4.workspaces.workspace=reference topic (id=2251, uri="dm4.workspaces.deepamehta", typeUri="dm4.workspaces.workspace", value="DeepaMehta", childTopics={dm4.workspaces.sharing_mode=topic (id=2237, uri="dm4.workspaces.public", typeUri="dm4.workspaces.sharing_mode", value="Public", childTopics={}), relating association (id=2257, uri="", typeUri="dm4.core.aggregation", value="", childTopics={},  
     126        topic role (roleTypeUri="dm4.core.child", playerId=2252))}), relating association (id=7129, uri="", typeUri="dm4.core.aggregation", value="", childTopics={},  
     127        association role (roleTypeUri="dm4.core.parent", playerId=7127),  
     128        topic role (roleTypeUri="dm4.core.child", playerId=2251))},  
     129        topic role (roleTypeUri="dm4.core.parent", playerId=7126),  
     130        topic role (roleTypeUri="dm4.core.child", playerId=464)), dm4.datetime.day=reference topic (id=500, uri="null", typeUri="null", value="null", childTopics={}), relating association (id=-1, uri="null", typeUri="null", value="null", childTopics={}, null, null), dm4.datetime.year=reference topic (id=590, uri="null", typeUri="null", value="null", childTopics={}), relating association (id=-1, uri="null", typeUri="null", value="null", childTopics={}, null, null)}), relating association (id=-1, uri="null", typeUri="null", value="null", childTopics={}, null, null)}) 
     131        at de.deepamehta.core.impl.ValueStorage.storeChildTopics(ValueStorage.java:135) 
     132        at de.deepamehta.core.impl.ValueStorage.storeValue(ValueStorage.java:95) 
     133        at de.deepamehta.core.impl.PersistenceLayer.createTopic(PersistenceLayer.java:143) 
     134        ... 60 more 
     135Caused by: java.lang.RuntimeException: Creating topic 7126 failed (typeUri="dm4.datetime.date") 
     136        at de.deepamehta.core.impl.PersistenceLayer.createTopic(PersistenceLayer.java:160) 
     137        at de.deepamehta.core.impl.PersistenceLayer.createTopic(PersistenceLayer.java:129) 
     138        at de.deepamehta.core.impl.ValueStorage.storeChildTopic(ValueStorage.java:145) 
     139        at de.deepamehta.core.impl.ValueStorage.storeChildTopics(ValueStorage.java:121) 
     140        ... 62 more 
     141Caused by: java.lang.RuntimeException: Storing the child topics of object 7126 failed ({dm4.datetime.month=reference topic (id=464, uri="", typeUri="dm4.datetime.month", value="2", childTopics={}), relating association (id=7127, uri="", typeUri="dm4.core.aggregation", value="", childTopics={dm4.workspaces.workspace=reference topic (id=2251, uri="dm4.workspaces.deepamehta", typeUri="dm4.workspaces.workspace", value="DeepaMehta", childTopics={dm4.workspaces.sharing_mode=topic (id=2237, uri="dm4.workspaces.public", typeUri="dm4.workspaces.sharing_mode", value="Public", childTopics={}), relating association (id=2257, uri="", typeUri="dm4.core.aggregation", value="", childTopics={},  
    113142        topic role (roleTypeUri="dm4.core.parent", playerId=2251),  
    114143        topic role (roleTypeUri="dm4.core.child", playerId=2237)), dm4.workspaces.name=topic (id=2252, uri="", typeUri="dm4.workspaces.name", value="DeepaMehta", childTopics={}), relating association (id=2255, uri="", typeUri="dm4.core.composition", value="", childTopics={},  
    115144        topic role (roleTypeUri="dm4.core.parent", playerId=2251),  
    116         topic role (roleTypeUri="dm4.core.child", playerId=2252))}), relating association (id=6012, uri="", typeUri="dm4.core.aggregation", value="", childTopics={},  
    117         association role (roleTypeUri="dm4.core.parent", playerId=6010),  
     145        topic role (roleTypeUri="dm4.core.child", playerId=2252))}), relating association (id=7129, uri="", typeUri="dm4.core.aggregation", value="", childTopics={},  
     146        association role (roleTypeUri="dm4.core.parent", playerId=7127),  
    118147        topic role (roleTypeUri="dm4.core.child", playerId=2251))},  
    119         topic role (roleTypeUri="dm4.core.parent", playerId=6004),  
    120         topic role (roleTypeUri="dm4.core.child", playerId=6005)), dm4.contacts.last_name=topic (id=-1, uri="null", typeUri="dm4.contacts.last_name", value="Reißig", childTopics={}), relating association (id=-1, uri="null", typeUri="null", value="null", childTopics={}, null, null)}) 
     148        topic role (roleTypeUri="dm4.core.parent", playerId=7126),  
     149        topic role (roleTypeUri="dm4.core.child", playerId=464)), dm4.datetime.day=reference topic (id=500, uri="null", typeUri="null", value="null", childTopics={}), relating association (id=-1, uri="null", typeUri="null", value="null", childTopics={}, null, null), dm4.datetime.year=reference topic (id=590, uri="null", typeUri="null", value="null", childTopics={}), relating association (id=-1, uri="null", typeUri="null", value="null", childTopics={}, null, null)}) 
    121150        at de.deepamehta.core.impl.ValueStorage.storeChildTopics(ValueStorage.java:135) 
    122151        at de.deepamehta.core.impl.ValueStorage.storeValue(ValueStorage.java:95) 
    123152        at de.deepamehta.core.impl.PersistenceLayer.createTopic(PersistenceLayer.java:143) 
    124         ... 61 more 
    125 Caused by: java.lang.RuntimeException: Creating association failed (association (id=6010, uri="", typeUri="dm4.core.composition", value="", childTopics={dm4.workspaces.workspace=reference topic (id=2251, uri="dm4.workspaces.deepamehta", typeUri="dm4.workspaces.workspace", value="DeepaMehta", childTopics={dm4.workspaces.sharing_mode=topic (id=2237, uri="dm4.workspaces.public", typeUri="dm4.workspaces.sharing_mode", value="Public", childTopics={}), relating association (id=2257, uri="", typeUri="dm4.core.aggregation", value="", childTopics={},  
     153        ... 65 more 
     154Caused by: java.lang.RuntimeException: Creating association failed (association (id=7127, uri="", typeUri="dm4.core.aggregation", value="", childTopics={dm4.workspaces.workspace=reference topic (id=2251, uri="dm4.workspaces.deepamehta", typeUri="dm4.workspaces.workspace", value="DeepaMehta", childTopics={dm4.workspaces.sharing_mode=topic (id=2237, uri="dm4.workspaces.public", typeUri="dm4.workspaces.sharing_mode", value="Public", childTopics={}), relating association (id=2257, uri="", typeUri="dm4.core.aggregation", value="", childTopics={},  
    126155        topic role (roleTypeUri="dm4.core.parent", playerId=2251),  
    127156        topic role (roleTypeUri="dm4.core.child", playerId=2237)), dm4.workspaces.name=topic (id=2252, uri="", typeUri="dm4.workspaces.name", value="DeepaMehta", childTopics={}), relating association (id=2255, uri="", typeUri="dm4.core.composition", value="", childTopics={},  
    128157        topic role (roleTypeUri="dm4.core.parent", playerId=2251),  
    129         topic role (roleTypeUri="dm4.core.child", playerId=2252))}), relating association (id=6012, uri="", typeUri="dm4.core.aggregation", value="", childTopics={},  
    130         association role (roleTypeUri="dm4.core.parent", playerId=6010),  
     158        topic role (roleTypeUri="dm4.core.child", playerId=2252))}), relating association (id=7129, uri="", typeUri="dm4.core.aggregation", value="", childTopics={},  
     159        association role (roleTypeUri="dm4.core.parent", playerId=7127),  
    131160        topic role (roleTypeUri="dm4.core.child", playerId=2251))},  
    132         topic role (roleTypeUri="dm4.core.parent", playerId=6004),  
    133         topic role (roleTypeUri="dm4.core.child", playerId=6005))) 
     161        topic role (roleTypeUri="dm4.core.parent", playerId=7126),  
     162        topic role (roleTypeUri="dm4.core.child", playerId=464))) 
    134163        at de.deepamehta.core.impl.PersistenceLayer.createAssociation(PersistenceLayer.java:330) 
    135164        at de.deepamehta.core.impl.ValueStorage.associateChildTopic(ValueStorage.java:187) 
    136165        at de.deepamehta.core.impl.ValueStorage.storeChildTopic(ValueStorage.java:147) 
    137166        at de.deepamehta.core.impl.ValueStorage.storeChildTopics(ValueStorage.java:121) 
    138         ... 63 more 
     167        ... 67 more 
    139168Caused by: java.lang.RuntimeException: An error occurred in the PostCreateAssociationListener of plugin "DeepaMehta 4 Notifications" 
    140169        at de.deepamehta.core.impl.EventManager.dispatchEvent(EventManager.java:96) 
    141170        at de.deepamehta.core.impl.EventManager.fireEvent(EventManager.java:59) 
    142171        at de.deepamehta.core.impl.PersistenceLayer.createAssociation(PersistenceLayer.java:327) 
    143         ... 66 more 
    144 Caused by: org.neo4j.graphdb.NotFoundException: 'value' property not found for NodeImpl#6004. 
     172        ... 70 more 
     173Caused by: org.neo4j.graphdb.NotFoundException: 'value' property not found for NodeImpl#7126. 
    145174        at org.neo4j.kernel.impl.core.Primitive.newPropertyNotFoundException(Primitive.java:184) 
    146175        at org.neo4j.kernel.impl.core.Primitive.getProperty(Primitive.java:179) 
     
    152181        at de.deepamehta.core.impl.StorageDecorator.fetchTopic(StorageDecorator.java:48) 
    153182        at de.deepamehta.core.impl.TopicRoleModelImpl.getPlayer(TopicRoleModelImpl.java:118) 
    154         at de.deepamehta.core.impl.AssociationModelImpl.filterTopic(AssociationModelImpl.java:425) 
    155         at de.deepamehta.core.impl.AssociationModelImpl.getTopicByType(AssociationModelImpl.java:330) 
    156         at de.deepamehta.core.impl.AssociationImpl.getTopicByType(AssociationImpl.java:83) 
    157         at org.deepamehta.notifications.NotificationsPlugin.postCreateAssociation(NotificationsPlugin.java:272) 
     183        at de.deepamehta.core.impl.TopicRoleImpl.getPlayer(TopicRoleImpl.java:28) 
     184        at de.deepamehta.core.impl.AssociationImpl.getPlayer1(AssociationImpl.java:65) 
     185        at org.deepamehta.notifications.NotificationsPlugin.postCreateAssociation(NotificationsPlugin.java:278) 
    158186        at de.deepamehta.core.impl.CoreEvent$8.dispatch(CoreEvent.java:104) 
    159187        at de.deepamehta.core.impl.EventManager.dispatchEvent(EventManager.java:83) 
    160         ... 68 more 
     188        ... 72 more 
    161189 
    162 Nov 17, 2016 9:07:34 AM de.deepamehta.core.impl.TransactionFactory$TransactionResourceFilter$2 filte 
     190Nov 17, 2016 9:42:35 AM de.deepamehta.core.impl.TransactionFactory$TransactionResourceFilter$2 filter 
     191WARNING: ### Rollback transaction of de.deepamehta.webservice.WebservicePlugin#updateTopic() 
    163192}}}