Uploaded image for project: 'Aptana Studio'
  1. Aptana Studio
  2. APSTUD-5002

StringIndexOutOfBoundsException in JSLintValidator.run()

    Details

    • Story Points:
      2

      Description

      Found in my log file. File is attached.

      !ENTRY com.aptana.editor.js 4 0 2012-07-04 08:49:56.502
      !MESSAGE (Build 0.0.0.qualifier) [ERROR]  Failed to parse file:/Users/ingo/Documents/Aptana%20Studio%203%20Workspace/new.aptana.com/public/javascripts/jquery.trace.js with JSLint
      !STACK 0
      java.lang.StringIndexOutOfBoundsException: String index out of range: 41
      	at java.lang.String.charAt(String.java:686)
      	at com.aptana.editor.js.validator.JSLintValidator$JSLint$1.run(JSLintValidator.java:291)
      	at org.mozilla.javascript.Context.call(Context.java:489)
      	at org.mozilla.javascript.ContextFactory.call(ContextFactory.java:504)
      	at com.aptana.editor.js.validator.JSLintValidator$JSLint.getProblems(JSLintValidator.java:227)
      	at com.aptana.editor.js.validator.JSLintValidator.parseWithLint(JSLintValidator.java:133)
      	at com.aptana.editor.js.validator.JSLintValidator.buildFile(JSLintValidator.java:101)
      	at com.aptana.core.internal.build.LazyBuildParticipant.buildFile(LazyBuildParticipant.java:72)
      	at com.aptana.core.build.UnifiedBuilder.buildFile(UnifiedBuilder.java:525)
      	at com.aptana.core.build.UnifiedBuilder.doBuildFiles(UnifiedBuilder.java:436)
      	at com.aptana.core.build.UnifiedBuilder.buildFiles(UnifiedBuilder.java:413)
      	at com.aptana.core.build.UnifiedBuilder.fullBuild(UnifiedBuilder.java:307)
      	at com.aptana.core.build.UnifiedBuilder.build(UnifiedBuilder.java:153)
      	at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:728)
      	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199)
      	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:239)
      	at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:292)
      	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:295)
      	at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:351)
      	at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:374)
      	at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:143)
      	at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:241)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Git Source Code