flubbard
12-03-2008, 03:52 PM
I am just starting to play with HME development and am trying to get the Hello World application to run through the simulator. No problem on my Windows machine but will not run under Linux (Fedora).
When I run
java -cp simulator.jar:samples/samples.jar com.tivo.hme.sim.Simulator com.tivo.hme.samples.hello.HelloWorld
I get
LOG: added factory
MDNS: http://192.168.122.1:7288/hello/
Exception in thread "main" java.lang.NullPointerException
at com.tivo.hme.sim.Simulator$AddressPane$ListModel.insertEleme ntAt(Simulator.java:1035)
at com.tivo.hme.sim.Simulator$AddressPane$ListModel.addElement( Simulator.java:1023)
at javax.swing.JComboBox.addItem(libgcj.so.7rh)
at com.tivo.hme.sim.Simulator$AddressPane.setText(Simulator.jav a:931)
at com.tivo.hme.sim.Simulator.setURL(Simulator.java:517)
at com.tivo.hme.sim.Simulator.run(Simulator.java:530)
at com.tivo.hme.sim.Simulator.main(Simulator.java:860)
I don't think it's an IPv6 problem, though I did disable it just to be sure.
I do not understand why it is using the server address that it has. This is not the correct address for the local machine. Could this be causing my problem. If so, where is the host being grabbed from and how can I correct it.
Any help would be appreciated.
Thanks,
Flub
When I run
java -cp simulator.jar:samples/samples.jar com.tivo.hme.sim.Simulator com.tivo.hme.samples.hello.HelloWorld
I get
LOG: added factory
MDNS: http://192.168.122.1:7288/hello/
Exception in thread "main" java.lang.NullPointerException
at com.tivo.hme.sim.Simulator$AddressPane$ListModel.insertEleme ntAt(Simulator.java:1035)
at com.tivo.hme.sim.Simulator$AddressPane$ListModel.addElement( Simulator.java:1023)
at javax.swing.JComboBox.addItem(libgcj.so.7rh)
at com.tivo.hme.sim.Simulator$AddressPane.setText(Simulator.jav a:931)
at com.tivo.hme.sim.Simulator.setURL(Simulator.java:517)
at com.tivo.hme.sim.Simulator.run(Simulator.java:530)
at com.tivo.hme.sim.Simulator.main(Simulator.java:860)
I don't think it's an IPv6 problem, though I did disable it just to be sure.
I do not understand why it is using the server address that it has. This is not the correct address for the local machine. Could this be causing my problem. If so, where is the host being grabbed from and how can I correct it.
Any help would be appreciated.
Thanks,
Flub