- This topic has 2 replies, 3 voices, and was last updated 13 years, 5 months ago by
support-swapna.
-
AuthorPosts
-
billyjolamMemberI got the following error whenever I try to add or edit any WAS 7 connector profile. Please help …
MyEclipse Blue verion 9.1 + Websphere 7.0 developer version
!ENTRY com.genuitec.eclipse.blue.websphere 4 0 2011-09-01 17:09:13.421
!MESSAGE Could not add/update instance config.
!STACK 0
java.lang.NullPointerException
at com.genuitec.eclipse.blue.websphere.preference.ServerFile.setJVMArguments(ServerFile.java:56)
at com.genuitec.eclipse.blue.websphere.preference.ExternallyLaunchedWASPrefs.internalSave(ExternallyLaunchedWASPrefs.java:90)
at com.genuitec.eclipse.easie.core.preference.AbstractBufferedPreferenceStore.save(Unknown Source)
at com.genuitec.eclipse.blue.websphere.preference.WASPreferences.save(WASPreferences.java:119)
at com.genuitec.eclipse.blue.websphere.wizard.WebsphereInstanceWizard.performFinish(WebsphereInstanceWizard.java:100)
at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:811)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:430)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at com.genuitec.eclipse.blue.websphere.preference.WebsphereInstancePreferencePage.openWizard(WebsphereInstancePreferencePage.java:474)
at com.genuitec.eclipse.blue.websphere.preference.WebsphereInstancePreferencePage.edit(WebsphereInstancePreferencePage.java:527)
at com.genuitec.eclipse.blue.websphere.preference.WebsphereInstancePreferencePage.buttonPressed(WebsphereInstancePreferencePage.java:487)
at com.genuitec.eclipse.blue.websphere.preference.WebsphereInstancePreferencePage$1.widgetSelected(WebsphereInstancePreferencePage.java:119)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at org.eclipse.ui.internal.dialogs.WorkbenchPreferenceDialog.open(WorkbenchPreferenceDialog.java:211)
at org.eclipse.ui.internal.OpenPreferencesAction.run(OpenPreferencesAction.java:65)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
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:619)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
Gianluca84ParticipantHave you starter MyEclipse as a normal user or as administrator?
If starting MyEclipse as administrator and configuring the WAS7 connector does not give you any error message, the cause is that the websphere profile was installed for a root user. If you want to be able to configure the connector and to start the server as a non root user try this http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=/com.ibm.websphere.nd.doc/info/ae/ae/tpro_manage_nonroot.html
support-swapnaModeratorbillyjolam ,
Sorry that you are seeing this issue with MyEclipse.
Can you check if you see the issue when following the steps given by the user Gianluca84 ?
-
AuthorPosts