#97 NPE without dbo.

open
Heiko Hilbert
None
5
2012-09-09
2012-08-27
Anonymous
No

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)

Discussion

  • Heiko Hilbert
    Heiko Hilbert
    2012-09-09

    Fix is committed

     
  • Heiko Hilbert
    Heiko Hilbert
    2012-09-09

    • assigned_to: nobody --> hhilbert