- This topic has 9 replies, 3 voices, and was last updated 17 years, 10 months ago by Riyad Kalla.
-
AuthorPosts
-
RussMemberWhen I go looking for errors on why the X-Fire web service is not working I notice this in the runtime error log for MyEclipse.
eclipse.buildId=M20060921-0945 java.version=1.5.0_09 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US Framework arguments: -product com.genuitec.myeclipse.product.ide Command-line arguments: -os win32 -ws win32 -arch x86 -product com.genuitec.myeclipse.product.ide Info Sun Dec 17 08:39:46 CST 2006 Unable to find MEContainer jar: MYECLIPSE_XFIRE_DATA_HOME/1.1/lib/XmlSchema-1.0.3.jar
Thanks for any inputs or recommendations.
Russ
Brian FernandesModeratorRuss,
1) Do you see this error consistently?
2) Have you installed MyEclipse 5.1 – did you upgrade or install afresh, can you try restarting eclipse just once with eclipse.exe -clean?
3) Have you customized the XFire libraries included with an earlier version of MyEclipse? If you did, you might need to go to the Window > Preferences > MyEclipse > Project Capabilities > Web Services – XFire preference page and hit restore defaults so that the new libraries are used; unfortunately this resets any customizations you may have made, but we’re working on fixing that problem asap.
Do let us know how it goes.
RussMemberBrian:
Let me answer your questions. This involves the Helllo World Web Service example.
1) Yes, this is consistent. Every time I launch the workspace or swtch workspaces to the specific workspace with the web service.
2) I used -clean for eclipse to ensure all settings were correct. The MyEclipse version I am using is a clean one.
3) There has been no customization of X-Fire jars. I am only using the code provided in X-Fire jar files.
Russ
Brian FernandesModeratorRuss,
That’s an odd error. Could you try what I mentioned in step 3 above anyway and see if that resolves it?
Sometimes this could be caused by workspace corruption, if #3 does not resolve your issue, would it be possible for you to create a new workspace and import your WS project into that?
RussMemberOkay I have reset the web services settings.
Now, it has messed up everything in the web services project.
I am getting this error message:An internal error occurred during: "Initializing Java Tooling".
This is the stack trace:
java.lang.NullPointerException at com.genuitec.eclipse.core.librarymgmt.MEClasspathContainerInitializer.initialize(MEClasspathContainerInitializer.java:41) at org.eclipse.jdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:1900) at org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:1267) at org.eclipse.jdt.internal.core.ClasspathEntry.validateClasspathEntry(ClasspathEntry.java:1568) at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:2135) at org.eclipse.jdt.internal.core.DeltaProcessingState$ProjectUpdateInfo.updateProjectReferencesIfNecessary(DeltaProcessingState.java:102) at org.eclipse.jdt.internal.core.DeltaProcessingState.updateProjectReferences(DeltaProcessingState.java:245) at org.eclipse.jdt.internal.core.SetClasspathOperation.updateProjectReferencesIfNecessary(SetClasspathOperation.java:804) at org.eclipse.jdt.internal.core.SetClasspathOperation.executeOperation(SetClasspathOperation.java:254) at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:720) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1737)
When I try to go back to the Windows->Preferences->MyEclipse->ProjectCapabilities->Web Services, I get an error.
Problems occurred when invoking code from plug-in: "org.eclipse.jface".
stack trace:
java.lang.NullPointerException at com.genuitec.eclipse.core.librarymgmt.MEClasspathContainerInitializer.initialize(MEClasspathContainerInitializer.java:41) at org.eclipse.jdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:1900) at org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:1267) at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:1470) at com.genuitec.eclipse.core.ui.preference.MELibraryFieldEditor.doLoad(MELibraryFieldEditor.java:286) at com.genuitec.eclipse.core.ui.preference.MELibraryFieldEditor.doLoad(MELibraryFieldEditor.java:279) at org.eclipse.jface.preference.FieldEditor.load(FieldEditor.java:496) at com.genuitec.eclipse.ws.xfire.preferences.XFireLibraryPreferencePage.createContents(XFireLibraryPreferencePage.java:127) at org.eclipse.jface.preference.PreferencePage.createControl(PreferencePage.java:233) at org.eclipse.jface.preference.PreferenceDialog.createPageControl(PreferenceDialog.java:1403) at org.eclipse.jface.preference.PreferenceDialog$12.run(PreferenceDialog.java:1162) 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.JFaceUtil$1.run(JFaceUtil.java:44) at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:149) at org.eclipse.jface.preference.PreferenceDialog.showPage(PreferenceDialog.java:1156) at org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.showPage(FilteredPreferenceDialog.java:439) at org.eclipse.jface.preference.PreferenceDialog$8.selectionChanged(PreferenceDialog.java:661) at org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredViewer.java:839) 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.JFaceUtil$1.run(JFaceUtil.java:44) at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:149) at org.eclipse.jface.viewers.StructuredViewer.firePostSelectionChanged(StructuredViewer.java:837) at org.eclipse.jface.viewers.StructuredViewer.handlePostSelect(StructuredViewer.java:1143) at org.eclipse.jface.viewers.StructuredViewer$5.widgetSelected(StructuredViewer.java:1163) at org.eclipse.jface.util.OpenStrategy.firePostSelectionEvent(OpenStrategy.java:236) at org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.java:230) at org.eclipse.jface.util.OpenStrategy$3.run(OpenStrategy.java:404) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3325) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2971) at org.eclipse.jface.window.Window.runEventLoop(Window.java:820) at org.eclipse.jface.window.Window.open(Window.java:796) at org.eclipse.ui.internal.OpenPreferencesAction.run(OpenPreferencesAction.java:65) at org.eclipse.jface.action.Action.runWithEvent(Action.java:499) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400) 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(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) 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)
I hope these changes has not corrupted my desktop.
Russ
Brian FernandesModeratorRuss,
This just seems like a bad installation or a corrupted workspace. I’m sorry in case you mentioned this before, but how did you install 5.1.0? Did you upgrade a previous installation or start afresh?
Can you try switching to a temporary workspace File > Switch Workspace and import your project into that?Failing that, I’d try a restarting eclipse with the -clean flag or trying a fresh installation especially if you upgraded.
Let me know if you require further assistance with this.
RussMemberokay….workspace was corrupt……..
Also I just remember, I upgraded my subscription from standard to professional…..
Riyad KallaMemberRuss, is everything working now?
(SOmetimes workspaces just go bad… very frustrating)
RussMemberWe are good! I was able to get this web service deployed correctly using TomCat. Thanks for checking in…. You guys don’t know how much we truly appreciate World-Class support!
Riyad KallaMemberGood deal, glad it’s working.
-
AuthorPosts