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

Oracle Community | 807581 | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

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

    Oracle Community | 1 decade ago | 807581
    java.lang.ClassCastException: org.netbeans.jmi.javamodel.Parameter$Impl

    Root Cause Analysis

    1. java.lang.ClassCastException

      org.netbeans.jmi.javamodel.Parameter$Impl

      at org.netbeans.modules.javacore.parser.InfoUtil.getElementNames()
    2. org.netbeans.modules
      JavaEditor$2.run
      1. org.netbeans.modules.javacore.parser.InfoUtil.getElementNames(InfoUtil.java:73)
      2. org.netbeans.modules.javacore.parser.ClassInfoMeasure.getDistance(ClassInfoMeasure.java:58)
      3. org.netbeans.modules.javacore.parser.ArrayMapper.getDistance(ArrayMapper.java:195)
      4. org.netbeans.modules.javacore.parser.ArrayMapper.mapArray(ArrayMapper.java:120)
      5. org.netbeans.modules.javacore.parser.ArrayMapper.getMap(ArrayMapper.java:48)
      6. org.netbeans.modules.javacore.jmiimpl.javamodel.SemiPersistentElement.processMembers(SemiPersistentElement.java:509)
      7. org.netbeans.modules.javacore.jmiimpl.javamodel.ResourceImpl.matchPersistent(ResourceImpl.java:208)
      8. org.netbeans.modules.javacore.jmiimpl.javamodel.SemiPersistentElement.updatePersistent(SemiPersistentElement.java:364)
      9. org.netbeans.modules.javacore.jmiimpl.javamodel.ResourceImpl.updateMetadata(ResourceImpl.java:760)
      10. org.netbeans.modules.javacore.jmiimpl.javamodel.ResourceImpl.directUpdate(ResourceImpl.java:753)
      11. org.netbeans.modules.javacore.jmiimpl.javamodel.ResourceImpl.checkUpToDate(ResourceImpl.java:640)
      12. org.netbeans.modules.javacore.jmiimpl.javamodel.ResourceImpl.checkUpToDate(ResourceImpl.java:582)
      13. org.netbeans.modules.javacore.jmiimpl.javamodel.ResourceImpl.initResource(ResourceImpl.java:422)
      14. org.netbeans.modules.javacore.jmiimpl.javamodel.MetadataElement.initCheck(MetadataElement.java:133)
      15. org.netbeans.modules.javacore.jmiimpl.javamodel.SemiPersistentElement.getElementInfo(SemiPersistentElement.java:185)
      16. org.netbeans.modules.javacore.jmiimpl.javamodel.SemiPersistentElement.getInternalForm(SemiPersistentElement.java:827)
      17. org.netbeans.modules.javacore.jmiimpl.javamodel.MetadataElement.getASTree(MetadataElement.java:451)
      18. org.netbeans.modules.javacore.jmiimpl.javamodel.SemiPersistentElement.getParser(SemiPersistentElement.java:822)
      19. org.netbeans.modules.javacore.jmiimpl.javamodel.ResourceImpl$ErrorList.initCheck(ResourceImpl.java:1421)
      20. org.netbeans.modules.javacore.jmiimpl.javamodel.ResourceImpl$ErrorList.size(ResourceImpl.java:1440)
      21. org.netbeans.modules.java.JavaEditor.refreshAnnotations(JavaEditor.java:389)
      22. org.netbeans.modules.java.JavaEditor.access$300(JavaEditor.java:83)
      23. org.netbeans.modules.java.JavaEditor$2.run(JavaEditor.java:248)
      23 frames
    3. org.openide.util
      RequestProcessor$Processor.run
      1. org.openide.util.Task.run(Task.java:189)
      2. org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:330)[catch]
      3. org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:721)
      3 frames