Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!
Bug 123866 - Main wizard property container is not defined (null)
Main wizard property container is not defined (null)
Status: NEW
Product: installer
Classification: Unclassified
Component: NBI
6.x
All All
: P4 (vote)
: 6.x
Assigned To: Libor Fischmeistr
issues@installer
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-12-12 09:23 UTC by dlipin
Modified: 2014-02-10 14:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
:


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.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo