[
http://jira.jboss.com/jira/browse/JBIDE-1934?page=comments#action_12403720 ]
Denis Golovin commented on JBIDE-1934:
--------------------------------------
It happens all the time during creating JSF KikStartProject
Here is the log
!SESSION 2008-03-19 14:25:44.024 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.5.0_13
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Command-line arguments: -os linux -ws gtk -arch x86
!ENTRY org.eclipse.wst.server.core 4 0 2008-03-19 14:26:23.525
!MESSAGE Error calling delegate
ModuleFactory[org.jboss.ide.eclipse.as.core.PackageModuleFactory]
!STACK 0
java.lang.NullPointerException
at
org.jboss.ide.eclipse.archives.core.util.ModelUtil.getProjectArchives(ModelUtil.java:274)
at
org.jboss.ide.eclipse.archives.core.util.ModelUtil.getProjectArchives(ModelUtil.java:269)
at
org.jboss.ide.eclipse.as.core.modules.ArchivesModelModuleContributor.createModules(ArchivesModelModuleContributor.java:88)
at
org.jboss.ide.eclipse.as.core.modules.ArchivesModelModuleContributor.getModules(ArchivesModelModuleContributor.java:76)
at
org.jboss.ide.eclipse.as.core.modules.PackageModuleFactory.getModules(PackageModuleFactory.java:163)
at
org.eclipse.wst.server.core.model.ModuleFactoryDelegate.getModules(ModuleFactoryDelegate.java:163)
at org.eclipse.wst.server.core.internal.ModuleFactory.getModules(ModuleFactory.java:131)
at org.eclipse.wst.server.core.ServerUtil.getModules(ServerUtil.java:97)
at org.eclipse.wst.server.core.ServerUtil.getModule(ServerUtil.java:68)
at
org.jboss.tools.jst.web.server.RegistrationHelper.findModule(RegistrationHelper.java:190)
at
org.jboss.tools.jst.web.context.RegisterServerContext.getErrorMessage(RegisterServerContext.java:169)
at
org.jboss.tools.jst.web.ui.wizards.project.NewWebProjectWizard.canFinish(NewWebProjectWizard.java:51)
at org.eclipse.jface.wizard.WizardDialog.updateButtons(WizardDialog.java:1245)
at org.eclipse.jface.wizard.WizardPage.setPageComplete(WizardPage.java:299)
at
org.jboss.tools.jst.web.ui.wizards.project.NewWebProjectWizardPage$LocationAdapter.setValue(NewWebProjectWizardPage.java:387)
at
org.jboss.tools.jst.web.ui.wizards.project.NewWebProjectWizardPage$LocalValueProvider.valueChange(NewWebProjectWizardPage.java:357)
at
org.jboss.tools.common.model.ui.attribute.editor.DirectoryFieldEditorEx.propertyChange(DirectoryFieldEditorEx.java:154)
at org.eclipse.jface.preference.FieldEditor.fireValueChanged(FieldEditor.java:346)
at
org.jboss.tools.common.model.ui.attribute.editor.StringFieldEditor.valueChanged(StringFieldEditor.java:313)
at
org.jboss.tools.common.model.ui.attribute.editor.StringButtonFieldEditorEx.valueChanged(StringButtonFieldEditorEx.java:297)
at
org.jboss.tools.common.model.ui.attribute.editor.StringFieldEditor$1.modifyText(StringFieldEditor.java:173)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:166)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1101)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1125)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1106)
at org.eclipse.swt.widgets.Text.setText(Text.java:1904)
at
org.jboss.tools.common.model.ui.attribute.editor.StringFieldEditor.setStringValue(StringFieldEditor.java:275)
at
org.jboss.tools.common.model.ui.attribute.editor.StringButtonFieldEditorEx.setStringValue(StringButtonFieldEditorEx.java:382)
at
org.jboss.tools.common.model.ui.attribute.editor.DirectoryFieldEditorEx.propertyChange(DirectoryFieldEditorEx.java:165)
at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:333)
at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:270)
at
org.jboss.tools.jst.web.ui.wizards.project.NewWebProjectWizardPage$LocalValueProvider.fireValueChange(NewWebProjectWizardPage.java:336)
at
org.jboss.tools.jst.web.ui.wizards.project.NewWebProjectWizardPage$LocalValueProvider.setValue(NewWebProjectWizardPage.java:352)
at
org.jboss.tools.jst.web.ui.wizards.project.NewWebProjectWizardPage$LocationAdapter.setValue(NewWebProjectWizardPage.java:386)
at
org.jboss.tools.jst.web.ui.wizards.project.NewWebProjectWizardPage$NameAdapter.setValue(NewWebProjectWizardPage.java:378)
at
org.jboss.tools.jst.web.ui.wizards.project.NewWebProjectWizardPage$LocalValueProvider.valueChange(NewWebProjectWizardPage.java:357)
at
org.jboss.tools.common.model.ui.attribute.editor.StringFieldEditorEx.propertyChange(StringFieldEditorEx.java:68)
at org.eclipse.jface.preference.FieldEditor.fireValueChanged(FieldEditor.java:346)
at
org.jboss.tools.common.model.ui.attribute.editor.StringFieldEditor.valueChanged(StringFieldEditor.java:313)
at
org.jboss.tools.common.model.ui.attribute.editor.StringFieldEditor$1.modifyText(StringFieldEditor.java:173)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:166)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1101)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3319)
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.actions.NewWizardAction.run(NewWizardAction.java:182)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
at
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1101)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3319)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2971)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
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.equinox.launcher.Main.invokeFramework(Main.java:508)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
!ENTRY org.eclipse.wst.server.core 4 0 2008-03-19 14:26:38.565
!MESSAGE Could not create delegate Module[a1,org.eclipse.jst.jee.server:a1]
!STACK 0
java.lang.NullPointerException
at org.eclipse.wst.server.core.internal.Module.getDelegate(Module.java:117)
at org.eclipse.wst.server.core.internal.Module.loadAdapter(Module.java:209)
at
org.jboss.ide.eclipse.as.core.server.internal.JBossServer.getChildModules(JBossServer.java:109)
at org.eclipse.wst.server.core.internal.Server.getChildModules(Server.java:2289)
at org.eclipse.wst.server.core.internal.Server.visitModule(Server.java:2449)
at org.eclipse.wst.server.core.internal.Server.visit(Server.java:2430)
at org.eclipse.wst.server.core.internal.Server$ResourceChangeJob.run(Server.java:188)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Error while running JMX-safe code occurs during running Dynamic Web
Project on JBoss AS
---------------------------------------------------------------------------------------
Key: JBIDE-1934
URL:
http://jira.jboss.com/jira/browse/JBIDE-1934
Project: Tools (JBoss Tools)
Issue Type: Bug
Affects Versions: 2.1
Environment: JBoss Tools built from trunk
JBoss AS 4.2.2
Reporter: Denis Golovin
Assigned To: Rob Stryker
java.lang.NullPointerException
at org.jboss.ide.eclipse.as.core.extensions.jmx.JMXUtil.setCredentials(JMXUtil.java:59)
at org.jboss.ide.eclipse.as.core.extensions.jmx.JMXUtil.setCredentials(JMXUtil.java:50)
at
org.jboss.ide.eclipse.as.core.extensions.jmx.JMXModel$JMXSafeRunner.run(JMXModel.java:440)
at
org.jboss.ide.eclipse.as.core.server.internal.JBossServerBehavior.resumeDeployment(JBossServerBehavior.java:230)
at
org.jboss.ide.eclipse.as.core.server.internal.JBossServerBehavior.publishFinish(JBossServerBehavior.java:201)
at
org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:679)
at org.eclipse.wst.server.core.internal.Server.doPublish(Server.java:887)
at org.eclipse.wst.server.core.internal.Server.publish(Server.java:874)
at org.eclipse.wst.server.core.internal.PublishServerJob.run(PublishServerJob.java:72)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira