java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Short

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)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.