Closed GoogleCodeExporter closed 9 years ago
The test case doesn't work:
java.sql.SQLException: [SQLITE_ERROR] SQL error or missing database (no such
table: Employee)
at org.sqlite.DB.newSQLException(DB.java:886) at org.sqlite.DB.newSQLException(DB.java:886)
at org.sqlite.DB.newSQLException(DB.java:897)
at org.sqlite.DB.throwex(DB.java:864)
[EDT] 0:0:0,0 - Exception: [SQLITE_ERROR] SQL error or missing database (no
such table: Employee)
at org.sqlite.NativeDB.prepare(Native Method)
at org.sqlite.DB.prepare(DB.java:207)
at org.sqlite.PrepStmt.<init>(PrepStmt.java:50)
at org.sqlite.SQLiteConnection.prepareStatement(SQLiteConnection.java:616)
at org.sqlite.SQLiteConnection.prepareStatement(SQLiteConnection.java:606)
at org.sqlite.SQLiteConnection.prepareStatement(SQLiteConnection.java:578)
at com.codename1.impl.javase.SEDatabase.executeQuery(SEDatabase.java:161)
at userclasses.StateMachine.beforeMain(StateMachine.java:49)
at generated.StateMachineBase.beforeShow(StateMachineBase.java:154)
at com.codename1.ui.util.UIBuilder.showForm(UIBuilder.java:2507)
at com.codename1.ui.util.UIBuilder.showForm(UIBuilder.java:2554)
at generated.StateMachineBase.startApp(StateMachineBase.java:56)
at generated.StateMachineBase.<init>(StateMachineBase.java:31)
at generated.StateMachineBase.<init>(StateMachineBase.java:98)
at userclasses.StateMachine.<init>(StateMachine.java:22)
at com.transmobiles.testbuild.TestBuild.start(TestBuild.java:32)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.codename1.impl.javase.Executor$1.run(Executor.java:95)
at com.codename1.ui.Display.processSerialCalls(Display.java:1110)
at com.codename1.ui.Display.mainEDTLoop(Display.java:932)
at com.codename1.ui.RunnableWrapper.run(RunnableWrapper.java:120)
at com.codename1.impl.CodenameOneThread.run(CodenameOneThread.java:176)
at org.sqlite.DB.newSQLException(DB.java:886)
BTW we normally prefer non-gui builder test cases that only include the
application source file as a single file. Its easier to debug that way.
Original comment by shai.almog
on 5 Feb 2015 at 7:27
Nevermind, looking at the code I see a problem and its fixed in SVN.
Original comment by shai.almog
on 5 Feb 2015 at 7:33
Original issue reported on code.google.com by
eStart...@gmail.com
on 5 Feb 2015 at 4:19Attachments: