[izpack-devel] RegistryDefaultHandler problem

fxa fxa_01 at yahoo.com
Sun Jul 22 19:29:22 CEST 2007


I am using 3.10.3 and I have written a listener that needs some information
from Registry so it tries to get an instance of RegistryDefaultHandler
through getInstance method.  At the same time I am using
RegistryInstallerListener.  Problem is RegistryDefaultHandler.getInstance()
which returns null.  
It seems on first access to handler its initialized flag has been set and
somehow the work object gets null so registryHandler.good() return false.  

How can I resolve this problem?  Here is the some snippet:

public class SomeInstallerListener extends SimpleInstallerListener
{
   
    RegistryHandler registryHandler = null;

    public SomeInstallerListener(){
        super(true);
        registryHandler = RegistryDefaultHandler.getInstance();
    } 
-- 
View this message in context: http://www.nabble.com/RegistryDefaultHandler-problem-tf4125717.html#a11732705
Sent from the izpack devel mailing list archive at Nabble.com.



More information about the izpack-devel mailing list