-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ajax error: Unexpected end of input #13
Comments
Can you check the BIMserver console output? If you see a NullPointerException there, then this is likely due to a bug in BIMserver, which should be fixed since the 1.4.0-FINAL-2015-09-26 release. |
no, there is no NullPointerException there and I am using all the latest releases |
the console is not saying anything in either BIMserver or the three viewer. Looking at the network, it hangs briefly on loading name: json, type: xhr, Initiator: jquery..., for about 4 seconds then brings up the error |
I am afraid the threejs-serializer is flawed since the last updates. The error probably means that the JSON produced by the serializer is not valid and cannot be parsed. Can you have a look at the JSON file generated by the threejs serializer? You could curl the BIMserver API, download the JSON from BIMvie.ws or grab it from the BIMserver cache. Let me know if you (or a decent JSON validator) spot something strange. I remember I once had "NaN" causing a parser error. Not sure if this was fixed properly. |
hey, thanks for your reply -
Could you please tell me the URL i would hit with curl in order to get the JSON for a model using the BIMserver API? |
You have to post to |
Hey so I can connect to the BIMserver and it shows the models I have but when I load one to view I get this ajax error:
Ajax error: Unexpected end of input
Any help?
The text was updated successfully, but these errors were encountered: