Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-2630

ArrayIndexOutOfBoundsException for many operations in gradle projects.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 11.0
    • None
    • java - Refactoring
    • None

    Description

      The exception is thrown when finding usages, refactoring,  and  sometimes "Go to" Symbol. The Exception is thrown in gradle projects..

       

      SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor org.netbeans.modules.refactoring.spi.impl.RefactoringPanel$3
      java.lang.ArrayIndexOutOfBoundsException: arraycopy: last destination index 8 out of bounds for object array[6]
          at java.base/java.lang.System.arraycopy(Native Method)
          at org.netbeans.modules.refactoring.java.ui.tree.FolderTreeElement.getSourceGroup(FolderTreeElement.java:119)
          at org.netbeans.modules.refactoring.java.ui.tree.TreeElementFactoryImpl.getTreeElement(TreeElementFactoryImpl.java:55)
          at org.netbeans.modules.refactoring.spi.ui.TreeElementFactory.getTreeElement(TreeElementFactory.java:44)
          at org.netbeans.modules.refactoring.java.ui.tree.FileTreeElement.getParent(FileTreeElement.java:75)
          at org.netbeans.modules.refactoring.spi.impl.RefactoringPanel.createNode(RefactoringPanel.java:488)
          at org.netbeans.modules.refactoring.spi.impl.RefactoringPanel.createNode(RefactoringPanel.java:493)
          at org.netbeans.modules.refactoring.spi.impl.RefactoringPanel.createNode(RefactoringPanel.java:493)
          at org.netbeans.modules.refactoring.spi.impl.RefactoringPanel.createNode(RefactoringPanel.java:493)
          at org.netbeans.modules.refactoring.spi.impl.RefactoringPanel.access$1100(RefactoringPanel.java:80)
          at org.netbeans.modules.refactoring.spi.impl.RefactoringPanel$3.run(RefactoringPanel.java:765)
          at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
          at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
          at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
      [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)

      Attachments

        1. messages.log
          86 kB
          Deft Developer

        Issue Links

          Activity

            People

              lkishalmi Laszlo Kishalmi
              charlweed Deft Developer
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: