Bugzilla – Bug 4591
Softsqueeze does not function with Java 6
Last modified: 2006-12-20 01:49:42 UTC
On a machine with just the Sun Java 6 JVM installed, Softsqueeze will not run at all as a stand-alone app. It does function as an applet. I tried running with and without the Java MP3 plugin. But the app just sits there and fails to talk to Slimserver. No new client shows up in the Web-UI.
bug 4547 related?
Hard to know if this bug is a dupe. In my case, Softsqueeze seemed to hang completly on start-up. It didn't appear as a player within the web-ui, so I didn't think there was much point in enabling server side logging (I didn't know what logging to enable either). I also could not get to the Softsqueeze config dialog, so I could not check to see if there were any client errors. It is strange that it works fine as an applet within a web-page.
Mick, had you ever run Softsqueeze on this machine before? And if so what version of Java was it using?
Richard, Yes, Softsqueeze ran fine with Java 1.5 versions 02 - 09. Version 1.5.0.9 took some playing around with to get working correctly. Java 6 (1.6) was done as a clean install. I uninstalled Java 1.5, deleted all remaining directories up to c:\program files\java and took all references to 1.5 out of both the registry and the classpath/path env variables. As mentioned, this is some minor bug to do with starting as an application becuase Softsqueeze runs fine as an applet within Firefox.
Richard, I enabled tracing in the Java control panel and found the log files. Even though the control panel applet gives you no help to tell you where these files will be written to. Anyway in C:\Documents and Settings\Michael\Application Data\Sun\Java\Deployment\log I found a log file containing the following. <?xml version="1.0" encoding="windows-1252" standalone="no"?> <!DOCTYPE log SYSTEM "logger.dtd"> <log> <record> <date>2006-12-17T21:53:41</date> <millis>1166392421167</millis> <sequence>0</sequence> <logger>com.sun.deploy</logger> <level>FINE</level> <class>com.sun.deploy.util.LoggerTraceListener</class> <method>print</method> <thread>10</thread> <message>15 [javawsApplicationMain] WARN softsqueeze - Exception java.lang.IllegalArgumentException: defaultCloseOperation must be one of: DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE, or DISPOSE_ON_CLOSE at javax.swing.JDialog.setDefaultCloseOperation(Unknown Source) at org.titmuss.softsqueeze.skin.SkinWindow.createContainer(SkinWindow.java:150) at org.titmuss.softsqueeze.skin.Skin.<init>(Skin.java:99) at org.titmuss.softsqueeze.Softsqueeze.openSkins(Softsqueeze.java:254) at org.titmuss.softsqueeze.Softsqueeze.<init>(Softsqueeze.java:155) at org.titmuss.softsqueeze.Softsqueeze.<init>(Softsqueeze.java:110) at org.titmuss.softsqueeze.Softsqueeze.main(Softsqueeze.java:493) at org.titmuss.softsqueeze.Application.main(Application.java:55) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.sun.javaws.Launcher.executeApplication(Unknown Source) at com.sun.javaws.Launcher.executeMainClass(Unknown Source) at com.sun.javaws.Launcher.doLaunchApp(Unknown Source) at com.sun.javaws.Launcher.run(Unknown Source) at java.lang.Thread.run(Unknown Source) </message> </record>
Mick the log confirms this is a duplicate of Bug 4547. Please try Softsqueeze 3.3, from sourceforge or in the next nightlies. *** This bug has been marked as a duplicate of 4547 ***