Eclipse Indigo SR2
Sybase ASE 15.7
SQL Explorer 3.6.1 plug-in
jtds-1.2.5
Getting NPE (stack trace below) under various circumstances. On each occasion I\'m starting Eclispe afresh, then right-click on DB->New SQL Editor
1) rollback without any prior command to rollback
2) use select * from sysobjects
Only when I add dbo. in front of the table name can I avoid the NPE. Doesn\'t matter what DB it is.
I\'m using sa so would think I would get god permissions?
!ENTRY net.sourceforge.sqlexplorer 4 4 2012-08-27 16:33:47.203
!MESSAGE Error executing.
!STACK 0
java.lang.NullPointerException
at net.sourceforge.sqlexplorer.history.SQLHistory.addSQL(SQLHistory.java:130)
at net.sourceforge.sqlexplorer.sqlpanel.SQLExecution.logHistory(SQLExecution.java:322)
at net.sourceforge.sqlexplorer.sqlpanel.SQLExecution.startQuery(SQLExecution.java:338)
at net.sourceforge.sqlexplorer.sqlpanel.SQLExecution.doExecution(SQLExecution.java:216)
at net.sourceforge.sqlexplorer.sqlpanel.AbstractSQLExecution.run(AbstractSQLExecution.java:116)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
This is a bug in the SQL History if you renamed or deleted a database alias.
As workaround you can clear your SQL History by using the context menu 'Remove all from History' in the SQL History view.
See also here: https://sourceforge.net/projects/eclipsesql/forums/forum/450662/topic/5505091
Fix is committed