#12 Radio mode causes front end to crash

open
nobody
None
5
2003-10-28
2003-10-28
Matt Henson
No

This was originally posted on the Rio Receiver BBS. The
problem continues to occur in alpha5...

I somehow managed to break the web manager. It
would come up on the Status tab, but when I clicked on
the 'Player' tab, it would not do anything. I checked the
Java Console, which indicated this error:
java.lang.IllegalArgumentException:setSelectedIndex: 2
out of bounds

I found that if I restored the trio.xml that was part of
the distribution (and edited it as I started), it would
work again. So, I played with it until it broke and
compared the files. It will break when the manager is
left on the Radio function when the tRio manager's
Status tab is selected and the manager page is re-
loaded. There are probably other ways to reproduce the
problem, but the problem seems to be related to the
addition of an extra parameter in trio.xml. The following
lines are from the <application> section of trio.xml:

Comparing files trio.xml and TRIO.OK.XML
***** trio.xml
<unit mode="Queue 'n Play" layout="universal"
access="protected"/>
<unit ip="192.168.0.3" mode="Radio" station="Virgin
Radio"/>

***** TRIO.OK.XML
<unit mode="Queue 'n Play" layout="universal"
access="protected"/>
<unit ip="192.168.0.3"/>
*****

So, you can see the extra:
mode="Radio" station="Virgin Radio"
text on the version that causes it to choke. It looks like
I can make it work again by going to the receiver and
switching the mode back to Queue N' Play. I'm using
ARM 1.04.

-Matt

Discussion

  • Paul Noffke
    Paul Noffke
    2003-11-01

    Logged In: YES
    user_id=696357

    Have located the problem. Need someone to test the fix.

     
  • Matt Henson
    Matt Henson
    2003-11-02

    Logged In: YES
    user_id=895024

    I'd be happy to test it. P-mail me hensonator AT yahoo DOT
    com

    Thanks,
    Matt