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 123866 - Main wizard property container is not defined (null)
Summary: Main wizard property container is not defined (null)
Status: NEW
Alias: None
Product: installer
Classification: Unclassified
Component: NBI (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Libor Fischmeistr
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-12 09:23 UTC by dlipin
Modified: 2014-02-10 14:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
proposed patch (4.02 KB, patch)
2009-04-15 10:05 UTC, dlipin
Details | Diff
SystemPropertiesContainer.java (2.73 KB, text/plain)
2009-04-24 16:32 UTC, dlipin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dlipin 2007-12-12 09:23:10 UTC
This fact arise in Jeff Lin`s work on OpenESB installer: invokation of panel.getWizard().setProperty() result in NPE.
panel here is one of the top-level panels either in nbi or in installer - those which do not belong to any specific 
product but to the main installer flow (Welcome, PostInstall, PreInstall,License,etc).

By design an instance of global Registry should be that property container: it is already defined as PC but now it is 
not set as the property container for the Wizard.
One possible solution is to create one more Wizard constructor where we can pass the PropertyContainer but it is not 
clear how to use it in (how to pass registry to) Wizard.getInstance() that is called in the Installer constructor.
Comment 1 dlipin 2009-04-15 10:05:40 UTC
Created attachment 80120 [details]
proposed patch
Comment 2 dlipin 2009-04-24 16:32:20 UTC
Another option is to use SystemPropertiesContainer as such properties container.
Comment 3 dlipin 2009-04-24 16:32:51 UTC
Created attachment 80869 [details]
SystemPropertiesContainer.java
Comment 4 Jiri Rechtacek 2012-10-07 12:58:29 UTC
Assigned to new owner.