05-13-2014, 11:30 AM

Hi,

I have a problem when using P1D derivative() method.

I have a filled P1D instance defined as "P1D p1=new P1D（double[],double[]） " without errors added.

And p1 can be plotted accurately,

but the problem happened when excuting"P1D p2=p1.derivative()" .

This is the wrong message:

java.lang.NullPointerException

at jhplot.P1D.getYupper(P1D.java:4824)

at jhplot.P1D.derivative(P1D.java:5245)

at com.sbl.io.video.ScanTest3.main(ScanTest3.java:134)

I'll be very grateful for your help!

Thanks

ColdWind

I have a problem when using P1D derivative() method.

I have a filled P1D instance defined as "P1D p1=new P1D（double[],double[]） " without errors added.

And p1 can be plotted accurately,

but the problem happened when excuting"P1D p2=p1.derivative()" .

This is the wrong message:

java.lang.NullPointerException

at jhplot.P1D.getYupper(P1D.java:4824)

at jhplot.P1D.derivative(P1D.java:5245)

at com.sbl.io.video.ScanTest3.main(ScanTest3.java:134)

I'll be very grateful for your help!

Thanks

ColdWind