[jbosstools-issues] [JBoss JIRA] Resolved: (JBIDE-1325) NullPointerException when trying to add new fileset to WAR package archive

Rob Stryker (JIRA) jira-events at lists.jboss.org
Fri Nov 16 16:27:18 EST 2007


     [ http://jira.jboss.com/jira/browse/JBIDE-1325?page=all ]

Rob Stryker resolved JBIDE-1325.
--------------------------------

    Resolution: Done

ok much more clean fix in place. resolving  as fixed. 

> NullPointerException when trying to add new fileset to WAR package archive
> --------------------------------------------------------------------------
>
>                 Key: JBIDE-1325
>                 URL: http://jira.jboss.com/jira/browse/JBIDE-1325
>             Project: JBoss Tools
>          Issue Type: Bug
>          Components: Archives
>    Affects Versions: 2.0.0.CR1
>         Environment: Eclipse 3.3.0 on openSUSE 10.3 (Linux)
>            Reporter: Rob Hasselbaum
>         Assigned To: Rob Stryker
>            Priority: Blocker
>             Fix For: 2.0.0.GA
>
>
> I'm trying to configure an Eclipse project for WAR deployment to JBoss AS. I go to the "Project Archives" view and create a new WAR configuration via the wizard. It shows up, no problem. Then I try to add a new fileset to the WAR by right-clicking on it and choosing "New Fileset". Nothing happens in the UI, and in the console, I can see a NullPointerException. Stack trace given below:
> java.lang.NullPointerException
>         at org.jboss.ide.eclipse.archives.core.model.DirectoryScannerFactory.createDirectoryScanner(DirectoryScannerFactory.java:43)
>         at org.jboss.ide.eclipse.archives.core.model.ArchivesModelCore.findMatchingPaths(ArchivesModelCore.java:95)
>         at org.jboss.ide.eclipse.archives.ui.wizards.pages.FilesetInfoWizardPage.changePreview(FilesetInfoWizardPage.java:305)
>         at org.jboss.ide.eclipse.archives.ui.wizards.pages.FilesetInfoWizardPage.createControl(FilesetInfoWizardPage.java:86)
>         at org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:170)
>         at org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:669)
>         at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:543)
>         at org.eclipse.jface.window.Window.create(Window.java:426)
>         at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1081)
>         at org.eclipse.jface.window.Window.open(Window.java:785)
>         at org.jboss.ide.eclipse.archives.ui.views.ArchivesMenuHandler.createFileset(ArchivesMenuHandler.java:327)
>         at org.jboss.ide.eclipse.archives.ui.views.ArchivesMenuHandler.access$11(ArchivesMenuHandler.java:322)
>         at org.jboss.ide.eclipse.archives.ui.views.ArchivesMenuHandler$3.run(ArchivesMenuHandler.java:168)
>         at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
>         at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:545)
>         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:153)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)

-- 
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

        



More information about the jbosstools-issues mailing list