[
http://jira.jboss.com/jira/browse/JBIDE-445?page=comments#action_12353506 ]
Max Andersen commented on JBIDE-445:
------------------------------------
The NPE is gone, but the weird value is still there.
The problem seem to be if I type in an noexisting directory (I expect the plugin to create
it for me - or at least complain).
It just selects the home directory which is very wrong.
note i've seen this behavior other places in eclipse when they use the filesystem
dialog - but we can do better, right ? :)
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