Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by msdsoftware
, 1 year ago
java.lang.Integer cannot be cast to java.lang.Short
java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Short at ucar.nc2.iosp.IospHelper.makePrimitiveArray(IospHelper.java:678) at ucar.nc2.iosp.IospHelper.readDataFill(IospHelper.java:78) at ucar.nc2.iosp.hdf4.H4iosp.readData(H4iosp.java:104) at ucar.nc2.NetcdfFile.readData(NetcdfFile.java:2020) at ucar.nc2.Variable.reallyRead(Variable.java:913) at ucar.nc2.Variable._read(Variable.java:898) at ucar.nc2.Variable.read(Variable.java:709) at ucar.nc2.dataset.VariableDS.reallyRead(VariableDS.java:557) at ucar.nc2.dataset.VariableDS._read(VariableDS.java:537) at ucar.nc2.Variable.read(Variable.java:709) at ucar.nc2.Variable.read(Variable.java:655)