Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#341 SQL Exception shown in message box when AID object not found

Enhancement
open
David Benn
8
2013-03-16
2013-01-21
David Benn
No

An SQL Exception is caught and shown in a message dialog when an AID object is not found.

Discussion

  • David Benn
    David Benn
    2013-02-18

    java.sql.SQLException: Illegal operation on empty result set.
    at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1055)
    at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
    at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:926)
    at com.mysql.jdbc.ResultSetImpl.checkRowPos(ResultSetImpl.java:841)
    at com.mysql.jdbc.ResultSetImpl.getInt(ResultSetImpl.java:2652)
    at com.mysql.jdbc.ResultSetImpl.getInt(ResultSetImpl.java:2793)
    at org.aavso.tools.vstar.input.database.VSXStarNameAndAUIDSource.getPossiblyNullIntegerValue(Unknown Source)
    at org.aavso.tools.vstar.input.database.VSXStarNameAndAUIDSource.getRA(Unknown Source)
    at org.aavso.tools.vstar.input.database.VSXStarNameAndAUIDSource.getStarByName(Unknown Source)
    at org.aavso.tools.vstar.input.database.AAVSODatabaseConnector.getAUID(Unknown Source)
    at org.aavso.tools.vstar.ui.task.NewStarFromDatabaseTask.createDatabaseBasedObservationArtefacts(Unknown Source)
    at org.aavso.tools.vstar.ui.task.NewStarFromDatabaseTask.doInBackground(Unknown Source)
    at org.aavso.tools.vstar.ui.task.NewStarFromDatabaseTask.doInBackground(Unknown Source)