Description of problem: just started the program from the notification area Version-Release number of selected component: thermostat-0.9.2-6.fc20 Additional info: reporter: libreport-2.1.8 cmdline: java -agentpath:/usr/lib64/libabrt-java-connector.so=abrt=on -cp /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.25-2.3.12.4.fc20.x86_64/jre/../lib/tools.jar:/home/fred/.thermostat/libs/* com.redhat.thermostat.main.Thermostat gui executable: /usr/share/thermostat/libs/thermostat-main-0.9.2.jar java_executable: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.3.0.fc20.x86_64/jre-abrt/bin/java kernel: 3.11.6-301.fc20.x86_64 pid: 12321 runlevel: N 5 uid: 1000 Truncated backtrace: #1 java.io.FileNotFoundException: /home/fred/.thermostat/libs/jansi.jar (Aucun fichier ou dossier de ce type) #2 at java.io.FileInputStream.open(Native Method) [file:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.3.0.fc20.x86_64/jre/lib/rt.jar] #3 at java.io.FileInputStream.<init>(FileInputStream.java:146) [file:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.3.0.fc20.x86_64/jre/lib/rt.jar] #4 at java.io.FileInputStream.<init>(FileInputStream.java:101) [file:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.3.0.fc20.x86_64/jre/lib/rt.jar] #5 at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90) [file:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.3.0.fc20.x86_64/jre/lib/rt.jar] #6 at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188) [file:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.3.0.fc20.x86_64/jre/lib/rt.jar] #7 at org.apache.felix.framework.util.SecureAction.getURLConnectionInputStream(SecureAction.java:524) [file:/usr/share/java/felix/org.apache.felix.framework.jar] #8 at org.apache.felix.framework.cache.JarRevision.initialize(JarRevision.java:165) [file:/usr/share/java/felix/org.apache.felix.framework.jar] #9 at org.apache.felix.framework.cache.JarRevision.<init>(JarRevision.java:77) [file:/usr/share/java/felix/org.apache.felix.framework.jar] #10 at org.apache.felix.framework.cache.BundleArchive.createRevisionFromLocation(BundleArchive.java:878) [file:/usr/share/java/felix/org.apache.felix.framework.jar]
Created attachment 817115 [details] File: backtrace
Created attachment 817116 [details] File: environ
Created attachment 817117 [details] File: jvm_environment
Seems like a broken symbolic link in the package. [~] file /usr/share/thermostat/libs/jansi.jar /usr/share/thermostat/libs/jansi.jar: broken symbolic link to `/usr/share/java/jansi.jar' [~] ll /usr/share/thermostat/libs/jansi.jar lrwxrwxrwx 1 root root 25 29 oct. 16:32 /usr/share/thermostat/libs/jansi.jar -> /usr/share/java/jansi.jar
fixed by sudo ln -s /usr/share/java/jansi-native/jansi-native.jar /usr/share/java/jansi.jar
however [~] thermostat shell Thermostat version 0.9.2 Caught NoClassDefFoundError! Check pom for the missing class: "org/fusesource/jansi/AnsiOutputStream". Its package may not be listed.
Thanks for the bug-report. I'm about to update thermostat to latest upstream v0.15.0. The missing symlink was already known. The NoClassDeFoundError suggests osgi problems. I'll take a closer look once I have newer thermostat ready. I would appreciate testing once I've built newer thermostat in koji, though. For the time being F19's thermostat should work.
Fred, there's a new build available for F20 with latest thermostat: http://koji.fedoraproject.org/koji/buildinfo?buildID=476340 While testing it I didn't run into issues you are describing here. I'd appreciate you testing this build as well if you feel like it :) Any feedback is very welcome. Thanks! In any case, please let me know if you can still reproduce with the updated package.
thermostat shell doesnt crash anymore with the version downloaded from koji. thx for looking into the issue!
(In reply to fred from comment #9) > thermostat shell doesnt crash anymore with the version downloaded from koji. > thx for looking into the issue! OK, cool. Thanks! Closing.