java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • java.security.AccessControlException
    via by Meet Gaurav,
  • working with HSM
    via by pmug...@gmail.com,
  • java.lang.NullPointerException
    via by Unknown author,
  • java.lang.NullPointerException
    via by Unknown author,
  • I need to validate the CATALINA_HOME property in environment. For this I've written a condition which evaluates the CATALINA_HOME from a java file. This condition works fine with the Panel but when I tries to use <installerrequirements> nothing happens and a nullpointer is thrown by Izpack. Code: <panels> <panel classname="InfoPanel"/> <panel classname="TargetPanel" condition="setcatalina"/> <panel classname="LicencePanel"/> <panel classname="PacksPanel" /> <panel classname="UserInputPanel" id="UserInputPanel.0" /> <panel classname="UserInputPanel" id="UserInputPanel.0" /> <panel classname="InstallPanel" /> <panel classname="ShortcutPanel"/> <panel classname="ProcessPanel"/> <panel classname="SimpleFinishPanel" /> </panels> <condition type="java" id="setcatalina"> <java> <class>PropertyReplace</class> <field>IS_CATALINA_HOME_SET</field> </java> <returnvalue type="boolean">true</returnvalue> </condition> </conditions> <installerrequirements> <installerrequirement conditon="setcatalina" message="CATALINA HOME NOT FOUND !" /></installerrequirements> Exception F:\EMS28March\Code\EMS\installer>call java -jar ems-installer.jar - ERROR - java.lang.NullPointerException java.lang.NullPointerException at java.lang.StringBuffer.<init>(Unknown Source) at com.izforge.izpack.rules.RulesEngine.getCondition(Unknown Source) at com.izforge.izpack.installer.InstallerBase.checkInstallerRequirements (Unknown Source) at com.izforge.izpack.installer.GUIInstaller.<init>(Unknown Source) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou rce) at java.lang.reflect.Constructor.newInstance(Unknown Source) at java.lang.Class.newInstance0(Unknown Source) at java.lang.Class.newInstance(Unknown Source) at com.izforge.izpack.installer.Installer.main(Unknown Source) PLEASE HELP I ALREADY INVESTED ENOUGH TIME ON THIS.
    via by Abhishek Sharma,
  • Legacy issues from Codehaus JIRA
    via by Unknown author,
    • java.lang.NullPointerException at java.lang.StringBuffer.<init>(Unknown Source) at NewPoints.NextQ(NewPoints.java:186) at NewPoints.init(NewPoints.java:68) at sun.applet.AppletPanel.run(Unknown Source) at java.lang.Thread.run(Unknown Source)

    Users with the same issue

    Unknown visitor2 times, last one,