java.lang.NoSuchMethodError: org.appcelerator.titanium.proxy.TiViewProxy.toImage

Appcelerator JIRA | Zoltan Lengyel | 2 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    From SDK 4.1.0 this code fails: {code:java} var aMView = Ti.UI.createView({ top: 0, zIndex: 10 }); var aMImgView = Ti.UI.createImageView({ top:0, image: 'KS_nav_ui.png' }); aMView.add(aMImgView); ann = MapModule.createAnnotation({ latitude: 47.49, longitude: 19.13, title: 'Text', animate: true, customView: aMView // This is the correct view, but it doesn't affect the problem, still crashing... }); map1.addAnnotation(ann); {code} Error in log: {code:java} [INFO] : dalvikvm: Could not find method org.appcelerator.titanium.proxy.TiViewProxy.toImage, referenced from method ti.map.AnnotationProxy.handleCustomView [WARN] : dalvikvm: VFY: unable to resolve virtual method 42619: Lorg/appcelerator/titanium/proxy/TiViewProxy;.toImage ()Lorg/appcelerator/kroll/KrollDict; [INFO] : I/dalvikvm-heap: Grow heap (frag case) to 16.157MB for 1048592-byte allocation [ERROR] : dalvikvm: adjustAdaptiveCoef max=4194304, min=1048576, ut=568 [WARN] : dalvikvm: threadid=1: thread exiting with uncaught exception (group=0x41d84930) [ERROR] : TiApplication: (main) [69192,69192] Sending event: exception on thread: main msg:java.lang.NoSuchMethodError: org.appcelerator.titanium.proxy.TiViewProxy.toImage; Titanium 4.1.0,2015/07/06 11:15,d57aa7d [ERROR] : TiApplication: java.lang.NoSuchMethodError: org.appcelerator.titanium.proxy.TiViewProxy.toImage [ERROR] : TiApplication: at ti.map.AnnotationProxy.handleCustomView(AnnotationProxy.java:206) [ERROR] : TiApplication: at ti.map.AnnotationProxy.processOptions(AnnotationProxy.java:192) [ERROR] : TiApplication: at ti.map.TiUIMapView.addAnnotation(TiUIMapView.java:404) [ERROR] : TiApplication: at ti.map.ViewProxy.handleAddAnnotation(ViewProxy.java:280) [ERROR] : TiApplication: at ti.map.ViewProxy.handleMessage(ViewProxy.java:96) [ERROR] : TiApplication: at android.os.Handler.dispatchMessage(Handler.java:95) [ERROR] : TiApplication: at android.os.Looper.loop(Looper.java:176) [ERROR] : TiApplication: at android.app.ActivityThread.main(ActivityThread.java:5317) [ERROR] : TiApplication: at java.lang.reflect.Method.invokeNative(Native Method) [ERROR] : TiApplication: at java.lang.reflect.Method.invoke(Method.java:511) [ERROR] : TiApplication: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1102) [ERROR] : TiApplication: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:869) [ERROR] : TiApplication: at dalvik.system.NativeStart.main(Native Method) {code}

    Appcelerator JIRA | 2 years ago | Zoltan Lengyel
    java.lang.NoSuchMethodError: org.appcelerator.titanium.proxy.TiViewProxy.toImage
  2. 0

    From SDK 4.1.0 this code fails: {code:java} var aMView = Ti.UI.createView({ top: 0, zIndex: 10 }); var aMImgView = Ti.UI.createImageView({ top:0, image: 'KS_nav_ui.png' }); aMView.add(aMImgView); ann = MapModule.createAnnotation({ latitude: 47.49, longitude: 19.13, title: 'Text', animate: true, customView: aMView // This is the correct view, but it doesn't affect the problem, still crashing... }); map1.addAnnotation(ann); {code} Error in log: {code:java} [INFO] : dalvikvm: Could not find method org.appcelerator.titanium.proxy.TiViewProxy.toImage, referenced from method ti.map.AnnotationProxy.handleCustomView [WARN] : dalvikvm: VFY: unable to resolve virtual method 42619: Lorg/appcelerator/titanium/proxy/TiViewProxy;.toImage ()Lorg/appcelerator/kroll/KrollDict; [INFO] : I/dalvikvm-heap: Grow heap (frag case) to 16.157MB for 1048592-byte allocation [ERROR] : dalvikvm: adjustAdaptiveCoef max=4194304, min=1048576, ut=568 [WARN] : dalvikvm: threadid=1: thread exiting with uncaught exception (group=0x41d84930) [ERROR] : TiApplication: (main) [69192,69192] Sending event: exception on thread: main msg:java.lang.NoSuchMethodError: org.appcelerator.titanium.proxy.TiViewProxy.toImage; Titanium 4.1.0,2015/07/06 11:15,d57aa7d [ERROR] : TiApplication: java.lang.NoSuchMethodError: org.appcelerator.titanium.proxy.TiViewProxy.toImage [ERROR] : TiApplication: at ti.map.AnnotationProxy.handleCustomView(AnnotationProxy.java:206) [ERROR] : TiApplication: at ti.map.AnnotationProxy.processOptions(AnnotationProxy.java:192) [ERROR] : TiApplication: at ti.map.TiUIMapView.addAnnotation(TiUIMapView.java:404) [ERROR] : TiApplication: at ti.map.ViewProxy.handleAddAnnotation(ViewProxy.java:280) [ERROR] : TiApplication: at ti.map.ViewProxy.handleMessage(ViewProxy.java:96) [ERROR] : TiApplication: at android.os.Handler.dispatchMessage(Handler.java:95) [ERROR] : TiApplication: at android.os.Looper.loop(Looper.java:176) [ERROR] : TiApplication: at android.app.ActivityThread.main(ActivityThread.java:5317) [ERROR] : TiApplication: at java.lang.reflect.Method.invokeNative(Native Method) [ERROR] : TiApplication: at java.lang.reflect.Method.invoke(Method.java:511) [ERROR] : TiApplication: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1102) [ERROR] : TiApplication: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:869) [ERROR] : TiApplication: at dalvik.system.NativeStart.main(Native Method) {code}

    Appcelerator JIRA | 2 years ago | Zoltan Lengyel
    java.lang.NoSuchMethodError: org.appcelerator.titanium.proxy.TiViewProxy.toImage
  3. 0

    NoSuchMethod exception while creating and formatting .doc file using Apache poi-3.8 beta hwpf

    Stack Overflow | 5 years ago | Kanon
    java.lang.NoSuchMethodError: org.apache.poi.POIDocument. : at org.apache.poi.hwpf.HWPFDocumentCore.(HWPFDocumentCore.java:145) : at org.apache.poi.hwpf.HWPFDocument.(HWPFDocument.java:218) : at org.apache.poi.hwpf.HWPFDocument.(HWPFDocument.java:186) : at com.vikas.prudent.CreateDocument.onCreate(CreateDocument.java:45) : at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047) : at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627) : at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679) : at android.app.ActivityThread.access$2300(ActivityThread.java:125) : at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033) : at android.os.Handler.dispatchMessage(Handler.java:99) : at android.os.Looper.loop(Looper.java:123) : at android.app.ActivityThread.main(ActivityThread.java:4627) : at java.lang.reflect.Method.invokeNative(Native Method) : at java.lang.reflect.Method.invoke(Method.java:521) : at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868) : at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626) :
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      org.appcelerator.titanium.proxy.TiViewProxy.toImage

      at ti.map.AnnotationProxy.handleCustomView()
    2. ti.map
      ViewProxy.handleMessage
      1. ti.map.AnnotationProxy.handleCustomView(AnnotationProxy.java:206)
      2. ti.map.AnnotationProxy.processOptions(AnnotationProxy.java:192)
      3. ti.map.TiUIMapView.addAnnotation(TiUIMapView.java:404)
      4. ti.map.ViewProxy.handleAddAnnotation(ViewProxy.java:280)
      5. ti.map.ViewProxy.handleMessage(ViewProxy.java:96)
      5 frames
    3. Android Platform
      ActivityThread.main
      1. android.os.Handler.dispatchMessage(Handler.java:95)
      2. android.os.Looper.loop(Looper.java:176)
      3. android.app.ActivityThread.main(ActivityThread.java:5317)
      3 frames
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:511)
      2 frames
    5. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1102)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:869)
      2 frames
    6. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame