Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Aptana Studio 3.0 (Final)
    • Component/s: None
    • Labels:
      None

      Description

      {html}<div><p>Aptana Studio 3 Beta, build: 3.0.0.201103121635<br>
      Build date: 12 March 2011, 16:36:39<br>
      OS: Mac OS X 10.6.6</p>
      <p>Steps to reproduce:<br>
      1. Open a file with the HTML or XML editor.<br>
      2. The user is presented with the following exception:</p>
      <p><code>Could not open the editor: An unexpected exception was
      thrown.</code></p>
      <pre>
      <code>java.lang.NullPointerException
      at com.aptana.editor.common.text.rules.ThemeingDamagerRepairer.getTokenTextAttribute(ThemeingDamagerRepairer.java:86)
      at org.eclipse.jface.text.rules.DefaultDamagerRepairer.createPresentation(DefaultDamagerRepairer.java:179)
      at com.aptana.editor.common.text.rules.ThemeingDamagerRepairer.createPresentation(ThemeingDamagerRepairer.java:54)
      at org.eclipse.jface.text.presentation.PresentationReconciler.createPresentation(PresentationReconciler.java:453)
      at org.eclipse.jface.text.presentation.PresentationReconciler.processDamage(PresentationReconciler.java:566)
      at org.eclipse.jface.text.presentation.PresentationReconciler.access$3(PresentationReconciler.java:564)
      at org.eclipse.jface.text.presentation.PresentationReconciler$InternalListener.inputDocumentChanged(PresentationReconciler.java:119)
      at org.eclipse.jface.text.TextViewer.fireInputDocumentChanged(TextViewer.java:2884)
      at org.eclipse.jface.text.TextViewer.setDocument(TextViewer.java:2933)
      at org.eclipse.jface.text.source.SourceViewer.setDocument(SourceViewer.java:629)
      at org.eclipse.jface.text.source.projection.ProjectionViewer.setDocument(ProjectionViewer.java:376)
      at org.eclipse.jface.text.source.SourceViewer.setDocument(SourceViewer.java:584)
      at org.eclipse.ui.texteditor.AbstractTextEditor.initializeSourceViewer(AbstractTextEditor.java:3873)
      at org.eclipse.ui.texteditor.AbstractTextEditor.createPartControl(AbstractTextEditor.java:3401)
      at org.eclipse.ui.texteditor.StatusTextEditor.createPartControl(StatusTextEditor.java:53)
      at org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.createPartControl(AbstractDecoratedTextEditor.java:432)
      at com.aptana.editor.common.internal.AbstractFoldingEditor.createPartControl(AbstractFoldingEditor.java:48)
      at com.aptana.editor.common.AbstractThemeableEditor.createPartControl(AbstractThemeableEditor.java:218)
      at com.aptana.editor.html.HTMLEditor.createPartControl(HTMLEditor.java:104)
      at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:670)
      at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:465)
      at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
      at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:289)
      at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2863)
      at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2768)
      at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2760)
      at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2711)
      at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
      at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2707)
      at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2691)
      at org.eclipse.ui.actions.OpenWithMenu.openEditor(OpenWithMenu.java:331)
      at org.eclipse.ui.actions.OpenWithMenu$2.handleEvent(OpenWithMenu.java:179)
      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.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)</code>
      </pre></div>{html}

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Git Source Code