[netcdf-java] SecurityException while reading a grib2 dataset

HI All,

 
 Having an issue after upgrading Netcdf-java from 4.5.2 to 4.5.3, I am seeing 
the below exception while reading grib file. Any suggestions on how to resolve 
this exception.

014-10-29 14:19:58,760 [1414606797613:102313601] ERROR ucar.nc2.dt.grid.GeoGrid 
- GeoGrid.getdataSlice() on dataset 
VAR0-15-193_FROM_161-0--1_altitude_above_msl 
/tmp/raster/grid.global_hqnowrad.20141014T162500Z.NIL.P0D.TILE1@xxxxxxxxxxxxxx.grb2
java.lang.SecurityException: sealing violation: package jj2000.j2k.util is 
sealed
        at java.net.URLClassLoader.getAndVerifyPackage(URLClassLoader.java:388) 
~[na:1.7.0_51]
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:417) 
~[na:1.7.0_51]
        at java.net.URLClassLoader.access$100(URLClassLoader.java:71) 
~[na:1.7.0_51]
        at java.net.URLClassLoader$1.run(URLClassLoader.java:361) ~[na:1.7.0_51]
        at java.net.URLClassLoader$1.run(URLClassLoader.java:355) ~[na:1.7.0_51]
        at java.security.AccessController.doPrivileged(Native Method) 
~[na:1.7.0_51]
        at java.net.URLClassLoader.findClass(URLClassLoader.java:354) 
~[na:1.7.0_51]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:425) ~[na:1.7.0_51]
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) 
~[na:1.7.0_51]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ~[na:1.7.0_51]
        at 
ucar.nc2.grib.grib2.Grib2JpegDecoder.<init>(Grib2JpegDecoder.java:119) 
~[grib-4.5.3.jar:4.5.3]
        at 
ucar.nc2.grib.grib2.Grib2DataReader2.getData40(Grib2DataReader2.java:726) 
~[grib-4.5.3.jar:4.5.3]
        at 
ucar.nc2.grib.grib2.Grib2DataReader2.getData(Grib2DataReader2.java:109) 
~[grib-4.5.3.jar:4.5.3]
        at ucar.nc2.grib.grib2.Grib2Record.readData(Grib2Record.java:319) 
~[grib-4.5.3.jar:4.5.3]
        at ucar.nc2.grib.collection.Grib2Iosp.readData(Grib2Iosp.java:404) 
~[grib-4.5.3.jar:4.5.3]
        at ucar.nc2.grib.collection.GribIosp$DataReader.read(GribIosp.java:912) 
~[grib-4.5.3.jar:4.5.3]
        at 
ucar.nc2.grib.collection.GribIosp.readDataFromCollection(GribIosp.java:847) 
~[grib-4.5.3.jar:4.5.3]
        at ucar.nc2.grib.collection.GribIosp.readData(GribIosp.java:797) 
~[grib-4.5.3.jar:4.5.3]
        at ucar.nc2.NetcdfFile.readData(NetcdfFile.java:1982) 
~[cdm-4.5.3.jar:4.5.3]
        at ucar.nc2.Variable.reallyRead(Variable.java:858) 
~[cdm-4.5.3.jar:4.5.3]
        at ucar.nc2.Variable._read(Variable.java:829) ~[cdm-4.5.3.jar:4.5.3]
        at ucar.nc2.Variable.read(Variable.java:707) ~[cdm-4.5.3.jar:4.5.3]
        at ucar.nc2.dataset.VariableDS.reallyRead(VariableDS.java:523) 
~[cdm-4.5.3.jar:4.5.3]
        at ucar.nc2.dataset.VariableDS._read(VariableDS.java:507) 
~[cdm-4.5.3.jar:4.5.3]
        at ucar.nc2.dataset.VariableDS._read(VariableDS.java:531) 
~[cdm-4.5.3.jar:4.5.3]
        at ucar.nc2.Variable.read(Variable.java:693) ~[cdm-4.5.3.jar:4.5.3]
        at ucar.nc2.Variable.read(Variable.java:639) ~[cdm-4.5.3.jar:4.5.3]
        at ucar.nc2.dt.grid.GeoGrid.readDataSlice(GeoGrid.java:606) 
[cdm-4.5.3.jar:4.5.3]
        at ucar.nc2.dt.grid.GeoGrid.readDataSlice(GeoGrid.java:517) 
[cdm-4.5.3.jar:4.5.3]


  • 2014 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdf-java archives: