What steps will reproduce the problem?
1. cd /
2. Run streambaby
What is the expected output? What do you see instead?
Expect streambaby to start up with:
Initializing StreamBaby v0.29...
05/17/10 20:20:57 Listener: added factory
05/17/10 20:20:57 Main: streambaby ready & listening.
Instead, I see:
Initializing StreamBaby v0.29...
Exception in thread "main" java.lang.ExceptionInInitializerError
at
com.unwiredappeal.tivo.streambaby.StreamBabyMain.main(StreamBabyMain.java:38)
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of
range: -1
at java.lang.String.substring(String.java:1938)
at
com.unwiredappeal.tivo.config.StreamBabyConfig.getCurDir(StreamBabyConfig.java:8
09)
at
com.unwiredappeal.tivo.config.StreamBabyConfig.setupDefaultDirectories(StreamBab
yConfig.java:815)
at
com.unwiredappeal.tivo.config.StreamBabyConfig.<clinit>(StreamBabyConfig.java:37
)
... 1 more
What version of the product are you using? On what operating system?
v0.29 on OpenSolaris 2009.06 (snv_111b).
Please provide any additional information below.
I encountered this while writing an SMF manifest for streambaby. It's easy
to workaround by running it from a different working directory, but it's
also an easy fix to line 795 of StreamBabyConfig.java.
Original issue reported on code.google.com by dave.pac...@gmail.com on 18 May 2010 at 3:26
Original issue reported on code.google.com by
dave.pac...@gmail.com
on 18 May 2010 at 3:26