Menu

#724 VerifyError: net/sourceforge/jtds/jdbc/TdsCore

v1.3
wont-fix
momo
None
1
2015-03-06
2014-04-29
No

Stacktrace:

 E/AndroidRuntime(2135): FATAL EXCEPTION: AsyncTask #1
 Process: dream.team.pizza, PID: 2135
 java.lang.RuntimeException: An error occured while executing doInBackground()
at android.os.AsyncTask$3.done(AsyncTask.java:300)
at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:355)
 at java.util.concurrent.FutureTask.setException(FutureTask.java:222)
at java.util.concurrent.FutureTask.run(FutureTask.java:242)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:841)
 Caused by: java.lang.VerifyError: net/sourceforge/jtds/jdbc/TdsCore
at net.sourceforge.jtds.jdbc.JtdsConnection.<init>(JtdsConnection.java:359)
at net.sourceforge.jtds.jdbc.Driver.connect(Driver.java:184)
at java.sql.DriverManager.getConnection(DriverManager.java:179)
at java.sql.DriverManager.getConnection(DriverManager.java:213)
at dream.team.pizza.DatabaseManager.dbConnect(DatabaseManager.java:27)
at dream.team.pizza.DatabaseManager.getOriginalPizzas(DatabaseManager.java:43)
at dream.team.pizza.NetworkConnection.doInBackground(NetworkConnection.java:14)
at dream.team.pizza.NetworkConnection.doInBackground(NetworkConnection.java:1)
at android.os.AsyncTask$2.call(AsyncTask.java:288)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)

And the problematic method:

public void dbConnect() {

    try {
        Connection conn = null;
        Class.forName("net.sourceforge.jtds.jdbc.Driver");

        conn = DriverManager.getConnection(dbURL, dbLogin, dbPassword);
        Log.w("Database", "Conn udane");
        statement = conn.createStatement();
    } catch (Exception e) {
        e.printStackTrace();
    }
}

Taken from: http://sourceforge.net/p/jtds/discussion/104389/thread/aa1a2271/?limit=25

This only happens on 1.3.1. 1.3.0 does not throw this exception.

Discussion

  • momo

    momo - 2015-03-06
    • status: open --> wont-fix
    • assigned_to: momo
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.