An error occurred while reading the Application Model (run as administrator issue)

2
The following error sometimes occurs in the modeler (up to and including version 2.5.2.1) during the 'performing startup' phase when trying to deploy/run a multi-user project. I am not sure when exactly this error is triggered, but the only way to fix it seems to be to restart the modeler as an Administrator. I originally encountered this problem in 2.5.1.1, but today (19th of January 2011) I ran into it again, hence my update of this post. This particular time, I did not edit the project at all, I simply opened it this morning after closing it the day before, and tried to run it, producing this error. Request action: start Message: An error occurred while reading the Application Model Cause: An error occurred while storing column data for all existing tables in the SQLite database Stack trace: An error occurred while reading the Application Model at com.mendix.core.MxRuntime.B(SourceFile:347) at com.mendix.core.MxRuntime.a(SourceFile:183) at lt.execute(SourceFile:54) at com.mendix.m2ee.server.handler.AdminHandler.handle(AdminHandler.java:84) 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:550) 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:619) Caused by: An error occurred while storing column data for all existing tables in the SQLite database at eO.a(SourceFile:125) at eO.<init>(SourceFile:57) at lk.a(SourceFile:41) at dM.a(SourceFile:125) at com.mendix.core.MxRuntime.B(SourceFile:335) at com.mendix.core.MxRuntime.a(SourceFile:183) at lt.execute(SourceFile:54) at com.mendix.m2ee.server.handler.AdminHandler.handle(AdminHandler.java:84) 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:550) 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:619) Caused by: unable to open database file at org.sqlite.DB.execute(DB.java:275) at org.sqlite.PrepStmt.executeQuery(PrepStmt.java:67) at eO.a(SourceFile:116) at eO.<init>(SourceFile:57) at lk.a(SourceFile:41) at dM.a(SourceFile:125) at com.mendix.core.MxRuntime.B(SourceFile:335) at com.mendix.core.MxRuntime.a(SourceFile:183) at lt.execute(SourceFile:54) at com.mendix.m2ee.server.handler.AdminHandler.handle(AdminHandler.java:84) 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:550) 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:619)
asked
3 answers
3

Have you made any other kinds of changes? This does not look like a generate document issue, the stack trace says the following:

Caused by: unable to open database file at org.sqlite.DB.execute(DB.java:275)

Try opening the modeler as administrator and then making changes again. I believe this could occur in previous versions when you ran the application as administrator after installing a new modeler and then afterwards opened it as a regular user again. This is fixed in the upcoming release.

answered
1

Or you might have 2 instances of the modeler running?

answered
1

Although it is said up here that this error would be fixed, unfortunately, this error just happened again for me in version 2.5.2.1, this time without making any changes but simply trying to run my application first thing this morning. As before, running the modeler as administator solves the problem.

answered