wangjunbao / boilerpipe

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

Runtime Error while using boilerpipe in android #59

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Added the 3 specified jars in the build path of the project in eclipse.
2. Added the code "ArticleExtractor.INSTANCE.getText(url);" in the code
3. No compilation errors. But when I run the application I am getting the below 
warnings and errors afterwhich the application force closes.

Error trace:
W/dalvikvm(339): VFY: unable to resolve static field 891 (INSTANCE) in 
Lde/l3s/boilerpipe/extractors/ArticleExtractor;
D/dalvikvm(339): VFY: replacing opcode 0x62 at 0x0009
W/dalvikvm(339): VFY: unable to resolve exception class 494 
(Lde/l3s/boilerpipe/BoilerpipeProcessingException;)
W/dalvikvm(339): VFY: unable to find exception handler at addr 0x31
W/dalvikvm(339): VFY:  rejected 
Lcom/example/abcdef/Abcdefghij$MyWebViewClient;.onPageFinished 
(Landroid/webkit/WebView;Ljava/lang/String;)V
W/dalvikvm(339): VFY:  rejecting opcode 0x0d at 0x0031
W/dalvikvm(339): VFY:  rejected 
Lcom/example/abcdef/Abcdefghij$MyWebViewClient;.onPageFinished 
(Landroid/webkit/WebView;Ljava/lang/String;)V
W/dalvikvm(339): Verifier rejected class 
Lcom/example/abcdef/Abcdefghij$MyWebViewClient;
D/AndroidRuntime(339): Shutting down VM
W/dalvikvm(339): threadid=1: thread exiting with uncaught exception 
(group=0x40015560)
E/AndroidRuntime(339): FATAL EXCEPTION: main
E/AndroidRuntime(339): java.lang.VerifyError: 
com.example.abcdef/Abcdefghij$MyWebViewClient

What version of the product are you using? On what operating system?
Eclipse SDK Version: 3.7.2
Android Build target 2.3.3

Original issue reported on code.google.com by chandu12...@gmail.com on 1 Dec 2012 at 1:08

GoogleCodeExporter commented 9 years ago
The above error got resolved. I did not select them in the Order and Export in 
Java Build Path.

Original comment by chandu12...@gmail.com on 3 Dec 2012 at 11:31

GoogleCodeExporter commented 9 years ago
I have selected them in the Order and Export in Java Build Path but still get 
the same errors

Original comment by clementi...@gmail.com on 10 Apr 2014 at 3:47