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 49658 - Exception from registry loader when platform.properties not defined
Summary: Exception from registry loader when platform.properties not defined
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: _ pcw
URL:
Keywords:
: 49681 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-09-28 20:02 UTC by _ pcw
Modified: 2006-05-31 18:23 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Stack trace (1.21 KB, text/plain)
2004-09-28 20:03 UTC, _ pcw
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _ pcw 2004-09-28 20:02:42 UTC
Delete $userdir\Config\J2EE\platform.properties if
it exists and start NB.  During startup, you'll
get an exception (masked NPE at
WebServiceModuleInstaller#83) from the registry
module before the appserver install dir can be set.
Comment 1 _ pcw 2004-09-28 20:03:13 UTC
Created attachment 17906 [details]
Stack trace
Comment 2 _ pcw 2004-09-28 20:05:25 UTC
The NPE is easy enough to fix... the real problem is that the registry
module now depends on the appserver jars at runtime, including
startup.  If this path has not been set, the module should not enable
itself (but if the path is found on next start, it should not stay
disabled.)  What is the best way to do that?
Comment 3 _ pcw 2004-09-28 23:01:25 UTC
Registry module now behaves nicely when no SJSAS support (and thus no
backing for web services) is available.  Node is present, marked
Disabled, with a tool tip telling to go to Tools | J2EE Platform
Manager to enable it.
Comment 4 _ pcw 2004-09-30 22:20:42 UTC
*** Issue 49681 has been marked as a duplicate of this issue. ***
Comment 5 Petr Blaha 2004-10-04 14:36:16 UTC
Build 041004
Comment 6 j2eetmp 2004-10-13 10:55:58 UTC
Move from temp component.