ThongNH93 / javacv

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

ClassNotFoundException while creating IplImage #337

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.create empty project  
2.add attached class
3.create instance of FaceVerificatior
4.call verify(byte[] template, byte[] face)

What is the expected output? What do you see instead?
Expected : do not crush
Instead : on call to next line
"IplImage img = IplImage.create(bitTamplate.getWidth(), 
bitTamplate.getHeight(), IPL_DEPTH_8U, 4);"
i get next exception :
Thread [<10> Binder Thread #2] (Suspended (exception ClassNotFoundException))   
    PathClassLoader(BaseDexClassLoader).findClass(String) line: 61  
    PathClassLoader(ClassLoader).loadClass(String, boolean) line: 501   
    PathClassLoader(ClassLoader).loadClass(String) line: 461    
    FaceVerificator.verify(byte[], byte[]) line: 36 
    FaceVerificator(IFaceVerificator$Stub).onTransact(int, Parcel, Parcel, int) line: 62    
    FaceVerificator(Binder).execTransact(int, int, int, int) line: 338  
    NativeStart.run() line: not available [native method]   

What version of the product are you using? On what operating system?
JavaCV latest
Android 4.0.3
OpenCV-2.4.5-android-sdk

Please provide any additional information below.
project structure :
libs
-android-support-v4.jar
-javacpp.jar
-javacv.jar
-libs\armeabi
-(all *.so files from javacv-android-arm.jar, opencv-2.4.5-android-arm.jar, and 
ffmpeg-1.2-android-arm.jar)

Original issue reported on code.google.com by Abu...@gmail.com on 11 Jul 2013 at 1:45

Attachments:

GoogleCodeExporter commented 8 years ago
Could you print out the content of the ClassNotFoundException? It would help to 
know which class it's not finding. Thanks!

Original comment by samuel.a...@gmail.com on 14 Jul 2013 at 6:04

GoogleCodeExporter commented 8 years ago
the class not found is :
java.awt.image.BufferedImage

This is android project

Original comment by Abu...@gmail.com on 15 Jul 2013 at 7:03

GoogleCodeExporter commented 8 years ago
This is not an error, just a warning, you can ignore that.

Original comment by samuel.a...@gmail.com on 16 Jul 2013 at 1:35

GoogleCodeExporter commented 8 years ago
So, I assume everything is working great now?

Please post your questions on the mailing list if possible next time, thank you!

Original comment by samuel.a...@gmail.com on 16 Sep 2013 at 11:25