MohamedMustafaAli / androidscreencast

Automatically exported from code.google.com/p/androidscreencast
0 stars 0 forks source link

netx: Invalid XML document syntax. #18

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I use Debian GNU/Linux 64Bit
I got a HTC Hero running Firmware 1.5 (modaco rom 2.9)
I compiled the android source, so i get adb in my path and it works very
well (#adb shell, #adb pull etc...)
> # adb version
> Android Debug Bridge version 1.0.25

I downloaded androidscreencast v0.2 to my desktop.
I run it per jawaws a screen comes
I can choose the temp dir. it's set to "/tmp"
I click ok and the screen disappears
On the console the programm terminates and following message shows up.
> $ javaws androidscreencast-0_2.jnlp 
> netx: Invalid XML document syntax.

I tested it with user rights and root rights.

Original issue reported on code.google.com by remyboeh...@gmail.com on 22 Nov 2009 at 10:36

GoogleCodeExporter commented 8 years ago
Can you post the output of "java -version" ?

Original comment by thiel.al...@gmail.com on 26 Jan 2010 at 2:45

GoogleCodeExporter commented 8 years ago
java version "1.5.0_17"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_17-b04)
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_17-b04, mixed mode)

with a newer version (1.6.0.12) it starts but gives following error
java version "1.6.0_12"
Java(TM) SE Runtime Environment (build 1.6.0_12-b04)
Java HotSpot(TM) 64-Bit Server VM (build 11.2-b01, mixed mode)

Error: TImeout getting devices list!

java.lang.RuntimeException: Timeout getting device list!
    at net.srcz.android.screencast.Main.waitDeviceList(Main.java:86)
    at net.srcz.android.screencast.Main.initialize(Main.java:37)
    at net.srcz.android.screencast.Main.<init>(Main.java:25)
    at net.srcz.android.screencast.Main.main(Main.java:107)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sun.javaws.Launcher.executeApplication(Launcher.java:1302)
    at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1248)
    at com.sun.javaws.Launcher.doLaunchApp(Launcher.java:1066)
    at com.sun.javaws.Launcher.run(Launcher.java:116)
    at java.lang.Thread.run(Thread.java:619)

Original comment by remyboeh...@gmail.com on 26 Jan 2010 at 8:06

GoogleCodeExporter commented 8 years ago
addition, I tried the actual version! don't know if this version is newer.

Original comment by remyboeh...@gmail.com on 26 Jan 2010 at 8:07

GoogleCodeExporter commented 8 years ago
using Java 1.6, just type "adb devices" before launching the app as a 
workaround to a
known bug of the actual version and the timeout message will disapear

Original comment by thiel.al...@gmail.com on 26 Jan 2010 at 9:01