This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 64676 - NPE on Run J2ee verifier tool
Summary: NPE on Run J2ee verifier tool
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 8 (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-19 15:56 UTC by pzajac
Modified: 2005-09-23 12:48 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
exception stacktrace (474 bytes, text/plain)
2005-09-19 15:58 UTC, pzajac
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pzajac 2005-09-19 15:56:18 UTC
[200509
Steps to reproduce:
1) Create FeedReader sample project (from API support samples)
2) Perform Build JNLP on *Feed Reader Application* project
3) Perfrom *Tools|Run j2ee verifier tool* action on the 
Feed Reader Application/dist/feedreader.war 
in Files view
Comment 1 pzajac 2005-09-19 15:58:11 UTC
Created attachment 24948 [details]
exception stacktrace
Comment 2 _ ludo 2005-09-19 18:26:33 UTC
Vince, this is related to a change from 
> import org.netbeans.modules.j2ee.sun.ide.j2ee.PluginProperties;
63c64
<         String installRoot = System.getProperty("com.sun.aas.installRoot");
---
>         String installRoot =
PluginProperties.getDefault().getInstallRoot().getAbsolutePath(); //
System.getProperty("com.sun.aas.installRoot");

Can you verify in all the places where we used to rely on the
com.sun.aas.installRoot value, that we now test for a possible null value for 
PluginProperties.getDefault().getInstallRoot()
Comment 4 Vince Kraemer 2005-09-21 20:53:07 UTC
forgot to close
Comment 5 pzajac 2005-09-23 12:48:50 UTC
verified. 
BTW it will better to add "Manage Servers" button to the warning dialog. For
examle apissupport do this on many places.