anivar / androidscreencast

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

Java Web Start -Unexpected Error #60

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Device name : NA
Device rooted (yes/no) : YES
Device OS version (1.5/1.6/2.0,...) : 1.6

Computer OS and version (Mac,Win,Linux,...) : ubuntu 8.04
Java version (java -version from command line) : jdk6
ADB version (adb version from command line) :  only our device
AndroidScreencast version : latest

What steps will reproduce the problem?
1.Java Web Start -Unexpected Error
2.General:
An error occurred while launching/running the application.

Title: Android Screencast
Vendor: Alexandre Thiel
Category: Unexpected Error

Unexpected exception: java.lang.reflect.InvocationTargetException

3.Launch file:
<?xml version="1.0" encoding="utf-8"?>
<jnlp spec="0.2 1.0"
      codebase="http://androidscreencast.googlecode.com/svn/trunk/AndroidScreencast/dist/"
      href="androidscreencast.jnlp">
   <information> 
      <title>Android Screencast</title> 
      <vendor>Alexandre Thiel</vendor>
      <homepage href="http://code.google.com/p/androidscreencast/"/>
      <description>Control an android device remotely !</description>
      <description kind="short">Control an android device remotely</description>
      <offline-allowed/> 
      <shortcut online="true"/>
      <update check="timeout" policy="always"/>
   </information> 
   <resources>
      <j2se version="1.5+" href="http://java.sun.com/products/autodl/j2se"/>
      <j2se version="1.5+"/>
      <jar href="androidscreencast.jar" main="true" download="eager"/>
      <jar href="ddmlib.jar" main="false" download="eager"/>
   </resources>
   <application-desc main-class="net.srcz.android.screencast.Main"/>
   <security>
       <all-permissions/>
    </security> 

</jnlp> 

4.exception:
java.lang.reflect.InvocationTargetException
    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:585)
    at com.sun.javaws.Launcher.executeApplication(Launcher.java:1200)
    at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1147)
    at com.sun.javaws.Launcher.continueLaunch(Launcher.java:990)
    at com.sun.javaws.Launcher.handleApplicationDesc(Launcher.java:519)
    at com.sun.javaws.Launcher.handleLaunchFile(Launcher.java:219)
    at com.sun.javaws.Launcher.run(Launcher.java:166)
    at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NoClassDefFoundError: 
javax/swing/filechooser/FileNameExtensionFilter
    at net.srcz.android.screencast.Main.initialize(Main.java:58)
    at net.srcz.android.screencast.Main.<init>(Main.java:25)
    at net.srcz.android.screencast.Main.main(Main.java:107)
    ... 11 more

Original issue reported on code.google.com by antonyw7...@gmail.com on 20 Jul 2010 at 3:03

GoogleCodeExporter commented 8 years ago
Something is wrong on your machine, it is using Java 1.5 instead of Java 1.6. 
FileNameExtensionFilter is only in Java 1.6. j2se version="1.5+" is wrong, it 
should be j2se version="1.6+".

Original comment by goues...@gmail.com on 5 Sep 2010 at 4:03

GoogleCodeExporter commented 8 years ago
you need to restart your ADB USB server
make sure your in the tools DIR in CMD on windows and jusst type ADB USB

Original comment by davidjmo...@gmail.com on 7 Oct 2010 at 3:13