[jbosstools-issues] [JBoss JIRA] Resolved: (JBIDE-3848) Suddenly unable to deploy anything
Rob Stryker (JIRA)
jira-events at lists.jboss.org
Tue Feb 24 05:17:44 EST 2009
[ https://jira.jboss.org/jira/browse/JBIDE-3848?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rob Stryker resolved JBIDE-3848.
--------------------------------
Resolution: Done
The WTP error seems like an old standard on the surface, but the fact that there's an NPE in the PackageModuleFactory concerns me. Especially since there's absolutely no reason why one would occur on that line.
I've changed some code that should help with concurrency. Let's see how that goes.
No steps to replicate, so I guess just re-open if you still find it again.
I would add, however, that this NPE doesn't seem to be the cause of your problems. I'm still unable to replicate ATM but I'll try testing more. The other issue is for that.
> Suddenly unable to deploy anything
> ----------------------------------
>
> Key: JBIDE-3848
> URL: https://jira.jboss.org/jira/browse/JBIDE-3848
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: Archives, JBossAS
> Affects Versions: 3.0.0.CR2
> Environment: Tools Nightly N200902101801-H1424
> Reporter: Galder Zamarreno
> Assignee: Rob Stryker
> Priority: Critical
> Fix For: 3.0.0.GA
>
>
> The issue where I was no longer able to deploy project archives in servers happened again. The symptons that lead to
> this is changes to classes and deployment archives not being pushed to server. Around
> that time, I got this exception:
> java.lang.NullPointerException
> at org.eclipse.jst.j2ee.internal.deployables.J2EEDeployableFactory.createModuleDelegates(J2EEDeployableFactory.java:82)
> at org.eclipse.jst.j2ee.internal.deployables.J2EEDeployableFactory.createModules(J2EEDeployableFactory.java:68)
> at org.eclipse.jst.j2ee.internal.deployables.J2EEDeployableFactory.createModules(J2EEDeployableFactory.java:56)
> at org.eclipse.wst.server.core.util.ProjectModuleFactoryDelegate.cacheModules(ProjectModuleFactoryDelegate.java:90)
> at org.eclipse.wst.server.core.util.ProjectModuleFactoryDelegate.getModules(ProjectModuleFactoryDelegate.java:117)
> at org.eclipse.wst.server.core.internal.ModuleFactory.getModules(ModuleFactory.java:116)
> at org.eclipse.wst.server.core.ServerUtil.getModules(ServerUtil.java:158)
> at org.eclipse.wst.server.ui.internal.view.servers.ModuleSloshAction.perform(ModuleSloshAction.java:70)
> at org.eclipse.wst.server.ui.internal.view.servers.AbstractServerAction.run(AbstractServerAction.java:60)
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
> at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:583)
> at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500)
> 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:1158)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3401)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3033)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
> 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:193)
> 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:386)
> 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:549)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
> After restarting Eclipse, I'm able to deploy project archives again but I see the exception above as well as
> this one:
> eclipse.buildId=M20080911-1700
> java.version=1.6.0_07
> 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
> Error
> Mon Feb 23 11:10:55 CET 2009
> Error calling delegate ModuleFactory[org.jboss.ide.eclipse.as.core.PackageModuleFactory]
> java.lang.NullPointerException
> at org.jboss.ide.eclipse.archives.webtools.modules.PackageModuleFactory.getModules(PackageModuleFactory.java:167)
> at org.eclipse.wst.server.core.model.ModuleFactoryDelegate.findModule(ModuleFactoryDelegate.java:202)
> at org.jboss.ide.eclipse.archives.webtools.modules.PackageModuleFactory.findModule(PackageModuleFactory.java:113)
> at org.eclipse.wst.server.core.internal.ModuleFactory.findModule(ModuleFactory.java:146)
> at org.eclipse.wst.server.core.ServerUtil.getModule(ServerUtil.java:135)
> at org.eclipse.wst.server.core.internal.Server.getModules(Server.java:2067)
> at org.eclipse.wst.server.core.internal.Server.visit(Server.java:2277)
> at org.eclipse.wst.server.core.internal.Server.getAllModules(Server.java:1308)
> at org.jboss.tools.as.wst.server.ui.xpl.ServerContentProvider$4.run(ServerContentProvider.java:250)
> 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: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list