dmuntoiu / afreechart

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

runtime error #6

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hello,

I compiled the demo app using source (not chart jar files).
When I run the app on a tablet I got following error (see bellow).
Can I have the source code of afreegraphics.jar so I can fix myself.

Thanks alot!

E/dalvikvm(11014): Could not find class 'org.afree.graphics.geom.RectShape', 
referenced from method org.afree.chart.ChartRenderingInfo.<init>
W/dalvikvm(11014): VFY: unable to resolve new-instance 566 
(Lorg/afree/graphics/geom/RectShape;) in Lorg/afree/chart/ChartRenderingInfo;
D/dalvikvm(11014): VFY: replacing opcode 0x22 at 0x0003
I/dalvikvm(11014): Could not find method 
org.afree.graphics.geom.RectShape.setRect, referenced from method 
org.afree.chart.ChartRenderingInfo.clear
W/dalvikvm(11014): VFY: unable to resolve virtual method 6772: 
Lorg/afree/graphics/geom/RectShape;.setRect (DDDD)V
D/dalvikvm(11014): VFY: replacing opcode 0x74 at 0x0007
I/dalvikvm(11014): Could not find method 
org.afree.graphics.geom.RectShape.clone, referenced from method 
org.afree.chart.ChartRenderingInfo.clone
W/dalvikvm(11014): VFY: unable to resolve virtual method 6752: 
Lorg/afree/graphics/geom/RectShape;.clone ()Lorg/afree/graphics/geom/RectShape;
D/dalvikvm(11014): VFY: replacing opcode 0x6e at 0x000c
W/dalvikvm(11014): VFY: unable to find class referenced in signature 
(Lorg/afree/graphics/geom/RectShape;)
W/dalvikvm(11014): VFY: unable to find class referenced in signature 
(Lorg/afree/graphics/geom/RectShape;)
I/dalvikvm(11014): Could not find method 
org.afree.graphics.geom.RectShape.setRect, referenced from method 
org.afree.chart.ChartRenderingInfo.setChartArea
W/dalvikvm(11014): VFY: unable to resolve virtual method 6774: 
Lorg/afree/graphics/geom/RectShape;.setRect 
(Lorg/afree/graphics/geom/RectShape;)V
D/dalvikvm(11014): VFY: replacing opcode 0x6e at 0x0002
W/dalvikvm(11014): VFY: unable to find class referenced in signature 
(Lorg/afree/graphics/geom/Shape;)
I/dalvikvm(11014): Could not find method 
org.afree.graphics.geom.Shape.contains, referenced from method 
org.afree.chart.entity.StandardEntityCollection.getEntit
y
W/dalvikvm(11014): VFY: unable to resolve interface method 6777: 
Lorg/afree/graphics/geom/Shape;.contains (FF)Z
D/dalvikvm(11014): VFY: replacing opcode 0x72 at 0x0018
D/AndroidRuntime(11014): Shutting down VM
W/dalvikvm(11014): threadid=1: thread exiting with uncaught exception 
(group=0x40212760)
E/AndroidRuntime(11014): FATAL EXCEPTION: main
E/AndroidRuntime(11014): java.lang.NoClassDefFoundError: 
org.afree.graphics.geom.RectShape
E/AndroidRuntime(11014):        at 
org.afree.chart.ChartRenderingInfo.<init>(ChartRenderingInfo.java:125)
E/AndroidRuntime(11014):        at 
org.afree.chart.ChartRenderingInfo.<init>(ChartRenderingInfo.java:112)
E/AndroidRuntime(11014):        at 
org.afree.chart.demo.DemoView.initialize(DemoView.java:103)
E/AndroidRuntime(11014):        at 
org.afree.chart.demo.DemoView.<init>(DemoView.java:89)
E/AndroidRuntime(11014):        at 
org.afree.chart.demo.view.AnnotationDemo01View.<init>(AnnotationDemo01View.java:
71)
E/AndroidRuntime(11014):        at 
org.afree.chart.demo.activity.AnnotationDemo01Activity.onCreate(AnnotationDemo01
Activity.java:63)
E/AndroidRuntime(11014):        at 
android.app.Activity.performCreate(Activity.java:4397)
E/AndroidRuntime(11014):        at 
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1048)
E/AndroidRuntime(11014):        at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1779)
E/AndroidRuntime(11014):        at 
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1831)
E/AndroidRuntime(11014):        at 
android.app.ActivityThread.access$500(ActivityThread.java:122)
E/AndroidRuntime(11014):        at 
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1024)
E/AndroidRuntime(11014):        at 
android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(11014):        at android.os.Looper.loop(Looper.java:132)
E/AndroidRuntime(11014):        at 
android.app.ActivityThread.main(ActivityThread.java:4123)
E/AndroidRuntime(11014):        at java.lang.reflect.Method.invokeNative(Native 
Method)
E/AndroidRuntime(11014):        at 
java.lang.reflect.Method.invoke(Method.java:491)
E/AndroidRuntime(11014):        at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841)
E/AndroidRuntime(11014):        at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599)
E/AndroidRuntime(11014):        at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager(  131):   Force finishing activity 
org.afree.chart/.demo.activity.AnnotationDemo01Activity
W/ActivityManager(  131):   Force finishing activity 
org.afree.chart/.demo.ChartHierarchyActivity
W/ActivityManager(  131): Activity pause timeout for ActivityRecord{40f9f908 
org.afree.chart/.demo.activity.AnnotationDemo01Activity}

Original issue reported on code.google.com by letis...@gmail.com on 7 Apr 2012 at 5:09

GoogleCodeExporter commented 9 years ago
this might not be a library issue, it could be that you did not import the jars 
properly

try > build path > import export > check the jar file and run (make sure the 
jar file is in the jars directory btw)

Original comment by reneya...@gmail.com on 17 Dec 2012 at 3:56