[netCDFJava #KTU-101437]: question about netcdf4 output
- To: address@hidden
- Subject: [netCDFJava #KTU-101437]: question about netcdf4 output
- From: "Unidata netCDF Java Support" <address@hidden>
- Date: Tue, 14 Apr 2015 13:57:17 -0600
Hi Zhenping :
Usually you have to compile netcdf 4 library on each platform, you cant move it
Not sure if thats what you did.
> I have a null pointer exception from the netcdf4 library, the following is
> the error msg:
> Java HotSpot(TM) 64-Bit Server VM warning: You have loaded library
> /tmp/jna1935870281471053873.tmp which might have disabled stack guard. The VM
> will try to fix the stack guard now.
> It's highly recommended that you fix the library with 'execstack -c
> <libfile>', or link it with '-z noexecstack'.
> Exception in thread "Thread-0" java.lang.NullPointerException
> at ucar.nc2.jni.netcdf.Nc4Iosp.flush(Nc4Iosp.java:2433)
> at ucar.nc2.NetcdfFileWriter.flush(NetcdfFileWriter.java:849)
> at ucar.nc2.NetcdfFileWriter.close(NetcdfFileWriter.java:858)
> at gov.nasa.gratdat.gpaimpl.ABIOutputRunnable.run(ABIOutputRunnable.java:65)
> at java.lang.Thread.run(Thread.java:745)
> My question are what is stack guard issue? How to avoid it? I compiled my
> java code on one machine, where it seems working. However, when I tried to
> install the jar file on another machine, it generates above error msg. Any
> help would be greatly appreciated.
> Zhenping Li
Ticket ID: KTU-101437
Department: Support netCDF Java
NOTE: All email exchanges with Unidata User Support are recorded in the
Unidata inquiry tracking system and then made publicly available
through the web. If you do not want to have your interactions made
available in this way, you must let us know in each email you send to us.