java.lang.RuntimeException: Cannot convert Java type 'java.net.Socket' to Yail type

Google Groups | Arne Mailand | 3 months ago
  1. 0

    Socket returning method (Extension) possible ?!?

    Google Groups | 3 months ago | Arne Mailand
    java.lang.RuntimeException: Cannot convert Java type 'java.net.Socket' to Yail type
  2. 0

    Cannot generate .aix files anymore. Why?

    Google Groups | 4 months ago | Arne Mailand
    java.lang.RuntimeException: Cannot convert Java type 'java.lang.Void[]' to Yail type
  3. 0
    Switch to Android Build Tools 23.0.3
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    SMS Emulator caused this error. abortBroadcast only works with broadcasts sent through Context.sendOrderedBroadcast.
  6. 0
    I did this as root, and works dpkg --add-architecture i386 apt-get install libncurses5:i386 libstdc++6:i386 zlib1g:i386

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.RuntimeException

      Cannot convert Java type 'java.net.Socket' to Yail type

      at com.google.appinventor.components.scripts.ComponentProcessor.javaTypeToYailType()
    2. com.google.appinventor
      ComponentProcessor.process
      1. com.google.appinventor.components.scripts.ComponentProcessor.javaTypeToYailType(ComponentProcessor.java:1184)
      2. com.google.appinventor.components.scripts.ComponentDescriptorGenerator.outputBlockMethod(ComponentDescriptorGenerator.java:190)
      3. com.google.appinventor.components.scripts.ComponentDescriptorGenerator.outputComponent(ComponentDescriptorGenerator.java:125)
      4. com.google.appinventor.components.scripts.ComponentDescriptorGenerator.outputResults(ComponentDescriptorGenerator.java:226)
      5. com.google.appinventor.components.scripts.ComponentProcessor.process(ComponentProcessor.java:731)
      5 frames
    3. Java Tools
      Main.compile
      1. com.sun.tools.javac.processing.JavacProcessingEnvironment.callProcessor(JavacProcessingEnvironment.java:794)
      2. com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:705)
      3. com.sun.tools.javac.processing.JavacProcessingEnvironment.access$1800(JavacProcessingEnvironment.java:91)
      4. com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1035)
      5. com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1176)
      6. com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1170)
      7. com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:856)
      8. com.sun.tools.javac.main.Main.compile(Main.java:523)
      9. com.sun.tools.javac.main.Main.compile(Main.java:381)
      10. com.sun.tools.javac.main.Main.compile(Main.java:370)
      11. com.sun.tools.javac.main.Main.compile(Main.java:361)
      12. com.sun.tools.javac.Main.compile(Main.java:56)
      12 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    5. Ant
      UnknownElement.execute
      1. org.apache.tools.ant.taskdefs.compilers.Javac13.execute(Javac13.java:57)
      2. org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:1344)
      3. org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:1070)
      4. org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
      4 frames
    6. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:498)
      3 frames
    7. Ant
      UnknownElement.execute
      1. org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
      2. org.apache.tools.ant.Task.perform(Task.java:348)
      3. org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
      4. org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
      4 frames
    8. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:498)
      3 frames
    9. Ant
      UnknownElement.execute
      1. org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
      2. org.apache.tools.ant.Task.perform(Task.java:348)
      3. org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:396)
      4. org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
      4 frames
    10. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:498)
      3 frames
    11. Ant
      UnknownElement.execute
      1. org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
      2. org.apache.tools.ant.Task.perform(Task.java:348)
      3. org.apache.tools.ant.Target.execute(Target.java:435)
      4. org.apache.tools.ant.Target.performTasks(Target.java:456)
      5. org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
      6. org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
      7. org.apache.tools.ant.Project.executeTargets(Project.java:1260)
      8. org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:441)
      9. org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
      9 frames
    12. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:498)
      3 frames
    13. Ant
      Main.startAnt
      1. org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
      2. org.apache.tools.ant.Task.perform(Task.java:348)
      3. org.apache.tools.ant.Target.execute(Target.java:435)
      4. org.apache.tools.ant.Target.performTasks(Target.java:456)
      5. org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
      6. org.apache.tools.ant.Project.executeTarget(Project.java:1376)
      7. org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
      8. org.apache.tools.ant.Project.executeTargets(Project.java:1260)
      9. org.apache.tools.ant.Main.runBuild(Main.java:854)
      10. org.apache.tools.ant.Main.startAnt(Main.java:236)
      10 frames
    14. Apache Ant Launcher
      Launcher.main
      1. org.apache.tools.ant.launch.Launcher.run(Launcher.java:285)
      2. org.apache.tools.ant.launch.Launcher.main(Launcher.java:112)
      2 frames