{"action":"created","issue":{"url":"https://api.github.com/repos/opensourceBIM/BIMserver/issues/193","labels_url":"https://api.github.com/repos/opensourceBIM/BIMserver/issues/193/labels{/name}","comments_url":"https://api.github.com/repos/opensourceBIM/BIMserver/issues/193/comments","events_url":"https://api.github.com/repos/opensourceBIM/BIMserver/issues/193/events","html_url":"https://github.com/opensourceBIM/BIMserver/issues/193","id":63076099,"number":193,"title":"Bimsie1LowLevelInterface.removeReference problem","user":{"login":"dlabz","id":599750,"avatar_url":"https://avatars.githubusercontent.com/u/599750?v=3","gravatar_id":"","url":"https://api.github.com/users/dlabz","html_url":"https://github.com/dlabz","followers_url":"https://api.github.com/users/dlabz/followers","following_url":"https://api.github.com/users/dlabz/following{/other_user}","gists_url":"https://api.github.com/users/dlabz/gists{/gist_id}","starred_url":"https://api.github.com/users/dlabz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlabz/subscriptions","organizations_url":"https://api.github.com/users/dlabz/orgs","repos_url":"https://api.github.com/users/dlabz/repos","events_url":"https://api.github.com/users/dlabz/events{/privacy}","received_events_url":"https://api.github.com/users/dlabz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/opensourceBIM/BIMserver/labels/High%20prio","name":"High prio","color":"e11d21"}],"state":"open","locked":false,"assignee":{"login":"rubendel","id":377978,"avatar_url":"https://avatars.githubusercontent.com/u/377978?v=3","gravatar_id":"","url":"https://api.github.com/users/rubendel","html_url":"https://github.com/rubendel","followers_url":"https://api.github.com/users/rubendel/followers","following_url":"https://api.github.com/users/rubendel/following{/other_user}","gists_url":"https://api.github.com/users/rubendel/gists{/gist_id}","starred_url":"https://api.github.com/users/rubendel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubendel/subscriptions","organizations_url":"https://api.github.com/users/rubendel/orgs","repos_url":"https://api.github.com/users/rubendel/repos","events_url":"https://api.github.com/users/rubendel/events{/privacy}","received_events_url":"https://api.github.com/users/rubendel/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-03-19T19:44:41Z","updated_at":"2015-08-14T13:02:33Z","closed_at":null,"body":"Calling Bimsie1LowLevelInterface.commitTransaction after Bimsie1LowLevelInterface.removeReference will return error.\r\n\r\n\r\n```\r\nERROR                                                                                  (org.bimserver.JsonHandler.java:149) \r\njava.lang.NullPointerException\r\n\tat org.eclipse.emf.common.util.AbstractEList.getNonDuplicates(AbstractEList.java:1161)\r\n\tat org.eclipse.emf.common.util.AbstractEList.addAll(AbstractEList.java:366)\r\n\tat org.eclipse.emf.ecore.util.EcoreEList.set(EcoreEList.java:457)\r\n\tat org.eclipse.emf.ecore.impl.EStructuralFeatureImpl$InternalSettingDelegateMany.dynamicSet(EStructuralFeatureImpl.java:1729)\r\n\tat org.eclipse.emf.ecore.impl.BasicEObjectImpl.eDynamicSet(BasicEObjectImpl.java:1127)\r\n\tat org.eclipse.emf.ecore.impl.BasicEObjectImpl.eSet(BasicEObjectImpl.java:1101)\r\n\tat org.bimserver.emf.IdEObjectImpl.eSet(IdEObjectImpl.java:213)\r\n\tat org.eclipse.emf.ecore.impl.BasicEObjectImpl.eSet(BasicEObjectImpl.java:1071)\r\n\tat org.bimserver.emf.IdEObjectImpl.eSet(IdEObjectImpl.java:89)\r\n\tat org.bimserver.changes.RemoveReferenceChange.execute(RemoveReferenceChange.java:70)\r\n\tat org.bimserver.database.actions.CommitTransactionDatabaseAction.execute(CommitTransactionDatabaseAction.java:158)\r\n\tat org.bimserver.database.actions.CommitTransactionDatabaseAction.execute(CommitTransactionDatabaseAction.java:57)\r\n\tat org.bimserver.database.DatabaseSession.executeAndCommitAction(DatabaseSession.java:602)\r\n\tat org.bimserver.database.DatabaseSession.executeAndCommitAction(DatabaseSession.java:594)\r\n\tat org.bimserver.webservices.impl.Bimsie1LowLevelServiceImpl.commitTransaction(Bimsie1LowLevelServiceImpl.java:109)\r\n\tat org.bimserver.generated.Bimsie1LowLevelInterfaceReflector1.callMethod(Bimsie1LowLevelInterfaceReflector1.java)\r\n\tat org.bimserver.shared.meta.SMethod.invoke(SMethod.java:219)\r\n\tat org.bimserver.JsonHandler.processSingleRequest(JsonHandler.java:124)\r\n\tat org.bimserver.JsonHandler.execute(JsonHandler.java:60)\r\n\tat org.bimserver.servlets.JsonApiServlet.service(JsonApiServlet.java:70)\r\n\tat org.bimserver.servlets.RootServlet.service(RootServlet.java:98)\r\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:727)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)\r\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)\r\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)\r\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)\r\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)\r\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)\r\n\tat org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)\r\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)\r\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)\r\n\tat org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)\r\n\tat org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)\r\n\tat org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)\r\n\tat org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\n```\r\n\r\nUbuntu 14.10 x64, tomcat7\r\nbimserver-tomcat7-1.4.0-FINAL-2015-03-10.war\r\n"},"comment":{"url":"https://api.github.com/repos/opensourceBIM/BIMserver/issues/comments/131098743","html_url":"https://github.com/opensourceBIM/BIMserver/issues/193#issuecomment-131098743","issue_url":"https://api.github.com/repos/opensourceBIM/BIMserver/issues/193","id":131098743,"user":{"login":"rubendel","id":377978,"avatar_url":"https://avatars.githubusercontent.com/u/377978?v=3","gravatar_id":"","url":"https://api.github.com/users/rubendel","html_url":"https://github.com/rubendel","followers_url":"https://api.github.com/users/rubendel/followers","following_url":"https://api.github.com/users/rubendel/following{/other_user}","gists_url":"https://api.github.com/users/rubendel/gists{/gist_id}","starred_url":"https://api.github.com/users/rubendel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubendel/subscriptions","organizations_url":"https://api.github.com/users/rubendel/orgs","repos_url":"https://api.github.com/users/rubendel/repos","events_url":"https://api.github.com/users/rubendel/events{/privacy}","received_events_url":"https://api.github.com/users/rubendel/received_events","type":"User","site_admin":false},"created_at":"2015-08-14T13:02:33Z","updated_at":"2015-08-14T13:02:33Z","body":"Unit tests calling removeReference are running fine, this is quite an old issue, is it still an issue?"}}