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

Unhandled exception when opening HTML files

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: Aptana Studio 3.0.3, Aptana Studio 3.0.4
    • Fix Version/s: Aptana Studio 3.0.7
    • Component/s: Editor, HTML
    • Labels:
    • Environment:

      Linux 32-bit, Aptana Plugin.
      Other installed plugins are Egit and Mylyn (with Redmine Connector and Egit bridge).

      Description

      When focusing on an HTML file (.html extension) in the editor, I get this error:

      "An error has occurred. See error log for more details.
      org/apache/http/nio/reactor/IOReactorException"

      I can still work on the file, once the popup has been dismissed, so the priority might be reclassified as "low", but I suspect this issue is related to a much more severe one (see after the log).

      The relevant part of the log is as follows:
      {{
      !ENTRY org.eclipse.ui.workbench 4 2 2011-08-22 16:22:53.090
      !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".
      !STACK 0
      java.lang.NoClassDefFoundError: org/apache/http/nio/reactor/IOReactorException
      at com.aptana.webserver.core.WebServerCorePlugin.ensureDefaultWebServer(WebServerCorePlugin.java:123)
      at com.aptana.webserver.core.WebServerCorePlugin.getDefaultWebServerConfiguration(WebServerCorePlugin.java:113)
      at com.aptana.preview.internal.DefaultPreviewHandler.handle(DefaultPreviewHandler.java:69)
      at com.aptana.preview.PreviewManager.testEditorInputForPreview(PreviewManager.java:268)
      at com.aptana.preview.internal.HasPreviewPropertyTester.test(HasPreviewPropertyTester.java:20)
      at org.eclipse.core.internal.expressions.Property.test(Property.java:58)
      at org.eclipse.core.internal.expressions.TestExpression.evaluate(TestExpression.java:99)
      at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53)
      at org.eclipse.core.internal.expressions.WithExpression.evaluate(WithExpression.java:72)
      at org.eclipse.ui.internal.services.EvaluationResultCache.evaluate(EvaluationResultCache.java:74)
      at org.eclipse.ui.internal.services.ExpressionAuthority.evaluate(ExpressionAuthority.java:165)
      at org.eclipse.ui.internal.services.EvaluationAuthority.refsWithSameExpression(EvaluationAuthority.java:155)
      at org.eclipse.ui.internal.services.EvaluationAuthority.sourceChanged(EvaluationAuthority.java:129)
      at org.eclipse.ui.internal.services.ExpressionAuthority.sourceChanged(ExpressionAuthority.java:311)
      at org.eclipse.ui.internal.services.ExpressionAuthority.sourceChanged(ExpressionAuthority.java:290)
      at org.eclipse.ui.AbstractSourceProvider.fireSourceChanged(AbstractSourceProvider.java:99)
      at org.eclipse.ui.internal.services.WorkbenchSourceProvider.checkActivePart(WorkbenchSourceProvider.java:401)
      at org.eclipse.ui.internal.services.WorkbenchSourceProvider.checkActivePart(WorkbenchSourceProvider.java:300)
      at org.eclipse.ui.internal.services.WorkbenchSourceProvider$1.partBroughtToTop(WorkbenchSourceProvider.java:239)
      at org.eclipse.ui.internal.PartListenerList$2.run(PartListenerList.java:87)
      at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      at org.eclipse.core.runtime.Platform.run(Platform.java:888)
      at org.eclipse.ui.internal.PartListenerList.fireEvent(PartListenerList.java:57)
      at org.eclipse.ui.internal.PartListenerList.firePartBroughtToTop(PartListenerList.java:85)
      at org.eclipse.ui.internal.PartService.firePartBroughtToTop(PartService.java:208)
      at org.eclipse.ui.internal.WWinPartService$WWinListener.partBroughtToTop(WWinPartService.java:42)
      at org.eclipse.ui.internal.PartListenerList2$2.run(PartListenerList2.java:85)
      at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      at org.eclipse.core.runtime.Platform.run(Platform.java:888)
      at org.eclipse.ui.internal.PartListenerList2.fireEvent(PartListenerList2.java:55)
      at org.eclipse.ui.internal.PartListenerList2.firePartBroughtToTop(PartListenerList2.java:83)
      at org.eclipse.ui.internal.PartService.firePartBroughtToTop(PartService.java:212)
      at org.eclipse.ui.internal.WorkbenchPagePartList.firePartBroughtToTop(WorkbenchPagePartList.java:76)
      at org.eclipse.ui.internal.WorkbenchPagePartList.fireActiveEditorChanged(WorkbenchPagePartList.java:52)
      at org.eclipse.ui.internal.PartList.setActiveEditor(PartList.java:162)
      at org.eclipse.ui.internal.WorkbenchPage.makeActiveEditor(WorkbenchPage.java:1281)
      at org.eclipse.ui.internal.WorkbenchPage.setActivePart(WorkbenchPage.java:3530)
      at org.eclipse.ui.internal.WorkbenchPage.requestActivation(WorkbenchPage.java:3077)
      at org.eclipse.ui.internal.PartPane.requestActivation(PartPane.java:279)
      at org.eclipse.ui.internal.EditorPane.requestActivation(EditorPane.java:98)
      at org.eclipse.ui.internal.PartPane.setFocus(PartPane.java:325)
      at org.eclipse.ui.internal.EditorPane.setFocus(EditorPane.java:127)
      at org.eclipse.ui.internal.PartStack.presentationSelectionChanged(PartStack.java:844)
      at org.eclipse.ui.internal.PartStack.access$1(PartStack.java:827)
      at org.eclipse.ui.internal.PartStack$1.selectPart(PartStack.java:137)
      at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation$1.handleEvent(TabbedStackPresentation.java:133)
      at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:269)
      at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:278)
      at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder.access$1(DefaultTabFolder.java:1)
      at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder$2.handleEvent(DefaultTabFolder.java:88)
      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1282)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1267)
      at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1061)
      at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:2743)
      at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:1429)
      at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:257)
      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
      at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3540)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3161)
      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 org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
      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:620)
      at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
      at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
      Caused by: java.lang.ClassNotFoundException: org.apache.http.nio.reactor.IOReactorException
      at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:506)
      at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
      at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
      at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
      ... 82 more

      !ENTRY org.eclipse.ui.workbench 4 2 2011-08-22 16:22:53.191
      !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".
      !STACK 0
      java.lang.NoClassDefFoundError: org/apache/http/nio/reactor/IOReactorException
      at com.aptana.webserver.core.WebServerCorePlugin.ensureDefaultWebServer(WebServerCorePlugin.java:123)
      at com.aptana.webserver.core.WebServerCorePlugin.getDefaultWebServerConfiguration(WebServerCorePlugin.java:113)
      at com.aptana.preview.internal.DefaultPreviewHandler.handle(DefaultPreviewHandler.java:69)
      at com.aptana.preview.PreviewManager.testEditorInputForPreview(PreviewManager.java:268)
      at com.aptana.preview.internal.HasPreviewPropertyTester.test(HasPreviewPropertyTester.java:20)
      at org.eclipse.core.internal.expressions.Property.test(Property.java:58)
      at org.eclipse.core.internal.expressions.TestExpression.evaluate(TestExpression.java:99)
      at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53)
      at org.eclipse.core.internal.expressions.WithExpression.evaluate(WithExpression.java:72)
      at org.eclipse.ui.internal.services.EvaluationResultCache.evaluate(EvaluationResultCache.java:74)
      at org.eclipse.ui.internal.services.ExpressionAuthority.evaluate(ExpressionAuthority.java:165)
      at org.eclipse.ui.internal.services.EvaluationAuthority.refsWithSameExpression(EvaluationAuthority.java:153)
      at org.eclipse.ui.internal.services.EvaluationAuthority.sourceChanged(EvaluationAuthority.java:129)
      at org.eclipse.ui.internal.services.ExpressionAuthority.sourceChanged(ExpressionAuthority.java:311)
      at org.eclipse.ui.internal.services.ExpressionAuthority.sourceChanged(ExpressionAuthority.java:290)
      at org.eclipse.ui.AbstractSourceProvider.fireSourceChanged(AbstractSourceProvider.java:99)
      at org.eclipse.ui.internal.services.WorkbenchSourceProvider.checkActivePart(WorkbenchSourceProvider.java:401)
      at org.eclipse.ui.internal.services.WorkbenchSourceProvider.checkActivePart(WorkbenchSourceProvider.java:300)
      at org.eclipse.ui.internal.services.WorkbenchSourceProvider$1.partDeactivated(WorkbenchSourceProvider.java:247)
      at org.eclipse.ui.internal.PartListenerList$4.run(PartListenerList.java:117)
      at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      at org.eclipse.core.runtime.Platform.run(Platform.java:888)
      at org.eclipse.ui.internal.PartListenerList.fireEvent(PartListenerList.java:57)
      at org.eclipse.ui.internal.PartListenerList.firePartDeactivated(PartListenerList.java:115)
      at org.eclipse.ui.internal.PartService.firePartDeactivated(PartService.java:238)
      at org.eclipse.ui.internal.PartService.setActivePart(PartService.java:300)
      at org.eclipse.ui.internal.WWinPartService.updateActivePart(WWinPartService.java:134)
      at org.eclipse.ui.internal.WWinPartService.access$0(WWinPartService.java:125)
      at org.eclipse.ui.internal.WWinPartService$WWinListener.partDeactivated(WWinPartService.java:50)
      at org.eclipse.ui.internal.PartListenerList2$4.run(PartListenerList2.java:115)
      at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      at org.eclipse.core.runtime.Platform.run(Platform.java:888)
      at org.eclipse.ui.internal.PartListenerList2.fireEvent(PartListenerList2.java:55)
      at org.eclipse.ui.internal.PartListenerList2.firePartDeactivated(PartListenerList2.java:113)
      at org.eclipse.ui.internal.PartService.firePartDeactivated(PartService.java:242)
      at org.eclipse.ui.internal.PartService.setActivePart(PartService.java:300)
      at org.eclipse.ui.internal.WorkbenchPagePartList.fireActivePartChanged(WorkbenchPagePartList.java:57)
      at org.eclipse.ui.internal.PartList.setActivePart(PartList.java:136)
      at org.eclipse.ui.internal.WorkbenchPage.setActivePart(WorkbenchPage.java:3537)
      at org.eclipse.ui.internal.WorkbenchPage.requestActivation(WorkbenchPage.java:3077)
      at org.eclipse.ui.internal.PartPane.requestActivation(PartPane.java:279)
      at org.eclipse.ui.internal.EditorPane.requestActivation(EditorPane.java:98)
      at org.eclipse.ui.internal.PartPane.setFocus(PartPane.java:325)
      at org.eclipse.ui.internal.EditorPane.setFocus(EditorPane.java:127)
      at org.eclipse.ui.internal.PartStack.presentationSelectionChanged(PartStack.java:844)
      at org.eclipse.ui.internal.PartStack.access$1(PartStack.java:827)
      at org.eclipse.ui.internal.PartStack$1.selectPart(PartStack.java:137)
      at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation$1.handleEvent(TabbedStackPresentation.java:133)
      at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:269)
      at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:278)
      at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder.access$1(DefaultTabFolder.java:1)
      at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder$2.handleEvent(DefaultTabFolder.java:88)
      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1282)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1267)
      at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1061)
      at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:2743)
      at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:1429)
      at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:257)
      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
      at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3540)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3161)
      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 org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
      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:620)
      at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
      at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
      Caused by: java.lang.ClassNotFoundException: org.apache.http.nio.reactor.IOReactorException
      at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:506)
      at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
      at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
      at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
      ... 84 more

      !ENTRY org.eclipse.ui 4 0 2011-08-22 16:22:53.242
      !MESSAGE Unhandled event loop exception
      !STACK 0
      java.lang.NoClassDefFoundError: org/apache/http/nio/reactor/IOReactorException
      at com.aptana.webserver.core.WebServerCorePlugin.ensureDefaultWebServer(WebServerCorePlugin.java:123)
      at com.aptana.webserver.core.WebServerCorePlugin.getDefaultWebServerConfiguration(WebServerCorePlugin.java:113)
      at com.aptana.preview.internal.DefaultPreviewHandler.handle(DefaultPreviewHandler.java:69)
      at com.aptana.preview.PreviewManager.testEditorInputForPreview(PreviewManager.java:268)
      at com.aptana.preview.internal.HasPreviewPropertyTester.test(HasPreviewPropertyTester.java:20)
      at org.eclipse.core.internal.expressions.Property.test(Property.java:58)
      at org.eclipse.core.internal.expressions.TestExpression.evaluate(TestExpression.java:99)
      at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53)
      at org.eclipse.core.internal.expressions.WithExpression.evaluate(WithExpression.java:72)
      at org.eclipse.ui.internal.services.EvaluationResultCache.evaluate(EvaluationResultCache.java:74)
      at org.eclipse.ui.internal.services.ExpressionAuthority.evaluate(ExpressionAuthority.java:165)
      at org.eclipse.ui.internal.services.EvaluationAuthority.refsWithSameExpression(EvaluationAuthority.java:155)
      at org.eclipse.ui.internal.services.EvaluationAuthority.sourceChanged(EvaluationAuthority.java:129)
      at org.eclipse.ui.internal.services.ExpressionAuthority.sourceChanged(ExpressionAuthority.java:311)
      at org.eclipse.ui.internal.services.ExpressionAuthority.sourceChanged(ExpressionAuthority.java:290)
      at org.eclipse.ui.AbstractSourceProvider.fireSourceChanged(AbstractSourceProvider.java:99)
      at org.eclipse.ui.internal.services.WorkbenchSourceProvider.checkActivePart(WorkbenchSourceProvider.java:401)
      at org.eclipse.ui.internal.services.WorkbenchSourceProvider.checkActivePart(WorkbenchSourceProvider.java:300)
      at org.eclipse.ui.internal.services.WorkbenchSourceProvider.handleCheck(WorkbenchSourceProvider.java:286)
      at org.eclipse.ui.internal.services.WorkbenchSourceProvider.checkOtherSources(WorkbenchSourceProvider.java:858)
      at org.eclipse.ui.internal.services.WorkbenchSourceProvider$6.handleEvent(WorkbenchSourceProvider.java:842)
      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1524)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1257)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1282)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1263)
      at org.eclipse.swt.widgets.Shell.filterProc(Shell.java:730)
      at org.eclipse.swt.widgets.Display.filterProc(Display.java:1536)
      at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)
      at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:2237)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3159)
      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 org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
      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:620)
      at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
      at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
      Caused by: java.lang.ClassNotFoundException: org.apache.http.nio.reactor.IOReactorException
      at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:506)
      at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
      at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
      at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
      ... 51 more

      !ENTRY org.eclipse.ui 4 0 2011-08-22 16:22:55.124
      !MESSAGE Unhandled event loop exception
      !STACK 0
      java.lang.NoClassDefFoundError: org/apache/http/nio/reactor/IOReactorException
      at com.aptana.webserver.core.WebServerCorePlugin.ensureDefaultWebServer(WebServerCorePlugin.java:123)
      at com.aptana.webserver.core.WebServerCorePlugin.getDefaultWebServerConfiguration(WebServerCorePlugin.java:113)
      at com.aptana.preview.internal.DefaultPreviewHandler.handle(DefaultPreviewHandler.java:69)
      at com.aptana.preview.PreviewManager.testEditorInputForPreview(PreviewManager.java:268)
      at com.aptana.preview.internal.HasPreviewPropertyTester.test(HasPreviewPropertyTester.java:20)
      at org.eclipse.core.internal.expressions.Property.test(Property.java:58)
      at org.eclipse.core.internal.expressions.TestExpression.evaluate(TestExpression.java:99)
      at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53)
      at org.eclipse.core.internal.expressions.WithExpression.evaluate(WithExpression.java:72)
      at org.eclipse.ui.internal.services.EvaluationResultCache.evaluate(EvaluationResultCache.java:74)
      at org.eclipse.ui.internal.services.ExpressionAuthority.evaluate(ExpressionAuthority.java:165)
      at org.eclipse.ui.internal.services.EvaluationAuthority.refsWithSameExpression(EvaluationAuthority.java:155)
      at org.eclipse.ui.internal.services.EvaluationAuthority.sourceChanged(EvaluationAuthority.java:129)
      at org.eclipse.ui.internal.services.ExpressionAuthority.sourceChanged(ExpressionAuthority.java:311)
      at org.eclipse.ui.internal.services.ExpressionAuthority.sourceChanged(ExpressionAuthority.java:290)
      at org.eclipse.ui.AbstractSourceProvider.fireSourceChanged(AbstractSourceProvider.java:99)
      at org.eclipse.ui.internal.services.WorkbenchSourceProvider.checkActivePart(WorkbenchSourceProvider.java:401)
      at org.eclipse.ui.internal.services.WorkbenchSourceProvider.checkActivePart(WorkbenchSourceProvider.java:300)
      at org.eclipse.ui.internal.services.WorkbenchSourceProvider.handleCheck(WorkbenchSourceProvider.java:286)
      at org.eclipse.ui.internal.services.WorkbenchSourceProvider.checkOtherSources(WorkbenchSourceProvider.java:858)
      at org.eclipse.ui.internal.services.WorkbenchSourceProvider$6.handleEvent(WorkbenchSourceProvider.java:842)
      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1524)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1257)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1282)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1263)
      at org.eclipse.swt.widgets.Shell.filterProc(Shell.java:730)
      at org.eclipse.swt.widgets.Display.filterProc(Display.java:1536)
      at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)
      at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:2237)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3159)
      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 org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
      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:620)
      at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
      at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
      Caused by: java.lang.ClassNotFoundException: org.apache.http.nio.reactor.IOReactorException
      at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:506)
      at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
      at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
      at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
      ... 51 more
      }}

      Other points of interests:

      • The files are part of a PyDev/Django project;
      • The default editor for HTML files is Aptana's, but Eclipse is setup to use PyDev's Django Templates Editor for files with a .djhtml extension
      • If I change the file's extension to .djhtml the error no longer appears; changing the editor to PyDev's DTE has no effect.

      This problem might also cause a separate, severe malfunction when opening Eclipse, by creating an uncloseable blank (ie. no text or buttons and no way to close it, accompanied by a full crash of Eclipse), but as of now I cannot test the situation - I'll update the issue if I can confirm that it is related to this.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mstepanov Max Stepanov
                Reporter:
                pgcd Paolo Dente
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code