Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#252553 - 24/03/2005 05:49 tRio 1.6, Web App problems
Mister_Chris
stranger

Registered: 08/05/2003
Posts: 4
I had this same problem with 1.4 and 1.5 and I had fixed it a while back. However, I can't seem to figure out what the issue is with 1.6. I can get the applet to load just fine, but when I click on the receiver (left) and try to click on the "Player" tab, it highlights but nothing is changing. I can see the IP, MAC, and the name I gave it, too.

Clues?
_________________________
20 PC's with 1 Dell DAR and 1 Real Rio DAR

Top
#252554 - 28/03/2005 18:15 Re: tRio 1.6, Web App problems [Re: Mister_Chris]
Revwillie
new poster

Registered: 10/11/2004
Posts: 9
I've had this problem on a couple of versions of Trio, too.
Paul was emailing my beta builds just before 1.6 to test the html interface and in a couple of those builds the applet was broke. The applet was working with 1.6 up until last week when I installed java 1.5_02. That broke everything Trio at first. Now, I have disabled 1.5 for applications and the server and the html interface is working, but the appliet is not. I have seen no way to force applets to revert to java 1.4.

I set the java console up and it spits out these errors when I click on "player"

INFO: Remote exception while getting icon - server gone down?
java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
java.io.InvalidClassException: javax.swing.ImageIcon$AccessibleImageIcon; local class incompatible: stream classdesc serialVersionUID = -3994512798706967451, local class serialVersionUID = -1903458698681874148
at sun.rmi.server.UnicastRef.invoke(Unknown Source)
at trio.player.TRioPlayerApp_Stub.getIcon(Unknown Source)
at trio.applet.TRioAppletPlayerPanel.getIcon(Unknown Source)
at trio.applet.TRioAppletPlayerPanel.playbackUpdate(Unknown Source)
at trio.applet.TRioAppletPlayerPanel.init(Unknown Source)
at trio.applet.TRioAppletPlayerPanel.<init>(Unknown Source)
at trio.applet.TRioApplet.getUnitApplicationPanel(Unknown Source)
at trio.applet.TRioApplet$2.stateChanged(Unknown Source)
at javax.swing.JTabbedPane.fireStateChanged(Unknown Source)
at javax.swing.JTabbedPane$ModelListener.stateChanged(Unknown Source)
at javax.swing.DefaultSingleSelectionModel.fireStateChanged(Unknown Source)
at javax.swing.DefaultSingleSelectionModel.setSelectedIndex(Unknown Source)
at javax.swing.JTabbedPane.setSelectedIndexImpl(Unknown Source)
at javax.swing.JTabbedPane.setSelectedIndex(Unknown Source)
at javax.swing.plaf.basic.BasicTabbedPaneUI$Handler.mousePressed(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.io.InvalidClassException: javax.swing.ImageIcon$AccessibleImageIcon; local class incompatible: stream classdesc serialVersionUID = -3994512798706967451, local class serialVersionUID = -1903458698681874148
at java.io.ObjectStreamClass.initNonProxy(Unknown Source)
at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
at java.io.ObjectInputStream.readClassDesc(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
at java.io.ObjectInputStream.defaultReadObject(Unknown Source)
at javax.swing.ImageIcon.readObject(Unknown Source)
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 java.io.ObjectStreamClass.invokeReadObject(Unknown Source)
at java.io.ObjectInputStream.readSerialData(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at sun.rmi.server.UnicastRef.unmarshalValue(Unknown Source)
... 33 more
Exception in thread "AWT-EventQueue-2" java.lang.NullPointerException
at trio.applet.TRioAppletPlayerPanel.playbackUpdate(Unknown Source)
at trio.applet.TRioAppletPlayerPanel.init(Unknown Source)
at trio.applet.TRioAppletPlayerPanel.<init>(Unknown Source)
at trio.applet.TRioApplet.getUnitApplicationPanel(Unknown Source)
at trio.applet.TRioApplet$2.stateChanged(Unknown Source)
at javax.swing.JTabbedPane.fireStateChanged(Unknown Source)
at javax.swing.JTabbedPane$ModelListener.stateChanged(Unknown Source)
at javax.swing.DefaultSingleSelectionModel.fireStateChanged(Unknown Source)
at javax.swing.DefaultSingleSelectionModel.setSelectedIndex(Unknown Source)
at javax.swing.JTabbedPane.setSelectedIndexImpl(Unknown Source)
at javax.swing.JTabbedPane.setSelectedIndex(Unknown Source)
at javax.swing.plaf.basic.BasicTabbedPaneUI$Handler.mousePressed(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)


Edited by Revwillie (29/03/2005 02:38)

Top
#252555 - 03/04/2005 19:31 Re: tRio 1.6, Web App problems [Re: Revwillie]
pauln
enthusiast

Registered: 03/12/2001
Posts: 332
Loc: UK
To revert IE to use java 1.4:
- there should be a "Java Plug-in" on your Control Panel in windows
- there should be a drop down on the "Advanced" tab that allows you to choose the java Runtime Environment you want to use

Cheers
Paul

Top
#252556 - 03/04/2005 19:36 Re: tRio 1.6, Web App problems [Re: Mister_Chris]
pauln
enthusiast

Registered: 03/12/2001
Posts: 332
Loc: UK
When you open the front-end, a java cup should appear in your system tray. What does it say if you right click on this and choose the Open Console menu option?

Cheers
Paul

Top
#252557 - 07/04/2005 02:33 Re: tRio 1.6, Web App problems [Re: pauln]
rjv
stranger

Registered: 09/09/2003
Posts: 3
I've seen this issue with 0.1.5, but not with 0.1.6. What I noticed is that if I start a song from the Rio itself, and then go to the Player tab in the web applet, it works. However, if I reboot the Rios and try to go to the Player tab first thing, no luck. Typically, I just play a shoutcast stream once I reboot the box physically and then the web applet seems to work.

Hope this helps...

Rob

Top
#252558 - 12/04/2005 12:20 Re: tRio 1.6, Web App problems [Re: pauln]
Revwillie
new poster

Registered: 10/11/2004
Posts: 9
Quote:
To revert IE to use java 1.4:
- there should be a "Java Plug-in" on your Control Panel in windows
- there should be a drop down on the "Advanced" tab that allows you to choose the java Runtime Environment you want to use

Cheers
Paul


I made this change for java applications and it made it possible to run the trio server. There was no such choice in the tab for java applets (1.5 is the only choice I get). The html interface still works fine. In fact, I prefer the html interface over the java applet. I'm considering tweaking the web page to fit better on a desktop screen and have my desktop access a slightly different URL from the one my PDA accesses. Is that possible?


Edited by Revwillie (12/04/2005 12:21)

Top