rolandcr Posted August 17, 2011 Share Posted August 17, 2011 At our company we have 3 Citrix farms and publish APP-V applicationsI have created an APP-V package of iReport and published it on the 3 Citrix farms. But on one farm I get an error message during startup of iReport. When clicking [Cancel] on the popup iReport startsup and works fine. But I want to get rid of the error message.A java.lang.NulPointerException exception has occuredDetails of this error message are:java.lang.NullPointerException at org.netbeans.modules.autoupdate.ui.actions.AutoupdateSettings.getSuperIdentity(AutoupdateSettings.java:338) at org.netbeans.modules.autoupdate.ui.actions.AutoupdateSettings.generateIdentity(AutoupdateSettings.java:126) at org.netbeans.modules.autoupdate.ui.actions.AutoupdateCheckScheduler.signOn(AutoupdateCheckScheduler.java:109) at org.netbeans.modules.autoupdate.ui.actions.Installer.restored(Installer.java:58) at org.netbeans.core.startup.NbInstaller.loadCode(NbInstaller.java:419) at org.netbeans.core.startup.NbInstaller.load(NbInstaller.java:340) at org.netbeans.ModuleManager.enable(ModuleManager.java:906) at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:428) at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:364) at org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:276) at org.netbeans.core.startup.Main.getModuleSystem(Main.java:165) at org.netbeans.core.startup.Main.start(Main.java:312) at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:110)[catch] at java.lang.Thread.run(Unknown Source) Here is the content of the message.log file ------------------------------------------------------------------------------->Log Session: Wednesday, August 17, 2011 10:33:46 AM CEST>System Info: Product Version = Jaspersoft iReport Designer 4.0.2 Operating System = Windows 2003 version 5.2 running on x86 Java; VM; Vendor = 1.6.0_26; Java HotSpot Client VM 20.1-b02; Sun Microsystems Inc. Runtime = Java SE Runtime Environment 1.6.0_26-b03 Java Home = C:\Program Files\Java\jre6 System Locale; Encoding = nl_NL (ireport); Cp1252 Home Directory = C:\ Current Directory = Q:\iReport.V1 User Directory = W:\.ireport\4.0.2 Installation = Q:\iReport.V1\ireport Q:\iReport.V1\ide10 Q:\iReport.V1\nb6.5 Q:\iReport.V1\platform9 Boot & Ext. Classpath = C:\Program Files\Java\jre6\lib\resources.jar;C:\Program Files\Java\jre6\lib\rt.jar;C:\Program Files\Java\jre6\lib\sunrsasign.jar;C:\Program Files\Java\jre6\lib\jsse.jar;C:\Program Files\Java\jre6\lib\jce.jar;C:\Program Files\Java\jre6\lib\charsets.jar;C:\Program Files\Java\jre6\lib\modules\jdk.boot.jar;C:\Program Files\Java\jre6\classes;C:\Program Files\Java\jre6\lib\ext\dnsns.jar;C:\Program Files\Java\jre6\lib\ext\localedata.jar;C:\Program Files\Java\jre6\lib\ext\sunjce_provider.jar;C:\Program Files\Java\jre6\lib\ext\sunmscapi.jar;C:\Program Files\Java\jre6\lib\ext\sunpkcs11.jar Application Classpath = Q:\iReport.V1\platform9\lib\org-openide-util.jar;Q:\iReport.V1\platform9\lib\org-openide-modules.jar;Q:\iReport.V1\platform9\lib\boot.jar Startup Classpath = Q:\iReport.V1\platform9\core\org-openide-filesystems.jar;Q:\iReport.V1\platform9\core\core.jar;Q:\iReport.V1\platform9\core\locale\org-openide-filesystems_zh_TW.jar;Q:\iReport.V1\platform9\core\locale\org-openide-filesystems_zh_CN.jar;Q:\iReport.V1\platform9\core\locale\org-openide-filesystems_sq.jar;Q:\iReport.V1\platform9\core\locale\org-openide-filesystems_pt_BR.jar;Q:\iReport.V1\platform9\core\locale\org-openide-filesystems_pl.jar;Q:\iReport.V1\platform9\core\locale\org-openide-filesystems_ja.jar;Q:\iReport.V1\platform9\core\locale\org-openide-filesystems_it.jar;Q:\iReport.V1\platform9\core\locale\org-openide-filesystems_fr.jar;Q:\iReport.V1\platform9\core\locale\org-openide-filesystems_es.jar;Q:\iReport.V1\platform9\core\locale\org-openide-filesystems_de.jar;Q:\iReport.V1\platform9\core\locale\core_zh_TW.jar;Q:\iReport.V1\platform9\core\locale\core_zh_CN.jar;Q:\iReport.V1\platform9\core\locale\core_sq.jar;Q:\iReport.V1\platform9\core\locale\core_pt_BR.jar;Q:\iReport.V1\platform9\core\locale\core_pl.jar;Q:\iReport.V1\platform9\core\locale\core_ja.jar;Q:\iReport.V1\platform9\core\locale\core_it.jar;Q:\iReport.V1\platform9\core\locale\core_fr.jar;Q:\iReport.V1\platform9\core\locale\core_es.jar;Q:\iReport.V1\platform9\core\locale\core_de.jar;Q:\iReport.V1\ireport\core\locale\core_ireport.jar;Q:\iReport.V1\nb6.5\core\locale\org-netbeans-upgrader_zh_TW.jar;Q:\iReport.V1\nb6.5\core\locale\org-netbeans-upgrader_zh_CN.jar;Q:\iReport.V1\nb6.5\core\locale\org-netbeans-upgrader_pt_BR.jar;Q:\iReport.V1\nb6.5\core\locale\org-netbeans-upgrader_ja.jar;Q:\iReport.V1\nb6.5\core\locale\org-netbeans-upgrader_it.jar;Q:\iReport.V1\nb6.5\core\locale\org-netbeans-upgrader_es.jar;Q:\iReport.V1\nb6.5\core\locale\org-netbeans-upgrader_de.jar;Q:\iReport.V1\nb6.5\core\locale\core_nb_zh_TW.jar;Q:\iReport.V1\nb6.5\core\locale\core_nb_zh_CN.jar;Q:\iReport.V1\nb6.5\core\locale\core_nb_pt_BR.jar;Q:\iReport.V1\nb6.5\core\locale\core_nb_ja.jar;Q:\iReport.V1\nb6.5\core\locale\core_nb_it.jar;Q:\iReport.V1\nb6.5\core\locale\core_nb_es.jar;Q:\iReport.V1\nb6.5\core\locale\core_nb_de.jar-------------------------------------------------------------------------------WARNING [org.netbeans.core.modules]: had to upgrade dependencies for module com.jaspersoft.ireport: added = [module org.netbeans.modules.options.api/1 > 1.4, module org.netbeans.modules.db/1 > 1.24] removed = [module org.netbeans.modules.db/0-1 > 1.21.0.5, module org.netbeans.modules.options.api/0-1 > 1.5.1]; details: [Major release version of module changed from 0 to 1 to signal stability; update your dependencies]WARNING [org.netbeans.core.modules]: the module org.netbeans.modules.db uses org.openide.options which is deprecated: Use org.openide.util.NbPreferences instead.WARNING [org.netbeans.core.modules]: the module org.netbeans.modules.xml.text uses org.netbeans.modules.editor.deprecated.pre61completion which is deprecated.Prop1: net.sf.jasperreports.xpath.executer.factory: net.sf.jasperreports.engine.util.xml.JaxenXPathExecuterFactoryProp2: net.sf.jasperreports.xpath.executer.factory: net.sf.jasperreports.engine.util.xml.JaxenXPathExecuterFactorySEVERE [org.netbeans.core.modules]java.lang.NullPointerException at org.netbeans.modules.autoupdate.ui.actions.AutoupdateSettings.getSuperIdentity(AutoupdateSettings.java:338) at org.netbeans.modules.autoupdate.ui.actions.AutoupdateSettings.generateIdentity(AutoupdateSettings.java:126) at org.netbeans.modules.autoupdate.ui.actions.AutoupdateCheckScheduler.signOn(AutoupdateCheckScheduler.java:109) at org.netbeans.modules.autoupdate.ui.actions.Installer.restored(Installer.java:58) at org.netbeans.core.startup.NbInstaller.loadCode(NbInstaller.java:419)[catch] at org.netbeans.core.startup.NbInstaller.load(NbInstaller.java:340) at org.netbeans.ModuleManager.enable(ModuleManager.java:906) at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:428) at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:364) at org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:276) at org.netbeans.core.startup.Main.getModuleSystem(Main.java:165) at org.netbeans.core.startup.Main.start(Main.java:312) at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:110) at java.lang.Thread.run(Unknown Source)com.jaspersoft.ireport.designer.IRURLClassLoadercom.jaspersoft.ireport.designer.ReportClassLoaderorg.netbeans.ModuleManager$SystemClassLoadersun.misc.Launcher$AppClassLoadersun.misc.Launcher$ExtClassLoaderINFO [org.netbeans.core.startup.NbEvents]: Turning on modules: org.openide.util [7.18.1.1 1 200903060201] org.openide.modules [7.7.1 200903060201] org.openide.awt [7.3.1.1 200903060201] org.jdesktop.layout/1 [1.6.1 1.0.3 200903060201] org.netbeans.api.progress/1 [1.12.1.1 1 200903060201] org.openide.dialogs [7.8.1 200903060201] org.netbeans.swing.outline [1.1.1 200903060201] org.openide.nodes [7.7.3.1 200903060201] org.openide.explorer [6.16.3 1 200903060201] org.openide.windows [6.24.1 200903060201] org.openide.filesystems [7.13.1.1.1 1 200903060201] org.netbeans.modules.editor.mimelookup/1 [1.10.1 200903060201] org.openide.text [6.21.2 200903060201] org.openide.actions [6.8.1.1 200903060201] org.netbeans.modules.editor.util/1 [1.25.1 200903060201] org.netbeans.modules.lexer/2 [1.29.1.1 1 200903060201] org.netbeans.modules.queries/1 [1.13.1 200903060201] org.openide.loaders [7.2.3 200903060201] org.openidex.util/3 [3.15.1 200903060201] org.netbeans.modules.editor.settings/1 [1.22.1 200903060201] org.netbeans.swing.tabcontrol [1.13.1 200903060201] org.netbeans.modules.editor.lib2/1 [1.8.1.2 2 200903060201] org.netbeans.modules.editor.fold/1 [1.9.1 200903060201] org.netbeans.modules.editor.lib/1 [1.29.2.8.2 8 200903060201] org.netbeans.modules.projectapi/1 [1.19.2 200903060201] org.netbeans.modules.editor.indent/2 [1.9.1.8 200903060201] org.netbeans.modules.editor/3 [1.41.1.3.8.2 3 200903060201] org.netbeans.modules.masterfs/2 [2.15.2 200903060201] org.netbeans.spi.quicksearch [1.0.1 200903060201] org.netbeans.modules.options.api/1 [1.10.2 200903060201] org.netbeans.libs.xerces/1 [1.12.1 2.8.0 200903060201] org.netbeans.modules.editor.settings.storage/1 [1.18.1 200903060201] org.netbeans.modules.editor.completion/1 [1.13.2 1 200903060201] org.netbeans.modules.editor.errorstripe.api/1 [2.5.1.1 1 200903060201] org.netbeans.modules.editor.bracesmatching/0 [1.6.1 200903060201] org.netbeans.spi.navigator/1 [1.7.1 200903060201] org.netbeans.modules.languages/0 [1.90.1.1 1 200903060201] org.netbeans.bootstrap/1 [2.15.1 200903060201] org.netbeans.modules.sendopts/2 [2.3.1 200903060201] org.netbeans.api.visual [2.17.1 200903060201] org.netbeans.spi.palette/1 [1.14.1 200903060201] org.netbeans.modules.favorites/1 [1.14.3 200903060201] org.netbeans.modules.classfile/1 [1.21.1 200903060201] org.openide.options [6.9.1 200903060201] org.openide.io [1.13.1 200903060201] org.netbeans.core.startup/1 [1.14.1.1 200903060201] org.netbeans.modules.javahelp/1 [2.11.1 200903060201] org.netbeans.modules.db/1 [1.30.3.30 30 200903060201] org.netbeans.core.multiview/1 [1.12.1 200903060201] com.jaspersoft.ireport/1 [1.0 1 110419] org.netbeans.modules.db.dataview [1.0.3 200903060201] org.netbeans.core.output2/1 [1.10.1.1 1 200903060201] org.netbeans.modules.db.core [1.7.3 200903060201] org.netbeans.modules.dbapi [1.7.1.30 200903060201] org.netbeans.modules.db.metadata.model/0 [0.1.1 200903060201] org.netbeans.modules.db.sql.editor [1.7.1.30 200903060201] org.netbeans.modules.projectuiapi/1 [1.31.1.6 6 200903060201] org.netbeans.modules.options.keymap [1.4.1 200903060201] org.netbeans.modules.editor.macros/0 [1.2.1.1.8 1 200903060201] org.netbeans.swing.plaf [1.8.1 200903060201] org.netbeans.core/2 [3.10.4.1 200903060201] org.openide.execution [1.12.1 200903060201] org.netbeans.core.execution/1 [1.12.1.1 200903060201] org.netbeans.modules.settings/1 [1.15.1 200903060201] org.netbeans.libs.jaxb/1 [1.3.1 200903060201] org.netbeans.libs.jna/1 [1.1.2 200903060201] org.netbeans.modules.db.mysql [0.1.3 2 200903060201] org.netbeans.modules.editor.errorstripe/2 [2.5.1.1.1 1 200903060201] org.netbeans.modules.options.editor/1 [1.10.1 200903060201] org.netbeans.modules.diff/1 [1.20.1.42.1 42 200903060201] org.netbeans.modules.editor.guards/1 [1.2.1 200903060201] org.netbeans.modules.refactoring.api [1.4.1 200903060201] org.netbeans.core.windows/2 [2.12.3.1 200903060201] org.netbeans.modules.xml.lexer [1.3.1 200903060201] org.netbeans.modules.editor.deprecated.pre61settings/0 [1.1.0.1.3.8 1 200903060201] org.netbeans.modules.editor.deprecated.pre61completion/0 [1.0.1 200903060201] org.netbeans.libs.jsr223/1 [1.8.1 6 200903060201] org.netbeans.modules.editor.structure/1 [1.17.1.1 1 200903060201] org.netbeans.modules.print [6.5.1 200903060201] com.jaspersoft.ireport.jasperserver [1.0 110419] com.jaspersoft.ireport.designer.standalone [1.0 110419] org.netbeans.modules.templates [1.3.1 200903060201] org.netbeans.modules.db.drivers [1.2.1 200903060201] org.netbeans.modules.autoupdate.services [1.5.2 200903060201] org.netbeans.modules.autoupdate.ui [1.5.1 200903060201] org.netbeans.api.xml/1 [1.16.1 200903060201] org.netbeans.modules.xml.core/2 [1.15.1.4 4 200903060201] org.netbeans.modules.xml.text/2 [1.16.2.5 5 200903060201] org.netbeans.modules.progress.ui [1.2.1 200903060201] org.netbeans.core.nativeaccess/1 [1.1.2 200903060201] org.netbeans.core.ui/1 [1.12.1 200903060201] com.jaspersoft.ireport.samples [1.0 110419] com.jaspersoft.ireport.addons [1.0 110419] org.netbeans.modules.updatecenters/1 [1.13.1 200903060201] org.netbeans.modules.defaults/1 [1.5.1 200903060201] com.jaspersoft.ireport.heartbeat [1.0 110419] org.netbeans.modules.web.flyingsaucer/1 [1.2.1 1 200903060201] org.netbeans.modules.languages.refactoring/0 [1.0.1.1 1 200903060201] org.netbeans.modules.editor.mimelookup.impl/1 [1.3.1 200903060201] com.jaspersoft.jrx [1.0 110419] org.netbeans.modules.utilities/1 [1.29.1 200903060201] org.netbeans.modules.extbrowser/1 [1.13.1 200903060201] org.netbeans.modules.projectui [1.15.3.1.6 1 200903060201] org.netbeans.core.ide/1 [1.12.1 200903060201] com.jaspersoft.ireport.components [1.0 110419] org.netbeans.modules.properties/1 [1.25.2 200903060201] org.netbeans.modules.properties.syntax/1 [1.20.1 200903060201] org.netbeans.modules.db.sql.visualeditor/1 [2.3.1.30 200903060201] org.netbeans.modules.editor.plain.lib/1 [1.6.1 200903060201] org.netbeans.modules.editor.plain/2 [1.7.1 200903060201] Some explaining of the driveletters:C: C-Drive of the Citrix serverQ: Virtual drive from which the APP-V package runsW: Drive where the userprofile is stored. I have checked numerous this trying to find differences between the 3 citrix farms but haven't come up with enything. I have little understanding of Java on this level so I am hoping someone can push me in the right direction. Link to comment Share on other sites More sharing options...
rolandcr Posted August 25, 2011 Author Share Posted August 25, 2011 Ok, I did some more investigation and discovered that the Home Directory is set to C:\The user does not have write permissions on the C-Drive of the server.Is there a way to hard-code the Home Directory to another disk?I'm sure it is set in some file in the NetBeans part of iReport. Or hardcoded or via a variable.If someone could tell me were this setting is set, then I can hardcode the Home Directory to my likingThanks in advance Link to comment Share on other sites More sharing options...
Giulio Toffoli Posted August 25, 2011 Share Posted August 25, 2011 The home directory is taken by the variable user.home (java property). So you can set this property to the java command line used to start iReport (this can be done i.e. by changing the etc/ireport.conf and add something like -Duser.home=some_path Giulio Link to comment Share on other sites More sharing options...
rolandcr Posted August 25, 2011 Author Share Posted August 25, 2011 I already changed a variable in this file as you can see in the code.This change was to configure the profiledirectory for the user which is on the W-drive. I added a variable as you told but it did not work. These are the things I tried:Duser.home=U:\Duser.home="U:\"default_homedir="U:\"Code:# ${HOME} will be replaced by user home directory according to platformdefault_userdir="W:/.${APPNAME}/4.0.2"#default_mac_userdir="${HOME}/Library/Application Support/${APPNAME}/4.0.2"# options used by the launcher by default, can be overridden by explicit# command line switchesdefault_options="--branding ireport -J-Xms256m -J-Xmx512m -J-Dorg.netbeans.ProxyClassLoader.level=1000 -J-XX:MaxPermSize=512m"# for development purposes you may wish to append: -J-Dnetbeans.logger.console=true -J-ea# default location of JDK/JRE, can be overridden by using --jdkhome <dir> switch#jdkhome="/path/to/jdk"# clusters' paths separated by path.separator (semicolon on Windows, colon on Unices)#extra_clusters= Link to comment Share on other sites More sharing options...
rolandcr Posted August 26, 2011 Author Share Posted August 26, 2011 Woops, I did read you post well.I changed the default options and now the Home Directory is set to U:\Thanks for the support Code:default_options="--branding ireport -J-Xms256m -J-Xmx512m -J-Dorg.netbeans.ProxyClassLoader.level=1000 -J-XX:MaxPermSize=512m -J-Duser.home=U:\" Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now