This is the repository of the v1 and v2 version of BIM Surfer. It is not maintained anymore. Find the most recent version on https://github.com/opensourceBIM/BIMsurfer
MIT License
432
stars
195
forks
source link
Failed to load bimsurfer2, error message focus on serializer loading problem #271
I want to use the bimsurfer2, but it shows error like this
Uncaught TypeError: Cannot read property 'then' of undefined at BimServerGeometryLoader.start (BimServerGeometryLoader.js?bust=1530850330402:126) at BimServerModelLoader.loadOids (BimServerModelLoader.js?bust=1530850330402:82) at BimServerApiPromise.callback (BimServerModelLoader.js?bust=1530850330402:16) at BimServerApiPromise.fire (bimserverapipromise.js:56) at bimServerApi.call (model.js:744) at multiCall (bimserverclient.js?_v=1530850330407:877) at getJson (bimserverclient.js?_v=1530850330407:653) at XMLHttpRequest.xhr.onload (bimserverclient.js?_v=1530850330407:538)
I think problem is here (BimServerGeometryLoader.js?bust=1530850330402:126):
o.bimServerApi.getSerializerByPluginClassName("org.bimserver.serializers.binarygeometry.BinaryGeometryMessagingStreamingSerializerPlugin3")
BinaryGeometryMessagingStreamingSerializerPlugin3 is a MessagingStreamingSerializerPlugin but not a SerializerPlugin.
I'm not familiar with BimServer system, it's just a guess.
Context:
Bimserver 1.5.101, lunched by org.bimserver.starter.Starter in bimserverjar with version 1.5.101.
Recent version of Bimsurfer (contains commit on Jun 18, 2018).
jdk1.8 , windows.
I want to use the bimsurfer2, but it shows error like this
Uncaught TypeError: Cannot read property 'then' of undefined at BimServerGeometryLoader.start (BimServerGeometryLoader.js?bust=1530850330402:126) at BimServerModelLoader.loadOids (BimServerModelLoader.js?bust=1530850330402:82) at BimServerApiPromise.callback (BimServerModelLoader.js?bust=1530850330402:16) at BimServerApiPromise.fire (bimserverapipromise.js:56) at bimServerApi.call (model.js:744) at multiCall (bimserverclient.js?_v=1530850330407:877) at getJson (bimserverclient.js?_v=1530850330407:653) at XMLHttpRequest.xhr.onload (bimserverclient.js?_v=1530850330407:538)
I think problem is here (BimServerGeometryLoader.js?bust=1530850330402:126): o.bimServerApi.getSerializerByPluginClassName("org.bimserver.serializers.binarygeometry.BinaryGeometryMessagingStreamingSerializerPlugin3")
BinaryGeometryMessagingStreamingSerializerPlugin3 is a MessagingStreamingSerializerPlugin but not a SerializerPlugin.
I'm not familiar with BimServer system, it's just a guess.
Context: Bimserver 1.5.101, lunched by org.bimserver.starter.Starter in bimserverjar with version 1.5.101. Recent version of Bimsurfer (contains commit on Jun 18, 2018). jdk1.8 , windows.