Bug 4591 - Softsqueeze does not function with Java 6
: Softsqueeze does not function with Java 6
Status: RESOLVED DUPLICATE of bug 4547
Product: Logitech Media Server
Classification: Unclassified
Component: Softsqueeze
: 6.5.1
: PC Windows XP
: P2 normal (vote)
: ---
Assigned To: Chris Owens
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-12-13 03:30 UTC by Mick
Modified: 2006-12-20 01:49 UTC (History)
0 users

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mick 2006-12-13 03:30:18 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.
Comment 1 KDF 2006-12-13 15:17:13 UTC
bug 4547 related?
Comment 2 Mick 2006-12-14 08:33:30 UTC
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.
Comment 3 Richard Titmuss 2006-12-16 11:50:04 UTC
Mick, had you ever run Softsqueeze on this machine before? And if so what version of Java was it using?
Comment 4 Mick 2006-12-17 13:44:10 UTC
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.
Comment 5 Mick 2006-12-17 13:57:42 UTC
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.&lt;init&gt;(Skin.java:99)
	at org.titmuss.softsqueeze.Softsqueeze.openSkins(Softsqueeze.java:254)
	at org.titmuss.softsqueeze.Softsqueeze.&lt;init&gt;(Softsqueeze.java:155)
	at org.titmuss.softsqueeze.Softsqueeze.&lt;init&gt;(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>
Comment 6 Richard Titmuss 2006-12-20 01:49:42 UTC
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 ***