Details

    • Story Points:
      5

      Description

      Saw this in my logs in a dev workspace. Looks like the comment nodes from PHP have bad offsets? The line pointed at in the stacktrace is:

      String text = new String(source.substring(commentNode.getStart(), commentNode.getEnd() + 1));
      

      Here's the stacktrace:

      !STACK 0
      java.lang.StringIndexOutOfBoundsException: String index out of range: 16374
      	at java.lang.String.substring(String.java:1934)
      	at com.aptana.editor.php.internal.indexer.TaskTagsUpdater.processCommentNode(TaskTagsUpdater.java:203)
      	at com.aptana.editor.php.internal.indexer.TaskTagsUpdater.updateTaskTags(TaskTagsUpdater.java:175)
      	at com.aptana.editor.php.internal.indexer.PDTPHPModuleIndexer.indexModule(PDTPHPModuleIndexer.java:3862)
      	at com.aptana.editor.php.indexer.PHPGlobalIndexer$WrapIndexer.indexModule(PHPGlobalIndexer.java:92)
      	at com.aptana.editor.php.indexer.PHPGlobalIndexer$8.run(PHPGlobalIndexer.java:549)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
      

        Attachments

          Activity

            People

            • Assignee:
              cwilliams Christopher Williams
              Reporter:
              cwilliams Christopher Williams
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Git Integration