- This topic has 7 replies, 2 voices, and was last updated 20 years, 7 months ago by Riyad Kalla.
-
AuthorPosts
-
rmwilliams4MemberHelp
First my import wizard item for file dissappeared, now my preferences menu won’t show anything. It has slowly been deteriorating. Different workspace without MyEclipse does not show the problem. I’ve included a part of my log below that occurs when I access the Preferences menu item.
java.lang.NullPointerException
at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:149)
at org.eclipse.ui.internal.dialogs.WorkbenchPreferenceNode.createPage(WorkbenchPreferenceNode.java:49)
at org.eclipse.jface.preference.PreferenceDialog.showPage(PreferenceDialog.java:993)
at org.eclipse.jface.preference.PreferenceDialog.selectSavedItem(PreferenceDialog.java:703)
at org.eclipse.jface.preference.PreferenceDialog$3.run(PreferenceDialog.java:329)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at org.eclipse.jface.preference.PreferenceDialog.createContents(PreferenceDialog.java:324)
at org.eclipse.jface.window.Window.create(Window.java:302)
at org.eclipse.ui.internal.OpenPreferencesAction.run(OpenPreferencesAction.java:51)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:842)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:456)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionItem.java:403)
at org.eclipse.jface.action.ActionContributionItem.access$0(ActionContributionItem.java:397)
at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java:72)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
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:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:291)
at org.eclipse.core.launcher.Main.run(Main.java:747)
at org.eclipse.core.launcher.Main.main(Main.java:583)What operating system and version are you running? XP
What Eclipse version and build id are you using? (Help > About Eclipse Platform)
Version: 2.1.3
Build id: 200403101828
– Was Eclipse freshly installed for MyEclipse? No
– If not, was it upgraded to its current version using the update manager? Yes
– Are any other external plugins installed?
– How many plugins in the <eclipse>/plugins directory are like org.eclipse.pde.*
What MyEclipse version are you using? (Help > About Eclipse Platform > Features) 2.7.1
What JDK version are you using to run Eclipse? (java -version) 1.4.2
What JDK version are you using to launch your application server?
What steps did you take that resulted in the issue? Nothing in particular
What application server are you using? Tomcat 5
Are there any errors in the Eclipse log? (<workspace>/.metadata/.log)
– System Setup ——————————-
Operating System and version:
Eclipse version:
Eclipse build id:
Fresh Eclipse install (y/n):
If not, was it upgraded to its current version using the update manager?
Other installed external plugins:
Number of plugins in the <eclipse>/plugins directory that begin with org.eclipse.pde.*:
MyEclipse version:
Eclipse JDK version:
Application Server JDK version:
Are there any exceptions in the Eclipse log file?– Message Body ——————————-
Riyad KallaMemberWhat happens when you restart Eclipse? Can you grab the exceptions in the log file from the entire session from a fresh start of eclipse to the exit?
rmwilliams4MemberHere is the log from a fresh start
!SESSION Apr 13, 2004 16:30:02.531 ———————————————
java.version=1.4.2
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86 -install file:D:/dev/eclipse-SDK-2.1.1-win32/eclipse/
!ENTRY org.eclipse.ui 4 4 Apr 13, 2004 16:30:02.531
!MESSAGE Invalid preference page path: J2EE
!ENTRY org.eclipse.ui 4 4 Apr 13, 2004 16:30:02.541
!MESSAGE Invalid preference page path: Jetty 4
!ENTRY org.eclipse.ui 4 4 Apr 13, 2004 16:30:02.541
!MESSAGE Invalid preference page path: JUnit
!ENTRY org.eclipse.ui 4 4 Apr 13, 2004 16:30:02.551
!MESSAGE Invalid preference page path: Tomcat 4
!ENTRY org.eclipse.ui 4 4 Apr 13, 2004 16:30:02.551
!MESSAGE Invalid preference page path: WebLogic 8
!ENTRY org.eclipse.ui 4 4 Apr 13, 2004 16:30:02.561
!MESSAGE Invalid preference page path: XML Editor
!ENTRY org.eclipse.core.runtime 4 2 Apr 13, 2004 16:30:11.183
!MESSAGE Problems occurred when invoking code from plug-in: “org.eclipse.core.runtime”.
!STACK 1
org.eclipse.core.runtime.CoreException: Exception occurred starting application server.
at org.eclipse.help.internal.appserver.AppserverPlugin.startWebappServer(AppserverPlugin.java:163)
at org.eclipse.help.internal.appserver.AppserverPlugin.getAppServer(AppserverPlugin.java:53)
at org.eclipse.help.internal.appserver.WebappManager.stop(WebappManager.java:58)
at org.eclipse.help.internal.HelpSystem.shutdown(HelpSystem.java:160)
at org.eclipse.help.internal.HelpPlugin.shutdown(HelpPlugin.java:100)
at org.eclipse.core.internal.plugins.PluginRegistry$2.run(PluginRegistry.java:295)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1006)
at org.eclipse.core.internal.plugins.PluginRegistry$1.visit(PluginRegistry.java:308)
at org.eclipse.core.internal.plugins.PluginRegistry.accept(PluginRegistry.java:58)
at org.eclipse.core.internal.plugins.PluginRegistry.shutdownPlugins(PluginRegistry.java:311)
at org.eclipse.core.internal.plugins.PluginRegistry.shutdown(PluginRegistry.java:277)
at org.eclipse.core.internal.runtime.InternalPlatform.loaderShutdown(InternalPlatform.java:630)
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:324)
at org.eclipse.core.internal.boot.InternalBootLoader.shutdown(InternalBootLoader.java:1008)
at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:863)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
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:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:291)
at org.eclipse.core.launcher.Main.run(Main.java:747)
at org.eclipse.core.launcher.Main.main(Main.java:583)
!ENTRY org.eclipse.help.appserver 4 0 Apr 13, 2004 16:30:11.183
!MESSAGE Exception occurred starting application server.
!SUBENTRY 1 org.eclipse.help.appserver 4 0 Apr 13, 2004 16:30:11.183
!MESSAGE Exception occurred starting application server.
Riyad KallaMemberShut down Eclipse, go into your <eclipse install>/workspace/.metadata/.plugins directory and erase the following directories (if they exist):
-
1) org.eclipse.core.runtime
2) org.eclipse.helpThen restart Eclipse, did that fix it?
rmwilliams4MemberOnly the org.eclipse.help was there and deleting it did not help. Another symptom is that when I pull up the project properties I only get External Tool Builders and My Eclipse – Web as selections in the left side. I can no longer see my project paths and libraries!
Riyad KallaMemberI’ve had this exact same thing happen to be once before, and the problem was that the plugin caches were getting completely corrupt. The only way I found to fix it was to erase my .metadata directory out of my workspace folder, but that is effectively like uninstalling Eclipse so I was hoping to save you from this… if you don’t mind doing that, then the steps are:
-
1) Shut down eclipse
2) Move the \links\com.genuitec.eclipse.MyEclipse.link to your desktop
3) Go into your \workspace folder and erase the .metadata folder
4) Start Eclipse (it will recreate the base install files)
5) Shut down eclipse
6) Put the com.genuitec.eclipse.MyEclipse.link file back in the <eclipse install\links folder
7) Start Eclipse, click OK to finish the install of MyEclipseIf you DON’T want to do this, then you can try and shut down Eclipse and slowly erase the plug-in caches from the workspace/.metadata/.plugins directory that you think are related to this problem. For example, since in the exception I saw errors from the org.eclipse.help plugin, I tried to suggest that you clear its cache. You might try doing that with all of the com.genuitec plugins at once and restarting to see if that helped, and then narrowing it down.
This is a tricky situation with Eclipse, and not one that I have found a graceful workaround for yet.
rmwilliams4MemberThanks that seems to have fixed the problem. Your support is PHENONMENAL – Thanks again for such rapid response. I’m telling all my friends about you 🙂
Riyad KallaMemberThanks that seems to have fixed the problem.
Hey I’m glad to hear it, I was really trying to avoid providing the “This is how you trash everything and start again” solution, but you really took to it well. Thanks for hanging in there!
Your support is PHENONMENAL
This really means a lot to us, thanks again for your support!
-
AuthorPosts