java.lang.IllegalStateException

Appcelerator JIRA | Shalom Gibly | 6 years ago
  1. 0

    {html}<div><p>Format this code:<br></p> <pre> <code class= "ruby"># Methods added to this helper will be available to all templates in the application. module ApplicationHelper end</code> </pre> <p>The formatter fails. Exception in the log:</p> <pre> <code>!ENTRY com.aptana.formatter.epl 4 10001 2011-05-13 15:04:19.202 !MESSAGE !STACK 0 java.lang.IllegalStateException at com.aptana.formatter.nodes.AbstractFormatterNodeBuilder.checkedPop(AbstractFormatterNodeBuilder.java:156) at com.aptana.editor.ruby.formatter.internal.RubyFormatterNodeBuilder.build(RubyFormatterNodeBuilder.java:35) at com.aptana.editor.ruby.formatter.RubyFormatter.format(RubyFormatter.java:313) at com.aptana.editor.ruby.formatter.RubyFormatter.format(RubyFormatter.java:213) at com.aptana.formatter.ScriptFormattingStrategy.doFormat(ScriptFormattingStrategy.java:184) at com.aptana.formatter.ScriptFormattingStrategy$1.run(ScriptFormattingStrategy.java:114) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at com.aptana.formatter.ScriptFormattingStrategy.format(ScriptFormattingStrategy.java:110) at org.eclipse.jface.text.formatter.MultiPassContentFormatter.formatMaster(MultiPassContentFormatter.java:193) at org.eclipse.jface.text.formatter.MultiPassContentFormatter.format(MultiPassContentFormatter.java:142) at org.eclipse.jface.text.source.SourceViewer.doOperation(SourceViewer.java:966) at org.eclipse.jface.text.source.projection.ProjectionViewer.doOperation(ProjectionViewer.java:1534) at org.eclipse.ui.texteditor.TextOperationAction$1.run(TextOperationAction.java:131) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.ui.texteditor.TextOperationAction.run(TextOperationAction.java:129) at org.eclipse.jface.action.Action.runWithEvent(Action.java:498) at org.eclipse.ui.commands.ActionHandler.execute(ActionHandler.java:185) at org.eclipse.ui.internal.handlers.LegacyHandlerWrapper.execute(LegacyHandlerWrapper.java:109) at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476) at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508) at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:468) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:786) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:885) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:567) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:508) at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:123) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1253) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1103) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1099) at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1508) at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:4270) at org.eclipse.swt.widgets.Canvas.WM_CHAR(Canvas.java:345) at org.eclipse.swt.widgets.Control.windowProc(Control.java:4162) at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4873) at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method) at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:2362) at org.eclipse.swt.internal.BidiUtil.windowProc(BidiUtil.java:639) at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2459) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3655) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at com.appcelerator.titanium.rcp.IDEApplication.start(IDEApplication.java:125) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) 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:369) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575) at org.eclipse.equinox.launcher.Main.run(Main.java:1408)</code> </pre></div>{html}

    Appcelerator JIRA | 6 years ago | Shalom Gibly
    java.lang.IllegalStateException
  2. 0

    {html}<div><p>Format this code:<br></p> <pre> <code class= "ruby"># Methods added to this helper will be available to all templates in the application. module ApplicationHelper end</code> </pre> <p>The formatter fails. Exception in the log:</p> <pre> <code>!ENTRY com.aptana.formatter.epl 4 10001 2011-05-13 15:04:19.202 !MESSAGE !STACK 0 java.lang.IllegalStateException at com.aptana.formatter.nodes.AbstractFormatterNodeBuilder.checkedPop(AbstractFormatterNodeBuilder.java:156) at com.aptana.editor.ruby.formatter.internal.RubyFormatterNodeBuilder.build(RubyFormatterNodeBuilder.java:35) at com.aptana.editor.ruby.formatter.RubyFormatter.format(RubyFormatter.java:313) at com.aptana.editor.ruby.formatter.RubyFormatter.format(RubyFormatter.java:213) at com.aptana.formatter.ScriptFormattingStrategy.doFormat(ScriptFormattingStrategy.java:184) at com.aptana.formatter.ScriptFormattingStrategy$1.run(ScriptFormattingStrategy.java:114) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at com.aptana.formatter.ScriptFormattingStrategy.format(ScriptFormattingStrategy.java:110) at org.eclipse.jface.text.formatter.MultiPassContentFormatter.formatMaster(MultiPassContentFormatter.java:193) at org.eclipse.jface.text.formatter.MultiPassContentFormatter.format(MultiPassContentFormatter.java:142) at org.eclipse.jface.text.source.SourceViewer.doOperation(SourceViewer.java:966) at org.eclipse.jface.text.source.projection.ProjectionViewer.doOperation(ProjectionViewer.java:1534) at org.eclipse.ui.texteditor.TextOperationAction$1.run(TextOperationAction.java:131) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.ui.texteditor.TextOperationAction.run(TextOperationAction.java:129) at org.eclipse.jface.action.Action.runWithEvent(Action.java:498) at org.eclipse.ui.commands.ActionHandler.execute(ActionHandler.java:185) at org.eclipse.ui.internal.handlers.LegacyHandlerWrapper.execute(LegacyHandlerWrapper.java:109) at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476) at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508) at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:468) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:786) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:885) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:567) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:508) at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:123) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1253) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1103) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1099) at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1508) at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:4270) at org.eclipse.swt.widgets.Canvas.WM_CHAR(Canvas.java:345) at org.eclipse.swt.widgets.Control.windowProc(Control.java:4162) at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4873) at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method) at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:2362) at org.eclipse.swt.internal.BidiUtil.windowProc(BidiUtil.java:639) at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2459) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3655) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at com.appcelerator.titanium.rcp.IDEApplication.start(IDEApplication.java:125) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) 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:369) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575) at org.eclipse.equinox.launcher.Main.run(Main.java:1408)</code> </pre></div>{html}

    Appcelerator JIRA | 6 years ago | Shalom Gibly
    java.lang.IllegalStateException
  3. 0

    Steps to reproduce: 1. Go to Preferences > Aptana Studio > Formatter 2. Select Ruby/ERB and click on the edit button The following error appears in the logs, but does not block the workflow. !ENTRY com.aptana.formatter.epl 4 10001 2011-08-02 15:52:22.354 !MESSAGE !STACK 0 java.lang.IllegalStateException at com.aptana.formatter.nodes.AbstractFormatterNodeBuilder.checkedPop(AbstractFormatterNodeBuilder.java:267) at com.aptana.editor.ruby.formatter.internal.RubyFormatterNodeBuilderVisitor.visitModuleNode(RubyFormatterNodeBuilderVisitor.java:186) at org.jrubyparser.ast.ModuleNode.accept(ModuleNode.java:66) at com.aptana.editor.ruby.formatter.internal.RubyFormatterNodeBuilderVisitor.visitChild(RubyFormatterNodeBuilderVisitor.java:928) at com.aptana.editor.ruby.formatter.internal.RubyFormatterNodeBuilderVisitor.visitChildren(RubyFormatterNodeBuilderVisitor.java:918) at com.aptana.editor.ruby.formatter.internal.RubyFormatterNodeBuilderVisitor.visitChildren(RubyFormatterNodeBuilderVisitor.java:910) at com.aptana.editor.ruby.formatter.internal.RubyFormatterNodeBuilderVisitor.visitNode(RubyFormatterNodeBuilderVisitor.java:114) at com.aptana.ruby.core.ast.AbstractVisitor.visitNewlineNode(AbstractVisitor.java:363) at org.jrubyparser.ast.NewlineNode.accept(NewlineNode.java:67) at com.aptana.editor.ruby.formatter.internal.RubyFormatterNodeBuilderVisitor.visitChild(RubyFormatterNodeBuilderVisitor.java:928) at com.aptana.editor.ruby.formatter.internal.RubyFormatterNodeBuilderVisitor.visitChildren(RubyFormatterNodeBuilderVisitor.java:918) at com.aptana.editor.ruby.formatter.internal.RubyFormatterNodeBuilderVisitor.visitChildren(RubyFormatterNodeBuilderVisitor.java:910) at com.aptana.editor.ruby.formatter.internal.RubyFormatterNodeBuilderVisitor.visitNode(RubyFormatterNodeBuilderVisitor.java:114) at com.aptana.ruby.core.ast.AbstractVisitor.visitBlockNode(AbstractVisitor.java:128) at org.jrubyparser.ast.BlockNode.accept(BlockNode.java:54) at com.aptana.editor.ruby.formatter.internal.RubyFormatterNodeBuilderVisitor.visitChild(RubyFormatterNodeBuilderVisitor.java:928) at com.aptana.editor.ruby.formatter.internal.RubyFormatterNodeBuilderVisitor.visitChildren(RubyFormatterNodeBuilderVisitor.java:918) at com.aptana.editor.ruby.formatter.internal.RubyFormatterNodeBuilderVisitor.visitChildren(RubyFormatterNodeBuilderVisitor.java:910) at com.aptana.editor.ruby.formatter.internal.RubyFormatterNodeBuilderVisitor.visitNode(RubyFormatterNodeBuilderVisitor.java:114) at com.aptana.ruby.core.ast.AbstractVisitor.visitRootNode(AbstractVisitor.java:458) at org.jrubyparser.ast.RootNode.accept(RootNode.java:84) at com.aptana.editor.ruby.formatter.internal.RubyFormatterNodeBuilder.build(RubyFormatterNodeBuilder.java:35) at com.aptana.editor.ruby.formatter.RubyFormatter.format(RubyFormatter.java:316) at com.aptana.editor.ruby.formatter.RubyFormatter.format(RubyFormatter.java:216) at com.aptana.formatter.ui.preferences.FormatterPreviewUtils.updatePreview(FormatterPreviewUtils.java:79) at com.aptana.formatter.ui.preferences.FormatterModifyTabPage.updatePreview(FormatterModifyTabPage.java:189) at com.aptana.formatter.ui.preferences.FormatterModifyDialog.statusChanged(FormatterModifyDialog.java:229) at com.aptana.formatter.ui.preferences.FormatterControlManager.initialize(FormatterControlManager.java:276) at com.aptana.formatter.ui.preferences.FormatterModifyDialog.createDialogArea(FormatterModifyDialog.java:194) at org.eclipse.jface.dialogs.Dialog.createContents(Dialog.java:760) at org.eclipse.jface.window.Window.create(Window.java:431) at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1089) at org.eclipse.jface.dialogs.StatusDialog.create(StatusDialog.java:203) at org.eclipse.jface.window.Window.open(Window.java:790) at com.aptana.formatter.ui.preferences.AbstractFormatterSelectionBlock.editButtonPressed(AbstractFormatterSelectionBlock.java:724) at com.aptana.formatter.ui.preferences.AbstractFormatterSelectionBlock$7.widgetSelected(AbstractFormatterSelectionBlock.java:376) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:3776) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1367) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1390) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1375) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1187) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3622) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3277) at org.eclipse.jface.window.Window.runEventLoop(Window.java:825) at org.eclipse.jface.window.Window.open(Window.java:801) at org.eclipse.ui.internal.dialogs.WorkbenchPreferenceDialog.open(WorkbenchPreferenceDialog.java:211) at org.eclipse.ui.internal.OpenPreferencesAction.run(OpenPreferencesAction.java:65) at org.eclipse.ui.internal.cocoa.CocoaUIEnhancer.runAction(CocoaUIEnhancer.java:416) at org.eclipse.ui.internal.cocoa.CocoaUIEnhancer.preferencesMenuItemSelected(CocoaUIEnhancer.java:516) at org.eclipse.ui.internal.cocoa.CocoaUIEnhancer.actionProc(CocoaUIEnhancer.java:538) at org.eclipse.ui.internal.cocoa.CocoaUIEnhancer.actionProc(CocoaUIEnhancer.java:524) at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method) at org.eclipse.swt.widgets.Display.applicationSendEvent(Display.java:4582) at org.eclipse.swt.widgets.Display.applicationProc(Display.java:4659) at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method) at org.eclipse.swt.internal.cocoa.NSApplication.sendEvent(NSApplication.java:115) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3274) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at com.aptana.rcp.IDEApplication.start(IDEApplication.java:125) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) 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:369) 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:619) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574) at org.eclipse.equinox.launcher.Main.run(Main.java:1407) at org.eclipse.equinox.launcher.Main.main(Main.java:1383)

    Appcelerator JIRA | 5 years ago | Allen Yeung
    java.lang.IllegalStateException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Steps to reproduce: 1. Go to Preferences > Aptana Studio > Formatter 2. Select Ruby/ERB and click on the edit button The following error appears in the logs, but does not block the workflow. !ENTRY com.aptana.formatter.epl 4 10001 2011-08-02 15:52:22.354 !MESSAGE !STACK 0 java.lang.IllegalStateException at com.aptana.formatter.nodes.AbstractFormatterNodeBuilder.checkedPop(AbstractFormatterNodeBuilder.java:267) at com.aptana.editor.ruby.formatter.internal.RubyFormatterNodeBuilderVisitor.visitModuleNode(RubyFormatterNodeBuilderVisitor.java:186) at org.jrubyparser.ast.ModuleNode.accept(ModuleNode.java:66) at com.aptana.editor.ruby.formatter.internal.RubyFormatterNodeBuilderVisitor.visitChild(RubyFormatterNodeBuilderVisitor.java:928) at com.aptana.editor.ruby.formatter.internal.RubyFormatterNodeBuilderVisitor.visitChildren(RubyFormatterNodeBuilderVisitor.java:918) at com.aptana.editor.ruby.formatter.internal.RubyFormatterNodeBuilderVisitor.visitChildren(RubyFormatterNodeBuilderVisitor.java:910) at com.aptana.editor.ruby.formatter.internal.RubyFormatterNodeBuilderVisitor.visitNode(RubyFormatterNodeBuilderVisitor.java:114) at com.aptana.ruby.core.ast.AbstractVisitor.visitNewlineNode(AbstractVisitor.java:363) at org.jrubyparser.ast.NewlineNode.accept(NewlineNode.java:67) at com.aptana.editor.ruby.formatter.internal.RubyFormatterNodeBuilderVisitor.visitChild(RubyFormatterNodeBuilderVisitor.java:928) at com.aptana.editor.ruby.formatter.internal.RubyFormatterNodeBuilderVisitor.visitChildren(RubyFormatterNodeBuilderVisitor.java:918) at com.aptana.editor.ruby.formatter.internal.RubyFormatterNodeBuilderVisitor.visitChildren(RubyFormatterNodeBuilderVisitor.java:910) at com.aptana.editor.ruby.formatter.internal.RubyFormatterNodeBuilderVisitor.visitNode(RubyFormatterNodeBuilderVisitor.java:114) at com.aptana.ruby.core.ast.AbstractVisitor.visitBlockNode(AbstractVisitor.java:128) at org.jrubyparser.ast.BlockNode.accept(BlockNode.java:54) at com.aptana.editor.ruby.formatter.internal.RubyFormatterNodeBuilderVisitor.visitChild(RubyFormatterNodeBuilderVisitor.java:928) at com.aptana.editor.ruby.formatter.internal.RubyFormatterNodeBuilderVisitor.visitChildren(RubyFormatterNodeBuilderVisitor.java:918) at com.aptana.editor.ruby.formatter.internal.RubyFormatterNodeBuilderVisitor.visitChildren(RubyFormatterNodeBuilderVisitor.java:910) at com.aptana.editor.ruby.formatter.internal.RubyFormatterNodeBuilderVisitor.visitNode(RubyFormatterNodeBuilderVisitor.java:114) at com.aptana.ruby.core.ast.AbstractVisitor.visitRootNode(AbstractVisitor.java:458) at org.jrubyparser.ast.RootNode.accept(RootNode.java:84) at com.aptana.editor.ruby.formatter.internal.RubyFormatterNodeBuilder.build(RubyFormatterNodeBuilder.java:35) at com.aptana.editor.ruby.formatter.RubyFormatter.format(RubyFormatter.java:316) at com.aptana.editor.ruby.formatter.RubyFormatter.format(RubyFormatter.java:216) at com.aptana.formatter.ui.preferences.FormatterPreviewUtils.updatePreview(FormatterPreviewUtils.java:79) at com.aptana.formatter.ui.preferences.FormatterModifyTabPage.updatePreview(FormatterModifyTabPage.java:189) at com.aptana.formatter.ui.preferences.FormatterModifyDialog.statusChanged(FormatterModifyDialog.java:229) at com.aptana.formatter.ui.preferences.FormatterControlManager.initialize(FormatterControlManager.java:276) at com.aptana.formatter.ui.preferences.FormatterModifyDialog.createDialogArea(FormatterModifyDialog.java:194) at org.eclipse.jface.dialogs.Dialog.createContents(Dialog.java:760) at org.eclipse.jface.window.Window.create(Window.java:431) at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1089) at org.eclipse.jface.dialogs.StatusDialog.create(StatusDialog.java:203) at org.eclipse.jface.window.Window.open(Window.java:790) at com.aptana.formatter.ui.preferences.AbstractFormatterSelectionBlock.editButtonPressed(AbstractFormatterSelectionBlock.java:724) at com.aptana.formatter.ui.preferences.AbstractFormatterSelectionBlock$7.widgetSelected(AbstractFormatterSelectionBlock.java:376) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:3776) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1367) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1390) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1375) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1187) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3622) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3277) at org.eclipse.jface.window.Window.runEventLoop(Window.java:825) at org.eclipse.jface.window.Window.open(Window.java:801) at org.eclipse.ui.internal.dialogs.WorkbenchPreferenceDialog.open(WorkbenchPreferenceDialog.java:211) at org.eclipse.ui.internal.OpenPreferencesAction.run(OpenPreferencesAction.java:65) at org.eclipse.ui.internal.cocoa.CocoaUIEnhancer.runAction(CocoaUIEnhancer.java:416) at org.eclipse.ui.internal.cocoa.CocoaUIEnhancer.preferencesMenuItemSelected(CocoaUIEnhancer.java:516) at org.eclipse.ui.internal.cocoa.CocoaUIEnhancer.actionProc(CocoaUIEnhancer.java:538) at org.eclipse.ui.internal.cocoa.CocoaUIEnhancer.actionProc(CocoaUIEnhancer.java:524) at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method) at org.eclipse.swt.widgets.Display.applicationSendEvent(Display.java:4582) at org.eclipse.swt.widgets.Display.applicationProc(Display.java:4659) at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method) at org.eclipse.swt.internal.cocoa.NSApplication.sendEvent(NSApplication.java:115) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3274) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at com.aptana.rcp.IDEApplication.start(IDEApplication.java:125) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) 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:369) 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:619) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574) at org.eclipse.equinox.launcher.Main.run(Main.java:1407) at org.eclipse.equinox.launcher.Main.main(Main.java:1383)

    Appcelerator JIRA | 5 years ago | Allen Yeung
    java.lang.IllegalStateException

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      No message provided

      at com.aptana.formatter.nodes.AbstractFormatterNodeBuilder.checkedPop()
    2. com.aptana.formatter
      AbstractFormatterNodeBuilder.checkedPop
      1. com.aptana.formatter.nodes.AbstractFormatterNodeBuilder.checkedPop(AbstractFormatterNodeBuilder.java:156)
      1 frame
    3. com.aptana.editor
      RubyFormatter.format
      1. com.aptana.editor.ruby.formatter.internal.RubyFormatterNodeBuilder.build(RubyFormatterNodeBuilder.java:35)
      2. com.aptana.editor.ruby.formatter.RubyFormatter.format(RubyFormatter.java:313)
      3. com.aptana.editor.ruby.formatter.RubyFormatter.format(RubyFormatter.java:213)
      3 frames
    4. com.aptana.formatter
      ScriptFormattingStrategy$1.run
      1. com.aptana.formatter.ScriptFormattingStrategy.doFormat(ScriptFormattingStrategy.java:184)
      2. com.aptana.formatter.ScriptFormattingStrategy$1.run(ScriptFormattingStrategy.java:114)
      2 frames
    5. RWT
      BusyIndicator.showWhile
      1. org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
      1 frame
    6. com.aptana.formatter
      ScriptFormattingStrategy.format
      1. com.aptana.formatter.ScriptFormattingStrategy.format(ScriptFormattingStrategy.java:110)
      1 frame
    7. JFace Text
      ProjectionViewer.doOperation
      1. org.eclipse.jface.text.formatter.MultiPassContentFormatter.formatMaster(MultiPassContentFormatter.java:193)
      2. org.eclipse.jface.text.formatter.MultiPassContentFormatter.format(MultiPassContentFormatter.java:142)
      3. org.eclipse.jface.text.source.SourceViewer.doOperation(SourceViewer.java:966)
      4. org.eclipse.jface.text.source.projection.ProjectionViewer.doOperation(ProjectionViewer.java:1534)
      4 frames
    8. Text Editor Framework
      TextOperationAction$1.run
      1. org.eclipse.ui.texteditor.TextOperationAction$1.run(TextOperationAction.java:131)
      1 frame
    9. RWT
      BusyIndicator.showWhile
      1. org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
      1 frame
    10. Text Editor Framework
      TextOperationAction.run
      1. org.eclipse.ui.texteditor.TextOperationAction.run(TextOperationAction.java:129)
      1 frame
    11. JFace
      Action.runWithEvent
      1. org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
      1 frame
    12. Workbench
      LegacyHandlerWrapper.execute
      1. org.eclipse.ui.commands.ActionHandler.execute(ActionHandler.java:185)
      2. org.eclipse.ui.internal.handlers.LegacyHandlerWrapper.execute(LegacyHandlerWrapper.java:109)
      2 frames
    13. Commands
      ParameterizedCommand.executeWithChecks
      1. org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
      2. org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
      2 frames
    14. Workbench
      WorkbenchKeyboard$KeyDownFilter.handleEvent
      1. org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
      2. org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:468)
      3. org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:786)
      4. org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:885)
      5. org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:567)
      6. org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:508)
      7. org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:123)
      7 frames
    15. RWT
      Display.windowProc
      1. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      2. org.eclipse.swt.widgets.Display.filterEvent(Display.java:1253)
      3. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052)
      4. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
      5. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062)
      6. org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1103)
      7. org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1099)
      8. org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1508)
      9. org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:4270)
      10. org.eclipse.swt.widgets.Canvas.WM_CHAR(Canvas.java:345)
      11. org.eclipse.swt.widgets.Control.windowProc(Control.java:4162)
      12. org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341)
      13. org.eclipse.swt.widgets.Display.windowProc(Display.java:4873)
      13 frames
    16. org.eclipse.swt
      OS.CallWindowProc
      1. org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
      2. org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:2362)
      2 frames
    17. RWT
      BidiUtil.windowProc
      1. org.eclipse.swt.internal.BidiUtil.windowProc(BidiUtil.java:639)
      1 frame
    18. org.eclipse.swt
      OS.DispatchMessage
      1. org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
      2. org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2459)
      2 frames
    19. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3655)
      1 frame
    20. Eclipse UI
      Workbench$7.run
      1. org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
      2. org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
      3. org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
      4. org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
      4 frames
    21. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      1 frame
    22. Eclipse UI
      Workbench.createAndRunWorkbench
      1. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
      1 frame
    23. Eclipse UI
      PlatformUI.createAndRunWorkbench
      1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
      1 frame
    24. com.appcelerator.titanium
      IDEApplication.start
      1. com.appcelerator.titanium.rcp.IDEApplication.start(IDEApplication.java:125)
      1 frame
    25. Equinox Container
      EclipseAppHandle.run
      1. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      1 frame
    26. Eclipse OSGi
      EclipseStarter.run
      1. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
      2. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
      3. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
      4. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
      4 frames
    27. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    28. Equinox
      Main.basicRun
      1. org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
      2. org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
      2 frames