java.lang.ClassCastException: org.netbeans.jmi.javamodel.Parameter$Impl

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 Oracle Community by 807581, 1 year ago
java.lang.ClassCastException: org.netbeans.jmi.javamodel.Parameter$Impl
at org.netbeans.modules.javacore.parser.InfoUtil.getElementNames(InfoUtil.java:73)
at org.netbeans.modules.javacore.parser.ClassInfoMeasure.getDistance(ClassInfoMeasure.java:58)
at org.netbeans.modules.javacore.parser.ArrayMapper.getDistance(ArrayMapper.java:195)
at org.netbeans.modules.javacore.parser.ArrayMapper.mapArray(ArrayMapper.java:120)
at org.netbeans.modules.javacore.parser.ArrayMapper.getMap(ArrayMapper.java:48)
at org.netbeans.modules.javacore.jmiimpl.javamodel.SemiPersistentElement.processMembers(SemiPersistentElement.java:509)
at org.netbeans.modules.javacore.jmiimpl.javamodel.ResourceImpl.matchPersistent(ResourceImpl.java:208)
at org.netbeans.modules.javacore.jmiimpl.javamodel.SemiPersistentElement.updatePersistent(SemiPersistentElement.java:364)
at org.netbeans.modules.javacore.jmiimpl.javamodel.ResourceImpl.updateMetadata(ResourceImpl.java:760)
at org.netbeans.modules.javacore.jmiimpl.javamodel.ResourceImpl.directUpdate(ResourceImpl.java:753)
at org.netbeans.modules.javacore.jmiimpl.javamodel.ResourceImpl.checkUpToDate(ResourceImpl.java:640)
at org.netbeans.modules.javacore.jmiimpl.javamodel.ResourceImpl.checkUpToDate(ResourceImpl.java:582)
at org.netbeans.modules.javacore.jmiimpl.javamodel.ResourceImpl.initResource(ResourceImpl.java:422)
at org.netbeans.modules.javacore.jmiimpl.javamodel.MetadataElement.initCheck(MetadataElement.java:133)
at org.netbeans.modules.javacore.jmiimpl.javamodel.SemiPersistentElement.getElementInfo(SemiPersistentElement.java:185)
at org.netbeans.modules.javacore.jmiimpl.javamodel.SemiPersistentElement.getInternalForm(SemiPersistentElement.java:827)
at org.netbeans.modules.javacore.jmiimpl.javamodel.MetadataElement.getASTree(MetadataElement.java:451)
at org.netbeans.modules.javacore.jmiimpl.javamodel.SemiPersistentElement.getParser(SemiPersistentElement.java:822)
at org.netbeans.modules.javacore.jmiimpl.javamodel.ResourceImpl$ErrorList.initCheck(ResourceImpl.java:1421)
at org.netbeans.modules.javacore.jmiimpl.javamodel.ResourceImpl$ErrorList.size(ResourceImpl.java:1440)
at org.netbeans.modules.java.JavaEditor.refreshAnnotations(JavaEditor.java:389)
at org.netbeans.modules.java.JavaEditor.access$300(JavaEditor.java:83)
at org.netbeans.modules.java.JavaEditor$2.run(JavaEditor.java:248)
at org.openide.util.Task.run(Task.java:189)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:330)
at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:721)

Users with the same issue

You are the first who have seen this exception.

Write tip

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