Random java.lang.NullPointerException

0
The following error below occurs so now and then in my project. Is there any way to get rid of it? java.lang.NullPointerException at iE.a(SourceFile:213) at iE.b(SourceFile:190) at iE.a(SourceFile:84) at iE.processRequest(SourceFile:75) at iG.a(SourceFile:71) at com.mendix.core.MxRuntime.processRequest(SourceFile:842) at com.mendix.m2ee.server.handler.RuntimeHandler.handle(RuntimeHandler.java:43) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:113) at org.eclipse.jetty.server.Server.handle(Server.java:334) at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:559) at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:992) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:541) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:203) at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:406) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:462) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:436) at java.lang.Thread.run(Thread.java:662)
asked
2 answers
2

This happens when someone (or something) tries to download from http://<yourserver>/file, the download fails for whatever reason and you don't specifiy a ?target=blabla parameter. This is because it tries to create a 404 iframe, but doesn't know where to place it.

I'll file a patch to fix the nullpointer, but I can't tell you why you're getting these requests.

answered
0

I've seen similar messages and thought they appeared because I had a browser with a session open that sends some http-request whilst the modeler has restarted.

answered