- This topic has 5 replies, 2 voices, and was last updated 18 years, 1 month ago by Brian Fernandes.
-
AuthorPosts
-
David CloutierParticipantHi,
I have just installed MyEclipse 5.1.0 and I am receiving the following error while trying to open XML files: “An error occured. See error log for more details.” The file opens, but I get the message when I save or close the files also.I did not have this problem with MyEclipse 5.0.1.
I’m running on a Windows 2000 PC with Eclipse 3.2.
Is this a known bug? Where can I get the “logs” the message is talking about?
Thanks.
Brian FernandesModeratorHi,
Detailed instructions on how to obtain the log and further questions are available in this post: Posting Guidelines
Once you answer those questions, we can start tracking this down – did you upgrade to 5.1 from 5.0.1 or is this a clean install?
David CloutierParticipantit was an upgrade. I’ll check the guidelines and re-post later
David CloutierParticipantThe last entry in my log says that the file is readonly… which it was, I changed it to make it writable, and I no longer get the error.
I don’t think you should get a vague error popup when a file is read-only, maybe you should fix this.
thanks.
David CloutierParticipantI got a similar error (same message) when opening a .java which is not read-only. My logs say:
!ENTRY org.eclipse.osgi 4 0 2006-11-23 11:39:28.765
!MESSAGE An error occurred while automatically activating bundle org.eclipse.jst.jsf.core (717).
!STACK 0
org.osgi.framework.BundleException: Exception in org.eclipse.jst.jsf.core.internal.JSFCorePlugin.start() of bundle org.eclipse.jst.jsf.core.
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:1014)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:970)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:317)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:256)
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.preFindLocalClass(EclipseLazyStarter.java:86)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:409)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:188)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:339)
at org.eclipse.osgi.framework.internal.core.SingleSourcePackage.loadClass(SingleSourcePackage.java:37)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:388)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:352)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at org.eclipse.jst.jsf.designtime.internal.jsp.StartupHandler$JSPEditorListener.isValidJSPEditor(StartupHandler.java:171)
at org.eclipse.jst.jsf.designtime.internal.jsp.StartupHandler$JSPEditorListener.isValidJSPEditor(StartupHandler.java:180)
at org.eclipse.jst.jsf.designtime.internal.jsp.StartupHandler$JSPEditorListener.partClosed(StartupHandler.java:112)
at org.eclipse.ui.internal.PartListenerList2$3.run(PartListenerList2.java:98)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:843)
at org.eclipse.ui.internal.PartListenerList2.fireEvent(PartListenerList2.java:53)
at org.eclipse.ui.internal.PartListenerList2.firePartClosed(PartListenerList2.java:96)
at org.eclipse.ui.internal.PartService.firePartClosed(PartService.java:103)
at org.eclipse.ui.internal.WWinPartService$1.partClosed(WWinPartService.java:44)
at org.eclipse.ui.internal.PartListenerList2$3.run(PartListenerList2.java:98)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:843)
at org.eclipse.ui.internal.PartListenerList2.fireEvent(PartListenerList2.java:53)
at org.eclipse.ui.internal.PartListenerList2.firePartClosed(PartListenerList2.java:96)
at org.eclipse.ui.internal.PartService.firePartClosed(PartService.java:103)
at org.eclipse.ui.internal.WorkbenchPagePartList.firePartClosed(WorkbenchPagePartList.java:38)
at org.eclipse.ui.internal.PartList.partClosed(PartList.java:255)
at org.eclipse.ui.internal.PartList.removePart(PartList.java:176)
at org.eclipse.ui.internal.WorkbenchPage.disposePart(WorkbenchPage.java:1540)
at org.eclipse.ui.internal.WorkbenchPage.handleDeferredEvents(WorkbenchPage.java:1311)
at org.eclipse.ui.internal.WorkbenchPage.deferUpdates(WorkbenchPage.java:1295)
at org.eclipse.ui.internal.WorkbenchPage.closeEditors(WorkbenchPage.java:1269)
at org.eclipse.ui.internal.WorkbenchPage.closeEditor(WorkbenchPage.java:1324)
at org.eclipse.ui.internal.EditorPane.doHide(EditorPane.java:54)
at org.eclipse.ui.internal.PartStack.close(PartStack.java:499)
at org.eclipse.ui.internal.EditorStack.close(EditorStack.java:205)
at org.eclipse.ui.internal.PartStack$1.close(PartStack.java:106)
at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation$1.handleEvent(TabbedStackPresentation.java:81)
at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:267)
at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:276)
at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder.access$1(DefaultTabFolder.java:1)
at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder$1.closeButtonPressed(DefaultTabFolder.java:67)
at org.eclipse.ui.internal.presentations.PaneFolder.notifyCloseListeners(PaneFolder.java:580)
at org.eclipse.ui.internal.presentations.PaneFolder$3.close(PaneFolder.java:187)
at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:2107)
at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:292)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
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:585)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
Caused by: java.lang.LinkageError: loader constraints violated when linking org/eclipse/emf/common/util/URI class
at org.eclipse.jst.jsf.core.internal.JSFCorePlugin.loadJSFLibraryRegistry(JSFCorePlugin.java:124)
at org.eclipse.jst.jsf.core.internal.JSFCorePlugin.start(JSFCorePlugin.java:87)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:995)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:989)
… 72 more
Root exception:
java.lang.LinkageError: loader constraints violated when linking org/eclipse/emf/common/util/URI class
at org.eclipse.jst.jsf.core.internal.JSFCorePlugin.loadJSFLibraryRegistry(JSFCorePlugin.java:124)
at org.eclipse.jst.jsf.core.internal.JSFCorePlugin.start(JSFCorePlugin.java:87)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:995)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:989)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:970)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:317)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:256)
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.preFindLocalClass(EclipseLazyStarter.java:86)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:409)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:188)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:339)
at org.eclipse.osgi.framework.internal.core.SingleSourcePackage.loadClass(SingleSourcePackage.java:37)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:388)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:352)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at org.eclipse.jst.jsf.designtime.internal.jsp.StartupHandler$JSPEditorListener.isValidJSPEditor(StartupHandler.java:171)
at org.eclipse.jst.jsf.designtime.internal.jsp.StartupHandler$JSPEditorListener.isValidJSPEditor(StartupHandler.java:180)
at org.eclipse.jst.jsf.designtime.internal.jsp.StartupHandler$JSPEditorListener.partClosed(StartupHandler.java:112)
at org.eclipse.ui.internal.PartListenerList2$3.run(PartListenerList2.java:98)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:843)
at org.eclipse.ui.internal.PartListenerList2.fireEvent(PartListenerList2.java:53)
at org.eclipse.ui.internal.PartListenerList2.firePartClosed(PartListenerList2.java:96)
at org.eclipse.ui.internal.PartService.firePartClosed(PartService.java:103)
at org.eclipse.ui.internal.WWinPartService$1.partClosed(WWinPartService.java:44)
at org.eclipse.ui.internal.PartListenerList2$3.run(PartListenerList2.java:98)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:843)
at org.eclipse.ui.internal.PartListenerList2.fireEvent(PartListenerList2.java:53)
at org.eclipse.ui.internal.PartListenerList2.firePartClosed(PartListenerList2.java:96)
at org.eclipse.ui.internal.PartService.firePartClosed(PartService.java:103)
at org.eclipse.ui.internal.WorkbenchPagePartList.firePartClosed(WorkbenchPagePartList.java:38)
at org.eclipse.ui.internal.PartList.partClosed(PartList.java:255)
at org.eclipse.ui.internal.PartList.removePart(PartList.java:176)
at org.eclipse.ui.internal.WorkbenchPage.disposePart(WorkbenchPage.java:1540)
at org.eclipse.ui.internal.WorkbenchPage.handleDeferredEvents(WorkbenchPage.java:1311)
at org.eclipse.ui.internal.WorkbenchPage.deferUpdates(WorkbenchPage.java:1295)
at org.eclipse.ui.internal.WorkbenchPage.closeEditors(WorkbenchPage.java:1269)
at org.eclipse.ui.internal.WorkbenchPage.closeEditor(WorkbenchPage.java:1324)
at org.eclipse.ui.internal.EditorPane.doHide(EditorPane.java:54)
at org.eclipse.ui.internal.PartStack.close(PartStack.java:499)
at org.eclipse.ui.internal.EditorStack.close(EditorStack.java:205)
at org.eclipse.ui.internal.PartStack$1.close(PartStack.java:106)
at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation$1.handleEvent(TabbedStackPresentation.java:81)
at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:267)
at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:276)
at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder.access$1(DefaultTabFolder.java:1)
at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder$1.closeButtonPressed(DefaultTabFolder.java:67)
at org.eclipse.ui.internal.presentations.PaneFolder.notifyCloseListeners(PaneFolder.java:580)
at org.eclipse.ui.internal.presentations.PaneFolder$3.close(PaneFolder.java:187)
at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:2107)
at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:292)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
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:585)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)!ENTRY org.eclipse.ui.workbench 4 2 2006-11-23 11:39:28.765
!MESSAGE Problems occurred when invoking code from plug-in: “org.eclipse.ui.workbench”.
!STACK 0
java.lang.NoClassDefFoundError: org/eclipse/jst/jsf/core/internal/provisional/jsfappconfig/JSFAppConfigUtils
at org.eclipse.jst.jsf.designtime.internal.jsp.StartupHandler$JSPEditorListener.isValidJSPEditor(StartupHandler.java:171)
at org.eclipse.jst.jsf.designtime.internal.jsp.StartupHandler$JSPEditorListener.isValidJSPEditor(StartupHandler.java:180)
at org.eclipse.jst.jsf.designtime.internal.jsp.StartupHandler$JSPEditorListener.partClosed(StartupHandler.java:112)
at org.eclipse.ui.internal.PartListenerList2$3.run(PartListenerList2.java:98)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:843)
at org.eclipse.ui.internal.PartListenerList2.fireEvent(PartListenerList2.java:53)
at org.eclipse.ui.internal.PartListenerList2.firePartClosed(PartListenerList2.java:96)
at org.eclipse.ui.internal.PartService.firePartClosed(PartService.java:103)
at org.eclipse.ui.internal.WWinPartService$1.partClosed(WWinPartService.java:44)
at org.eclipse.ui.internal.PartListenerList2$3.run(PartListenerList2.java:98)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:843)
at org.eclipse.ui.internal.PartListenerList2.fireEvent(PartListenerList2.java:53)
at org.eclipse.ui.internal.PartListenerList2.firePartClosed(PartListenerList2.java:96)
at org.eclipse.ui.internal.PartService.firePartClosed(PartService.java:103)
at org.eclipse.ui.internal.WorkbenchPagePartList.firePartClosed(WorkbenchPagePartList.java:38)
at org.eclipse.ui.internal.PartList.partClosed(PartList.java:255)
at org.eclipse.ui.internal.PartList.removePart(PartList.java:176)
at org.eclipse.ui.internal.WorkbenchPage.disposePart(WorkbenchPage.java:1540)
at org.eclipse.ui.internal.WorkbenchPage.handleDeferredEvents(WorkbenchPage.java:1311)
at org.eclipse.ui.internal.WorkbenchPage.deferUpdates(WorkbenchPage.java:1295)
at org.eclipse.ui.internal.WorkbenchPage.closeEditors(WorkbenchPage.java:1269)
at org.eclipse.ui.internal.WorkbenchPage.closeEditor(WorkbenchPage.java:1324)
at org.eclipse.ui.internal.EditorPane.doHide(EditorPane.java:54)
at org.eclipse.ui.internal.PartStack.close(PartStack.java:499)
at org.eclipse.ui.internal.EditorStack.close(EditorStack.java:205)
at org.eclipse.ui.internal.PartStack$1.close(PartStack.java:106)
at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation$1.handleEvent(TabbedStackPresentation.java:81)
at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:267)
at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:276)
at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder.access$1(DefaultTabFolder.java:1)
at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder$1.closeButtonPressed(DefaultTabFolder.java:67)
at org.eclipse.ui.internal.presentations.PaneFolder.notifyCloseListeners(PaneFolder.java:580)
at org.eclipse.ui.internal.presentations.PaneFolder$3.close(PaneFolder.java:187)
at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:2107)
at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:292)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
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:585)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)This is funny because my project is not even JSF enabled.
can anyone help?
Brian FernandesModeratorI don’t think you should get a vague error popup when a file is read-only, maybe you should fix this.
Read only files are not an issue, if you attempt to edit a read only file, you will get a popup asking you if you’d like to remove the read only flag, not an error dialog.
Since you are seeing an error dialog and an error opening a java file, I think you have a configuration issue. There was an issue with our upgrade servers initially because of which one of the required updated plugins was not being installed.
The following steps should clear up this issue.1) Go into Help > Software Updates > Manage Configuration
2) Disable the 5.1 update and downgrade to MyEclipse 5.0.1
3) Restart, now try and Find new Updates again
4) The update manager should re-find 5.1, and what it will do is only pull down the single changed plugin, then re-apply the 5.1 update, fixing the problem.If that does not fix your problem I would suggest a clean Eclipse 3.2 + MyEclipse 5.1 GA install if possible, you can hook it up to your existing workspace.
I apologize for the inconvenience caused.
-
AuthorPosts