Closed VipulSoniGIS closed 10 years ago
Thanks for your reply, The BIMSERVER is 1.3.2.
The JsonGeometrySerializer is very old and not used anymore for more than a year in BIMsurfer and BIMvie.ws. Why do you use it?
I have disabled the JsonGeomentrySerializer and then again tried to load the model in BIMSURFER.
First I got this error --
17-09-2014 10:40:06 ERROR org.bimserver.longaction.LongAction - java.lang.NullPointerException at org.bimserver.database.actions.AbstractDownloadDatabaseAction.checkGeometry(AbstractDownloadDatabaseAction.java:53) at org.bimserver.database.actions.DownloadByTypesDatabaseAction.execute(DownloadByTypesDatabaseAction.java:123) at org.bimserver.database.actions.DownloadByTypesDatabaseAction.execute(DownloadByTypesDatabaseAction.java:54) at org.bimserver.database.DatabaseSession.executeAndCommitAction(DatabaseSession.java:605) at org.bimserver.database.DatabaseSession.executeAndCommitAction(DatabaseSession.java:597) at org.bimserver.longaction.LongDownloadOrCheckoutAction.executeAction(LongDownloadOrCheckoutAction.java:110) at org.bimserver.longaction.LongDownloadAction.execute(LongDownloadAction.java:63) at org.bimserver.longaction.LongActionManager$1.run(LongActionManager.java:43) at java.lang.Thread.run(Thread.java:745) 17-09-2014 10:40:06 INFO org.bimserver.database.berkeley.BerkeleyKeyValueStore - reads: 376649 17-09-2014 10:40:06 ERROR org.bimserver.BimServer - java.lang.NullPointerException at org.bimserver.longaction.LongAction.changeActionState(LongAction.java:85) at org.bimserver.longaction.LongAction.error(LongAction.java:178) at org.bimserver.longaction.LongDownloadAction.execute(LongDownloadAction.java:67) at org.bimserver.longaction.LongActionManager$1.run(LongActionManager.java:43) at java.lang.Thread.run(Thread.java:745) 17-09-2014 10:40:06 ERROR org.bimserver.servlets.DownloadServlet - Invalid downloadId: 2
Then I restarted the BIMSERVER - But still unable to view the model. 17-09-2014 10:45:52 INFO org.bimserver.longaction.LongActionManager - Cleaning up long running action: Download - LongDownloadAction 17-09-2014 10:45:52 INFO org.bimserver.longaction.LongActionManager - Cleaning up long running action: Download - LongDownloadAction 17-09-2014 10:45:52 INFO org.bimserver.longaction.LongActionManager - Cleaning up long running action: Download - LongDownloadAction 17-09-2014 10:45:53 INFO org.bimserver.database.berkeley.BerkeleyKeyValueStore - reads: 1731111
Disabling it will only make things worse. Which version of BIMsurfer are you using, I think it is a very old version.
Hi, I am using the latest BIMSURFER build available and with the default example1.html.
Ok, I enable the JsonGeometrySerializer but how to escape the above error.
I'll add that 3D view in BIMviews 1.3.5 works when BIMserver 1.3.2 runs in eclipse on windows, but fails on my linux server in tomcat7. Though, I didn't do a clean install on the server.
On Sun, Sep 21, 2014 at 7:27 AM, VipulSoniGIS notifications@github.com wrote:
Hi, I am using the latest BIMSURFER build available and with the default example1.html.
— Reply to this email directly or view it on GitHub https://github.com/opensourceBIM/BIMserver/issues/123#issuecomment-56289667 .
Its just a waste of time to try to wait for the loading of the Model to view in 3d on the BIMSURFER.
Meanwhile BIMSERVER Generates plethora of errors. >>>>
08-09-2014 11:23:01 ERROR org.bimserver.geometry.json.JsonGeometrySerializer - java.lang.NullPointerException at org.bimserver.geometry.json.JsonGeometrySerializer.writeGeometryFromInstancesGeometryObject(JsonGeometrySerializer.java:286) at org.bimserver.geometry.json.JsonGeometrySerializer.writeGeometricObject(JsonGeometrySerializer.java:194) at org.bimserver.geometry.json.JsonGeometrySerializer.writeGeometries(JsonGeometrySerializer.java:107) at org.bimserver.geometry.json.JsonGeometrySerializer.write(JsonGeometrySerializer.java:90) at org.bimserver.plugins.serializers.EmfSerializer.writeToOutputStream(EmfSerializer.java:111) at org.bimserver.plugins.serializers.EmfSerializerDataSource.writeToOutputStream(EmfSerializerDataSource.java:60) at org.bimserver.servlets.DownloadServlet.service(DownloadServlet.java:254) at org.bimserver.servlets.RootServlet.service(RootServlet.java:103) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:717) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:552) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:568) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1112) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:479) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1046) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) at org.eclipse.jetty.server.Server.handle(Server.java:459) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:281) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:232) at org.eclipse.jetty.io.AbstractConnection$1.run(AbstractConnection.java:505) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:607) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:536) at java.lang.Thread.run(Thread.java:745) 08-09-2014 11:23:01 ERROR org.bimserver.geometry.json.JsonGeometrySerializer - java.lang.NullPointerException at org.bimserver.geometry.json.JsonGeometrySerializer.writeGeometryFromInstancesGeometryObject(JsonGeometrySerializer.java:286) at org.bimserver.geometry.json.JsonGeometrySerializer.writeGeometricObject(JsonGeometrySerializer.java:194) at org.bimserver.geometry.json.JsonGeometrySerializer.writeGeometries(JsonGeometrySerializer.java:107) at org.bimserver.geometry.json.JsonGeometrySerializer.write(JsonGeometrySerializer.java:90) at org.bimserver.plugins.serializers.EmfSerializer.writeToOutputStream(EmfSerializer.java:111) at org.bimserver.plugins.serializers.EmfSerializerDataSource.writeToOutputStream(EmfSerializerDataSource.java:60) at org.bimserver.servlets.DownloadServlet.service(DownloadServlet.java:254) at org.bimserver.servlets.RootServlet.service(RootServlet.java:103) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:717) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:552) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:568) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1112) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:479) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1046) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) at org.eclipse.jetty.server.Server.handle(Server.java:459) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:281) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:232) at org.eclipse.jetty.io.AbstractConnection$1.run(AbstractConnection.java:505) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:607) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:536) at java.lang.Thread.run(Thread.java:745) 08-09-2014 11:23:01 ERROR org.bimserver.geometry.json.JsonGeometrySerializer - java.lang.NullPointerException at org.bimserver.geometry.json.JsonGeometrySerializer.writeGeometryFromInstancesGeometryObject(JsonGeometrySerializer.java:286) at org.bimserver.geometry.json.JsonGeometrySerializer.writeGeometricObject(JsonGeometrySerializer.java:194) at org.bimserver.geometry.json.JsonGeometrySerializer.writeGeometries(JsonGeometrySerializer.java:107) at org.bimserver.geometry.json.JsonGeometrySerializer.write(JsonGeometrySerializer.java:90) at org.bimserver.plugins.serializers.EmfSerializer.writeToOutputStream(EmfSerializer.java:111) at org.bimserver.plugins.serializers.EmfSerializerDataSource.writeToOutputStream(EmfSerializerDataSource.java:60) at org.bimserver.servlets.DownloadServlet.service(DownloadServlet.java:254) at org.bimserver.servlets.RootServlet.service(RootServlet.java:103) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:717) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:552) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:568) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1112) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:479) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1046) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) at org.eclipse.jetty.server.Server.handle(Server.java:459) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:281) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:232) at org.eclipse.jetty.io.AbstractConnection$1.run(AbstractConnection.java:505) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:607) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:536) at java.lang.Thread.run(Thread.java:745) 08-09-2014 11:25:26 ERROR org.bimserver.webservices.impl.GenericServiceImpl - java.lang.NullPointerException at org.bimserver.webservices.impl.ServiceImpl.addModelCheckerToProject(ServiceImpl.java:1463) at org.bimserver.generated.ServiceInterfaceReflector1.callMethod(ServiceInterfaceReflector1.java) at org.bimserver.shared.meta.SMethod.invoke(SMethod.java:218) at org.bimserver.JsonHandler.processSingleRequest(JsonHandler.java:122) at org.bimserver.JsonHandler.execute(JsonHandler.java:60) at org.bimserver.servlets.JsonApiServlet.service(JsonApiServlet.java:70) at org.bimserver.servlets.RootServlet.service(RootServlet.java:99) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:717) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:552) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:568) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1112) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:479) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1046) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) at org.eclipse.jetty.server.Server.handle(Server.java:459) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:281) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:232) at org.eclipse.jetty.io.AbstractConnection$1.run(AbstractConnection.java:505) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:607) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:536) at java.lang.Thread.run(Thread.java:745) 08-09-2014 11:25:26 ERROR org.bimserver.webservices.impl.GenericServiceImpl - java.lang.NullPointerException at org.bimserver.webservices.impl.ServiceImpl.addModelCheckerToProject(ServiceImpl.java:1463) at org.bimserver.generated.ServiceInterfaceReflector1.callMethod(ServiceInterfaceReflector1.java) at org.bimserver.shared.meta.SMethod.invoke(SMethod.java:218) at org.bimserver.JsonHandler.processSingleRequest(JsonHandler.java:122) at org.bimserver.JsonHandler.execute(JsonHandler.java:60) at org.bimserver.servlets.JsonApiServlet.service(JsonApiServlet.java:70) at org.bimserver.servlets.RootServlet.service(RootServlet.java:99) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:717) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:552) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:568) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1112) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:479) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1046) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) at org.eclipse.jetty.server.Server.handle(Server.java:459) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:281) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:232) at org.eclipse.jetty.io.AbstractConnection$1.run(AbstractConnection.java:505) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:607) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:536) at java.lang.Thread.run(Thread.java:745) 08-09-2014 11:27:58 INFO org.bimserver.longaction.LongActionManager - Cleaning up long running action: Download - LongDownloadAction