#223 SQL Nullpointer Exception at getLocalProperty with sybase

open
nobody
None
1
2012-08-05
2003-11-14
No

When I install the SQL plugin and try to connect to the
db, an exception is thrown. jEdit-4.1, SQL-0.97, sybase
jdbc driver.

stsws012:kruthan> bin/jedit
[error] AWT-EventQueue-0: java.lang.NullPointerException
[error] AWT-EventQueue-0: at
sql.SqlPlugin.getLocalProperty(Unknown Source)
[error] AWT-EventQueue-0: at
sql.SqlServerRecord.getAllRecords(Unknown Source)
[error] AWT-EventQueue-0: at
sql.SqlUtils.showCurrentServerChooser(Unknown Source)
[error] AWT-EventQueue-0: at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[error] AWT-EventQueue-0: at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[error] AWT-EventQueue-0: at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[error] AWT-EventQueue-0: at
java.lang.reflect.Method.invoke(Method.java:324)
[error] AWT-EventQueue-0: at
bsh.Reflect.invokeOnMethod(Unknown Source)
[error] AWT-EventQueue-0: at
bsh.Reflect.invokeStaticMethod(Unknown Source)
[error] AWT-EventQueue-0: at
bsh.Name.invokeMethod(Unknown Source)
[error] AWT-EventQueue-0: at
bsh.BSHMethodInvocation.eval(Unknown Source)

<...>

-andreas

Discussion

  • Sergey V. Udaltsov

    Logged In: YES
    user_id=681

    Could you please provide me with the screenshots of your
    server list (not the JDBC driver classpath list!)

     
  • Sergey V. Udaltsov

    • assigned_to: nobody --> svu
     
  • Sergey V. Udaltsov

    • priority: 5 --> 1
     
  • Sergey V. Udaltsov

    Logged In: YES
    user_id=681

    Actually it is ok - this exception can be ignored. But you
    are right it should not be there. At some point I will fix this.

     
  • Jarek Czekalski

    Jarek Czekalski - 2012-08-05
    • assigned_to: svu --> nobody
    • summary: SQL Nullpointer Exception --> SQL Nullpointer Exception at getLocalProperty with sybase
     
  • Jarek Czekalski

    Jarek Czekalski - 2012-08-05

    Andreas, is the exception still thrown? With current plugin version? Only with sybase? The current info is insufficient to fix it and I have no sybase server to try to reproduce. Anyone able to test sybase with current SQL plugin version?

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks