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

Summary: Exception from registry loader when platform.properties not defined
Product: javaee Reporter: _ pcw <pcw>
Component: CodeAssignee: _ pcw <pcw>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P2    
Version: 4.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Attachments: Stack trace

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.