facebook

javascript editor crash

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #332870 Reply

    Sanjeev
    Member

    Just crashed in the middle of coding..
    doesn’t seem to come back up even after couple of restarts.
    Appreciate any help in this regard

    java.lang.StringIndexOutOfBoundsException: String index out of range: -4
    at java.lang.String.substring(String.java:1938)
    at com.genuitec.org.mozilla.javascript.TokenStream.getLine(TokenStream.java:641)
    at com.genuitec.org.mozilla.javascript.Parser.addError(Parser.java:119)
    at com.genuitec.org.mozilla.javascript.Parser.reportError(Parser.java:1359)
    at com.genuitec.org.mozilla.javascript.Parser.mustMatchToken(Parser.java:811)
    at com.genuitec.org.mozilla.javascript.Parser.function(Parser.java:538)
    at com.genuitec.org.mozilla.javascript.Parser.parse(Parser.java:874)
    at com.genuitec.org.mozilla.javascript.Parser.parse(Parser.java:950)
    at org.eclipse.dltk.internal.javascript.parser.JavaScriptSourceElementParser.parseSourceModule(JavaScriptSourceElementParser.java:73)
    at org.eclipse.dltk.internal.javascript.parser.JavaScriptSourceElementParser.parseSourceModule(JavaScriptSourceElementParser.java:47)
    at org.eclipse.dltk.core.SourceParserUtil.parseSourceModule(SourceParserUtil.java:237)
    at org.eclipse.dltk.internal.core.AbstractSourceModule.buildStructure(AbstractSourceModule.java:530)
    at org.eclipse.dltk.internal.core.Openable.generateInfos(Openable.java:182)
    at org.eclipse.dltk.internal.core.ModelElement.openWhenClosed(ModelElement.java:177)
    at org.eclipse.dltk.internal.core.ModelElement.getElementInfo(ModelElement.java:164)
    at org.eclipse.dltk.internal.core.ModelElement.getElementInfo(ModelElement.java:146)
    at org.eclipse.dltk.internal.core.AbstractSourceModule.getSourceRange(AbstractSourceModule.java:358)
    at org.eclipse.dltk.internal.ui.editor.selectionaction.GoToNextPreviousMemberAction.update(GoToNextPreviousMemberAction.java:73)
    at org.eclipse.dltk.internal.ui.editor.selectionaction.GoToNextPreviousMemberAction.<init>(GoToNextPreviousMemberAction.java:52)
    at org.eclipse.dltk.internal.ui.editor.selectionaction.GoToNextPreviousMemberAction.newGoToNextMemberAction(GoToNextPreviousMemberAction.java:40)
    at org.eclipse.dltk.internal.ui.editor.ScriptEditor.createActions(ScriptEditor.java:1122)
    at org.eclipse.dltk.javascript.internal.ui.editor.JavaScriptEditor.createActions(JavaScriptEditor.java:194)
    at org.eclipse.ui.texteditor.AbstractTextEditor.createPartControl(AbstractTextEditor.java:3465)
    at org.eclipse.ui.texteditor.StatusTextEditor.createPartControl(StatusTextEditor.java:53)
    at org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.createPartControl(AbstractDecoratedTextEditor.java:427)
    at org.eclipse.dltk.internal.ui.editor.ScriptEditor.createPartControl(ScriptEditor.java:1752)
    at org.eclipse.dltk.javascript.internal.ui.editor.JavaScriptEditor.createPartControl(JavaScriptEditor.java:225)
    at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:662)
    at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:462)
    at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
    at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:286)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2857)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2762)
    at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2754)
    at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2705)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2701)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2685)
    at org.eclipse.ui.actions.OpenWithMenu.openEditor(OpenWithMenu.java:344)
    at org.eclipse.ui.actions.OpenWithMenu$2.handleEvent(OpenWithMenu.java:192)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3910)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3503)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1311)

    #332893 Reply

    sanjeevkoppal,

    Sorry that you are seeing this issue with MyEclipse.

    Can you answer some more questions for us ?

    1) Can you share the Installation Details from MyEclipse > Installation Summary > Installation Details ?.Also mention the OS details.

    2) Do you have any third party plugins installed? If yes, please list them.

    3) Can you clarify if you are seeing this issue after creating a new js file and working with it in ME JavaScript Editor ?

    4) If you have the chance, can you please switch to a new workspace and check if you are seeing the same issue ?

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: javascript editor crash

You must be logged in to post in the forum log in