[
http://jira.jboss.com/jira/browse/JBIDE-445?page=all ]
Marshall Culpepper resolved JBIDE-445.
--------------------------------------
Resolution: Done
the NewJARAction was always depending on getSelection() which could be null if something
was selected after the project. It now falls back to an internal project reference
that's maintained by the ProjectPackagesView
Selecting FileSystem destination gives weird value and NPE (after a
while)
--------------------------------------------------------------------------
Key: JBIDE-445
URL:
http://jira.jboss.com/jira/browse/JBIDE-445
Project: JBoss IDE
Issue Type: Bug
Components: Packaging
Reporter: Max Andersen
Assigned To: Marshall Culpepper
Entering c:\temp\somethingthatdoesnotexist (a non existent directory) apparently
makes it select C:\Documents and settings\.... as if it ignored my entry.
Then for a few seconds nothing is responsive and I get:
java.lang.NullPointerException
at java.util.Hashtable.get(Hashtable.java:336)
at
org.jboss.ide.eclipse.packages.core.model.internal.PackagesModel.getProjectPackages(PackagesModel.java:272)
at
org.jboss.ide.eclipse.packages.ui.wizards.pages.PackageInfoWizardPage.validate(PackageInfoWizardPage.java:253)
at
org.jboss.ide.eclipse.packages.ui.wizards.pages.PackageInfoWizardPage.access$0(PackageInfoWizardPage.java:190)
at
org.jboss.ide.eclipse.packages.ui.wizards.pages.PackageInfoWizardPage$3.widgetSelected(PackageInfoWizardPage.java:104)
--
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