java.lang.NullPointerException
at org.netezza.sql.NzConnection$Initializer.handshake(NzConnection.java:2163)
at org.netezza.sql.NzConnection$Initializer.init(NzConnection.java:2091)
at org.netezza.sql.NzConnection.open(NzConnection.java:298)
at org.netezza.datasource.NzDatasource.getConnection(NzDatasource.java:719)
at org.netezza.datasource.NzDatasource.getConnection(NzDatasource.java:706)
at org.netezza.Driver.connect(Driver.java:155)
at java.sql.DriverManager.getConnection(DriverManager.java:664)
at java.sql.DriverManager.getConnection(DriverManager.java:247)
Netezza Driver at line 1866 int index = System.getProperty("sun.java.command").indexOf(32, 0); expects sun.java.command property to be set, which is not set while starting up jvm in jaydebeapi. thus fails with NullPointerException.
java.lang.NullPointerException at org.netezza.sql.NzConnection$Initializer.handshake(NzConnection.java:2163) at org.netezza.sql.NzConnection$Initializer.init(NzConnection.java:2091) at org.netezza.sql.NzConnection.open(NzConnection.java:298) at org.netezza.datasource.NzDatasource.getConnection(NzDatasource.java:719) at org.netezza.datasource.NzDatasource.getConnection(NzDatasource.java:706) at org.netezza.Driver.connect(Driver.java:155) at java.sql.DriverManager.getConnection(DriverManager.java:664) at java.sql.DriverManager.getConnection(DriverManager.java:247)
Netezza Driver at line 1866
int index = System.getProperty("sun.java.command").indexOf(32, 0);
expects sun.java.command property to be set, which is not set while starting up jvm in jaydebeapi. thus fails with NullPointerException.