Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Glassfish did not start after JDK update 1.6.0_22(Problem starging glassfish configuration after jdk update)
Glassfish did not start after JDK update 1.6.0_22 [message #634437] Thu, 21 October 2010 17:08 Go to next message
Ralph Soika is currently offline Ralph SoikaFriend
Messages: 192
Registered: July 2009
Senior Member
Hi,
I have a problem when starting Glassfish with the WTP Server Plugin from my Eclipse IDE
After an JDK Update to Version 1.6.0_22 I can no longer start the server. I got a nullPointer Exception (!?)


An internal error occurred during: "Starting GlassFish v3 Java EE 6 at localhost".
java.lang.NullPointerException


When I try to reconfigure the Runtime Environment for my Glassfish and I try to set the current JDK I got an "Unhandled event loop exception":

java.lang.NullPointerException
	at com.sun.enterprise.jst.server.sunappsrv.InstallableServerTypeDefinitionRuntimeDecorator.getValues(InstallableServerTypeDefinitionRuntimeDecorator.java:225)
	at org.eclipse.jst.server.generic.ui.internal.ServerTypeDefinitionRuntimeDecorator.validate(ServerTypeDefinitionRuntimeDecorator.java:34)
	at com.sun.enterprise.jst.server.sunappsrv.InstallableRuntimeServerRuntimeWizardFragment.exit(InstallableRuntimeServerRuntimeWizardFragment.java:131)
	at org.eclipse.wst.server.ui.internal.wizard.TaskWizard.performFinish(TaskWizard.java:161)
	at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:752)
	at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
	at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1176)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3493)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3112)
	at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
	at org.eclipse.jface.window.Window.open(Window.java:801)
	at org.eclipse.wst.server.ui.internal.editor.OverviewEditorPart.showWizard(OverviewEditorPart.java:844)
	at org.eclipse.wst.server.ui.internal.editor.OverviewEditorPart.editRuntime(OverviewEditorPart.java:816)
	at org.eclipse.wst.server.ui.internal.editor.OverviewEditorPart$5.linkActivated(OverviewEditorPart.java:402)
	at org.eclipse.ui.forms.widgets.AbstractHyperlink.handleActivate(AbstractHyperlink.java:233)
	at org.eclipse.ui.forms.widgets.AbstractHyperlink.handleMouseUp(AbstractHyperlink.java:327)
	at org.eclipse.ui.forms.widgets.AbstractHyperlink.access$2(AbstractHyperlink.java:311)
	at org.eclipse.ui.forms.widgets.AbstractHyperlink$4.handleEvent(AbstractHyperlink.java:125)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1176)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3493)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3112)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
	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:368)
	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:559)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1311)



eclipse.buildId=
java.version=1.6.0_22
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=de_DE
Framework arguments:  -product org.eclipse.epp.package.jee.product -product org.eclipse.epp.package.jee.product -product org.eclipse.epp.package.jee.product
Command-line arguments:  -os linux -ws gtk -arch x86 -product org.eclipse.epp.package.jee.product -product org.eclipse.epp.package.jee.product -data /home/rsoika/eclipse/imixs-office -product org.eclipse.epp.package.jee.product




If I start Eclipse with a new empty Workspace I can configure a new Glassfish Server with no problems.
Did anybody have had such a problem - and maybe any solution Wink

I am using
Linux Ubuntu 10.04
Eclipse Galileo Build 20100218-1602
Glassfish V 3.0.1

Thanks for any help

Ralph


Re: Glassfish did not start after JDK update 1.6.0_22 [message #634483 is a reply to message #634437] Thu, 21 October 2010 21:21 Go to previous message
Ralph Soika is currently offline Ralph SoikaFriend
Messages: 192
Registered: July 2009
Senior Member
ok - after all removing my old server configuration and creating a new one the glassfish server starts again from eclipse
Previous Topic:MultilineRule Partitioning issue
Next Topic:Maintaining session problem in webservice client... Save and send cookie?
Goto Forum:
  


Current Time: Thu Apr 25 09:19:39 GMT 2024

Powered by FUDForum. Page generated in 0.04744 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top