The java application net-nds/jxplorer-3.2 fails at startup with an error message: Cannot parse this name: UNUSED The configuration files are at default state (freshly installed). This error message can be avoided by setting the log level to 1 in file .jxplorer/jxconfig.txt: com.ca.level=1 Reproducible: Always Steps to Reproduce: 1. Start application (error can be seen in the console/xterm/etc.): jxplorer Actual Results: mkdir: created directory `/home/jgeiss/.jxplorer' `/usr/share/jxplorer//connections.txt' -> `/home/jgeiss/.jxplorer/connections.txt' `/home/jgeiss/.jxplorer/htmldocs' -> `/usr/share/jxplorer//htmldocs' `/home/jgeiss/.jxplorer/icons' -> `/usr/share/jxplorer//icons' `/home/jgeiss/.jxplorer/images' -> `/usr/share/jxplorer//images' `/home/jgeiss/.jxplorer/templates' -> `/usr/share/jxplorer//templates' Jun 8, 2011 9:18:08 PM com.ca.directory.jxplorer.JXplorer printTime INFO: main start TIME: Wed Jun 08 21:18:07 CEST 2011 (728) Jun 8, 2011 9:18:08 PM com.ca.directory.jxplorer.JXplorer checkJavaEnvironment INFO: running java from: /opt/ibm-jdk-bin-1.6.0.9_p1/jre Jun 8, 2011 9:18:08 PM com.ca.directory.jxplorer.JXplorer checkJavaEnvironment INFO: running java version 1.6.0 Jun 8, 2011 9:18:12 PM com.ca.commons.cbutil.CBUtility readPropertyFile WARNING: No property list: /home/jgeiss/.jxplorer/jxconfig.txt Jun 8, 2011 9:18:12 PM com.ca.directory.jxplorer.JXplorer setupLogger INFO: setting up logger Exception in thread "main" java.lang.IllegalArgumentException: Cannot parse this name: UNUSED at java.util.logging.Level.parse(Level.java:146) at java.util.logging.LogManager.readConfigurationImpl(LogManager.java:526) at java.util.logging.LogManager.readConfiguration(LogManager.java:549) at com.ca.directory.jxplorer.JXplorer.setupLogger(Unknown Source) at com.ca.directory.jxplorer.JXplorer.<init>(Unknown Source) at com.ca.directory.jxplorer.JXplorer.main(Unknown Source) Expected Results: No error and correct starting jxplorer.
Created attachment 287009 [details, diff] jxplorer-3.2.ebuild patch to include attached patch. ebuild patch attached to include jxconfig.txt patch
Created attachment 287011 [details, diff] Patch for jxconfig.txt jxconfig.txt patch to change UNUSED to WARNING
Also did an EAPI bump to 4 for posterity.
*jxplorer-3.2-r1 (19 Oct 2011) 19 Oct 2011; Miroslav Šulc <fordfrog@gentoo.org> +files/3.2-com.ca.level.patch, +jxplorer-3.2-r1.ebuild: Fixed startup exception complaining about bad logging level (bug #381557, based on patches from John Crist <johncrist88@gmail.com>)