techsharad / javacv

Automatically exported from code.google.com/p/javacv
GNU General Public License v2.0
0 stars 0 forks source link

Problem regarding working with emulator and real device using javacv #284

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.I am using javacv and using ffmpeg framegrabber function to open a ipcamera . 
 In log cat I am getting the following errors

02-26 20:13:52.573: D/dalvikvm(335): Trying to load lib 
/data/data/com.example.capturefromjavacv1/lib/libavutil.so 0x40514f78
02-26 20:13:52.573: D/dalvikvm(335): Added shared lib 
/data/data/com.example.capturefromjavacv1/lib/libavutil.so 0x40514f78
02-26 20:13:52.583: D/dalvikvm(335): No JNI_OnLoad found in 
/data/data/com.example.capturefromjavacv1/lib/libavutil.so 0x40514f78, skipping 
init
02-26 20:13:52.583: D/dalvikvm(335): Trying to load lib 
/data/data/com.example.capturefromjavacv1/lib/libjniavutil.so 0x40514f78
02-26 20:13:52.583: D/dalvikvm(335): Added shared lib 
/data/data/com.example.capturefromjavacv1/lib/libjniavutil.so 0x40514f78
02-26 20:13:52.743: D/dalvikvm(335): Trying to load lib 
/data/data/com.example.capturefromjavacv1/lib/libavcodec.so 0x40514f78
02-26 20:13:52.754: D/dalvikvm(335): Added shared lib 
/data/data/com.example.capturefromjavacv1/lib/libavcodec.so 0x40514f78
02-26 20:13:52.754: D/dalvikvm(335): No JNI_OnLoad found in 
/data/data/com.example.capturefromjavacv1/lib/libavcodec.so 0x40514f78, 
skipping init
02-26 20:13:52.764: D/dalvikvm(335): Trying to load lib 
/data/data/com.example.capturefromjavacv1/lib/libjniavcodec.so 0x40514f78
02-26 20:13:52.774: D/dalvikvm(335): Added shared lib 
/data/data/com.example.capturefromjavacv1/lib/libjniavcodec.so 0x40514f78
02-26 20:13:52.943: D/dalvikvm(335): Trying to load lib 
/data/data/com.example.capturefromjavacv1/lib/libavformat.so 0x40514f78
02-26 20:13:52.955: D/dalvikvm(335): Added shared lib 
/data/data/com.example.capturefromjavacv1/lib/libavformat.so 0x40514f78
02-26 20:13:52.955: D/dalvikvm(335): No JNI_OnLoad found in 
/data/data/com.example.capturefromjavacv1/lib/libavformat.so 0x40514f78, 
skipping init
02-26 20:13:52.964: D/dalvikvm(335): Trying to load lib 
/data/data/com.example.capturefromjavacv1/lib/libjniavformat.so 0x40514f78
02-26 20:13:52.964: D/dalvikvm(335): Added shared lib 
/data/data/com.example.capturefromjavacv1/lib/libjniavformat.so 0x40514f78
02-26 20:13:53.174: D/dalvikvm(335): GC_CONCURRENT freed 1285K, 58% free 
2845K/6727K, external 1625K/2137K, paused 4ms+8ms
02-26 20:13:53.193: D/dalvikvm(335): Trying to load lib 
/data/data/com.example.capturefromjavacv1/lib/libpostproc.so 0x40514f78
02-26 20:13:53.193: D/dalvikvm(335): Added shared lib 
/data/data/com.example.capturefromjavacv1/lib/libpostproc.so 0x40514f78
02-26 20:13:53.193: D/dalvikvm(335): No JNI_OnLoad found in 
/data/data/com.example.capturefromjavacv1/lib/libpostproc.so 0x40514f78, 
skipping init
02-26 20:13:53.204: D/dalvikvm(335): Trying to load lib 
/data/data/com.example.capturefromjavacv1/lib/libjnipostproc.so 0x40514f78
02-26 20:13:53.214: D/dalvikvm(335): Added shared lib 
/data/data/com.example.capturefromjavacv1/lib/libjnipostproc.so 0x40514f78
02-26 20:13:53.294: D/dalvikvm(335): Trying to load lib 
/data/data/com.example.capturefromjavacv1/lib/libswresample.so 0x40514f78
02-26 20:13:53.294: D/dalvikvm(335): Added shared lib 
/data/data/com.example.capturefromjavacv1/lib/libswresample.so 0x40514f78
02-26 20:13:53.304: D/dalvikvm(335): No JNI_OnLoad found in 
/data/data/com.example.capturefromjavacv1/lib/libswresample.so 0x40514f78, 
skipping init
02-26 20:13:53.304: D/dalvikvm(335): Trying to load lib 
/data/data/com.example.capturefromjavacv1/lib/libjniswresample.so 0x40514f78
02-26 20:13:53.304: D/dalvikvm(335): Added shared lib 
/data/data/com.example.capturefromjavacv1/lib/libjniswresample.so 0x40514f78
02-26 20:13:53.443: D/dalvikvm(335): Trying to load lib 
/data/data/com.example.capturefromjavacv1/lib/libswscale.so 0x40514f78
02-26 20:13:53.443: D/dalvikvm(335): Added shared lib 
/data/data/com.example.capturefromjavacv1/lib/libswscale.so 0x40514f78
02-26 20:13:53.443: D/dalvikvm(335): No JNI_OnLoad found in 
/data/data/com.example.capturefromjavacv1/lib/libswscale.so 0x40514f78, 
skipping init
02-26 20:13:53.454: D/dalvikvm(335): Trying to load lib 
/data/data/com.example.capturefromjavacv1/lib/libjniswscale.so 0x40514f78
02-26 20:13:53.464: D/dalvikvm(335): Added shared lib 
/data/data/com.example.capturefromjavacv1/lib/libjniswscale.so 0x40514f78
02-26 20:13:53.504: D/dalvikvm(335): GC_CONCURRENT freed 649K, 58% free 
2846K/6727K, external 1625K/2137K, paused 5ms+4ms
02-26 20:13:53.554: D/dalvikvm(335): Trying to load lib 
/data/data/com.example.capturefromjavacv1/lib/libavfilter.so 0x40514f78
02-26 20:13:53.564: D/dalvikvm(335): Added shared lib 
/data/data/com.example.capturefromjavacv1/lib/libavfilter.so 0x40514f78
02-26 20:13:53.564: D/dalvikvm(335): No JNI_OnLoad found in 
/data/data/com.example.capturefromjavacv1/lib/libavfilter.so 0x40514f78, 
skipping init
02-26 20:13:53.564: D/dalvikvm(335): Trying to load lib 
/data/data/com.example.capturefromjavacv1/lib/libjniavfilter.so 0x40514f78
02-26 20:13:53.573: D/dalvikvm(335): Added shared lib 
/data/data/com.example.capturefromjavacv1/lib/libjniavfilter.so 0x40514f78
02-26 20:13:53.665: D/dalvikvm(335): Trying to load lib 
/data/data/com.example.capturefromjavacv1/lib/libavdevice.so 0x40514f78
02-26 20:13:53.665: D/dalvikvm(335): Added shared lib 
/data/data/com.example.capturefromjavacv1/lib/libavdevice.so 0x40514f78
02-26 20:13:53.665: D/dalvikvm(335): No JNI_OnLoad found in 
/data/data/com.example.capturefromjavacv1/lib/libavdevice.so 0x40514f78, 
skipping init
02-26 20:13:53.674: D/dalvikvm(335): Trying to load lib 
/data/data/com.example.capturefromjavacv1/lib/libavfilter.so 0x40514f78
02-26 20:13:53.674: D/dalvikvm(335): Shared lib 
'/data/data/com.example.capturefromjavacv1/lib/libavfilter.so' already loaded 
in same CL 0x40514f78
02-26 20:13:53.684: D/dalvikvm(335): Trying to load lib 
/data/data/com.example.capturefromjavacv1/lib/libjniavdevice.so 0x40514f78
02-26 20:13:53.684: D/dalvikvm(335): Added shared lib 
/data/data/com.example.capturefromjavacv1/lib/libjniavdevice.so 0x40514f78
02-26 20:13:53.823: D/dalvikvm(335): GC_CONCURRENT freed 633K, 58% free 
2863K/6727K, external 1625K/2137K, paused 4ms+3ms
02-26 20:14:03.634: W/dalvikvm(335): VFY: unable to find class referenced in 
signature (Ljava/awt/image/BufferedImage;)
02-26 20:14:03.663: W/dalvikvm(335): VFY: unable to find class referenced in 
signature (Ljava/awt/image/BufferedImage;)
02-26 20:14:03.663: W/dalvikvm(335): VFY: unable to find class referenced in 
signature (Ljava/awt/image/BufferedImage;)
02-26 20:14:03.663: W/dalvikvm(335): VFY: unable to find class referenced in 
signature (Ljava/awt/image/BufferedImage;)
02-26 20:14:03.663: W/dalvikvm(335): VFY: unable to find class referenced in 
signature (Ljava/awt/image/BufferedImage;)
02-26 20:14:03.674: I/dalvikvm(335): Could not find method 
java.awt.image.BufferedImage.getSampleModel, referenced from method 
com.googlecode.javacv.cpp.opencv_core$IplImage.createFrom
02-26 20:14:03.674: W/dalvikvm(335): VFY: unable to resolve virtual method 
17281: Ljava/awt/image/BufferedImage;.getSampleModel 
()Ljava/awt/image/SampleModel;
02-26 20:14:03.674: D/dalvikvm(335): VFY: replacing opcode 0x6e at 0x0004
02-26 20:14:03.674: D/dalvikvm(335): VFY: dead code 0x0007-004f in 
Lcom/googlecode/javacv/cpp/opencv_core$IplImage;.createFrom 
(Ljava/awt/image/BufferedImage;DZ)Lcom/googlecode/javacv/cpp/opencv_core$IplImag
e;
02-26 20:14:03.674: W/dalvikvm(335): VFY: unable to find class referenced in 
signature (Ljava/awt/image/BufferedImage;)
02-26 20:14:03.794: W/dalvikvm(335): VFY: unable to find class referenced in 
signature (Ljava/awt/image/BufferedImage;)
02-26 20:14:03.794: W/dalvikvm(335): VFY: unable to find class referenced in 
signature (Ljava/awt/image/BufferedImage;)
02-26 20:14:03.794: D/dalvikvm(335): GC_CONCURRENT freed 560K, 58% free 
2880K/6727K, external 1625K/2137K, paused 5ms+4ms
02-26 20:14:03.794: E/dalvikvm(335): Could not find class 
'java.awt.image.BufferedImage', referenced from method 
com.googlecode.javacv.cpp.opencv_core$IplImage.cloneBufferedImage
02-26 20:14:03.794: W/dalvikvm(335): VFY: unable to resolve check-cast 1425 
(Ljava/awt/image/BufferedImage;) in 
Lcom/googlecode/javacv/cpp/opencv_core$IplImage;
02-26 20:14:03.804: D/dalvikvm(335): VFY: replacing opcode 0x1f at 0x0008
02-26 20:14:03.804: D/dalvikvm(335): VFY: dead code 0x000a-0030 in 
Lcom/googlecode/javacv/cpp/opencv_core$IplImage;.cloneBufferedImage 
()Ljava/awt/image/BufferedImage;
02-26 20:14:03.804: W/dalvikvm(335): VFY: unable to find class referenced in 
signature (Ljava/awt/image/BufferedImage;)
02-26 20:14:03.804: W/dalvikvm(335): VFY: unable to find class referenced in 
signature (Ljava/awt/image/BufferedImage;)
02-26 20:14:03.804: W/dalvikvm(335): VFY: unable to find class referenced in 
signature (Ljava/awt/image/BufferedImage;)
02-26 20:14:03.804: W/dalvikvm(335): VFY: unable to find class referenced in 
signature (Ljava/awt/image/BufferedImage;)
02-26 20:14:03.814: W/dalvikvm(335): VFY: unable to find class referenced in 
signature (Ljava/awt/image/BufferedImage;)
02-26 20:14:03.814: E/dalvikvm(335): Could not find class 'java.awt.Rectangle', 
referenced from method com.googlecode.javacv.cpp.opencv_core$IplImage.copyFrom
02-26 20:14:03.814: W/dalvikvm(335): VFY: unable to resolve new-instance 1414 
(Ljava/awt/Rectangle;) in Lcom/googlecode/javacv/cpp/opencv_core$IplImage;
02-26 20:14:03.814: D/dalvikvm(335): VFY: replacing opcode 0x22 at 0x0007
02-26 20:14:03.823: W/dalvikvm(335): VFY: unable to find class referenced in 
signature (Ljava/awt/image/BufferedImage;)
02-26 20:14:03.823: W/dalvikvm(335): VFY: unable to find class referenced in 
signature (Ljava/awt/Rectangle;)
02-26 20:14:03.823: D/dalvikvm(335): VFY: dead code 0x0009-001b in 
Lcom/googlecode/javacv/cpp/opencv_core$IplImage;.copyFrom 
(Ljava/awt/image/BufferedImage;DZ)V
02-26 20:14:03.823: W/dalvikvm(335): VFY: unable to find class referenced in 
signature (Ljava/awt/image/BufferedImage;)
02-26 20:14:03.823: W/dalvikvm(335): VFY: unable to find class referenced in 
signature (Ljava/awt/Rectangle;)
02-26 20:14:03.823: I/dalvikvm(335): Could not find method 
java.awt.image.BufferedImage.getSampleModel, referenced from method 
com.googlecode.javacv.cpp.opencv_core$IplImage.copyFrom
02-26 20:14:03.823: W/dalvikvm(335): VFY: unable to resolve virtual method 
17281: Ljava/awt/image/BufferedImage;.getSampleModel 
()Ljava/awt/image/SampleModel;
02-26 20:14:03.823: D/dalvikvm(335): VFY: replacing opcode 0x74 at 0x000f
02-26 20:14:03.834: W/dalvikvm(335): VFY: unable to resolve instance field 5078
02-26 20:14:03.834: D/dalvikvm(335): VFY: replacing opcode 0x52 at 0x0099
02-26 20:14:03.834: D/dalvikvm(335): VFY: dead code 0x0012-0096 in 
Lcom/googlecode/javacv/cpp/opencv_core$IplImage;.copyFrom 
(Ljava/awt/image/BufferedImage;DZLjava/awt/Rectangle;)V
02-26 20:14:03.834: D/dalvikvm(335): VFY: dead code 0x009b-01ba in 
Lcom/googlecode/javacv/cpp/opencv_core$IplImage;.copyFrom 
(Ljava/awt/image/BufferedImage;DZLjava/awt/Rectangle;)V
02-26 20:14:03.834: W/dalvikvm(335): VFY: unable to find class referenced in 
signature (Ljava/awt/image/BufferedImage;)
02-26 20:14:03.834: W/dalvikvm(335): VFY: unable to find class referenced in 
signature (Ljava/awt/image/BufferedImage;)
02-26 20:14:03.834: W/dalvikvm(335): VFY: unable to find class referenced in 
signature (Ljava/awt/image/BufferedImage;)
02-26 20:14:03.834: W/dalvikvm(335): VFY: unable to find class referenced in 
signature (Ljava/awt/image/BufferedImage;)
02-26 20:14:03.834: W/dalvikvm(335): VFY: unable to find class referenced in 
signature (Ljava/awt/image/BufferedImage;)
02-26 20:14:03.844: E/dalvikvm(335): Could not find class 'java.awt.Rectangle', 
referenced from method com.googlecode.javacv.cpp.opencv_core$IplImage.copyTo
02-26 20:14:03.844: W/dalvikvm(335): VFY: unable to resolve new-instance 1414 
(Ljava/awt/Rectangle;) in Lcom/googlecode/javacv/cpp/opencv_core$IplImage;
02-26 20:14:03.844: D/dalvikvm(335): VFY: replacing opcode 0x22 at 0x0007
02-26 20:14:03.844: W/dalvikvm(335): VFY: unable to find class referenced in 
signature (Ljava/awt/image/BufferedImage;)
02-26 20:14:03.844: W/dalvikvm(335): VFY: unable to find class referenced in 
signature (Ljava/awt/Rectangle;)
02-26 20:14:03.844: D/dalvikvm(335): VFY: dead code 0x0009-001b in 
Lcom/googlecode/javacv/cpp/opencv_core$IplImage;.copyTo 
(Ljava/awt/image/BufferedImage;DZ)V
02-26 20:14:03.844: W/dalvikvm(335): VFY: unable to find class referenced in 
signature (Ljava/awt/image/BufferedImage;)
02-26 20:14:03.854: W/dalvikvm(335): VFY: unable to find class referenced in 
signature (Ljava/awt/Rectangle;)
02-26 20:14:03.854: I/dalvikvm(335): Could not find method 
java.awt.image.BufferedImage.getSampleModel, referenced from method 
com.googlecode.javacv.cpp.opencv_core$IplImage.copyTo
02-26 20:14:03.854: W/dalvikvm(335): VFY: unable to resolve virtual method 
17281: Ljava/awt/image/BufferedImage;.getSampleModel 
()Ljava/awt/image/SampleModel;
02-26 20:14:03.854: D/dalvikvm(335): VFY: replacing opcode 0x74 at 0x0011
02-26 20:14:03.854: W/dalvikvm(335): VFY: unable to resolve instance field 5078
02-26 20:14:03.854: D/dalvikvm(335): VFY: replacing opcode 0x52 at 0x007f
02-26 20:14:03.854: D/dalvikvm(335): VFY: dead code 0x0014-007a in 
Lcom/googlecode/javacv/cpp/opencv_core$IplImage;.copyTo 
(Ljava/awt/image/BufferedImage;DZLjava/awt/Rectangle;)V
02-26 20:14:03.854: D/dalvikvm(335): VFY: dead code 0x0081-01c8 in 
Lcom/googlecode/javacv/cpp/opencv_core$IplImage;.copyTo 
(Ljava/awt/image/BufferedImage;DZLjava/awt/Rectangle;)V
02-26 20:14:03.854: W/dalvikvm(335): VFY: unable to find class referenced in 
signature (Ljava/awt/image/BufferedImage;)
02-26 20:14:03.854: W/dalvikvm(335): VFY: unable to find class referenced in 
signature (Ljava/awt/image/BufferedImage;)
02-26 20:14:03.854: W/dalvikvm(335): VFY: unable to find class referenced in 
signature (Ljava/awt/image/BufferedImage;)
02-26 20:14:03.864: W/dalvikvm(335): VFY: unable to find class referenced in 
signature (Ljava/awt/image/BufferedImage;)
02-26 20:14:03.864: W/dalvikvm(335): VFY: unable to find class referenced in 
signature (Ljava/awt/color/ColorSpace;)
02-26 20:14:03.864: W/dalvikvm(335): VFY: unable to find class referenced in 
signature (Ljava/awt/image/BufferedImage;)
02-26 20:14:03.864: W/dalvikvm(335): VFY: unable to find class referenced in 
signature (Ljava/awt/image/BufferedImage;)
02-26 20:14:03.874: W/dalvikvm(335): VFY: unable to find class referenced in 
signature (Ljava/awt/color/ColorSpace;)
02-26 20:14:03.874: E/dalvikvm(335): Could not find class 
'java.awt.image.BufferedImage', referenced from method 
com.googlecode.javacv.cpp.opencv_core$IplImage.getBufferedImage
02-26 20:14:03.874: W/dalvikvm(335): VFY: unable to resolve new-instance 1425 
(Ljava/awt/image/BufferedImage;) in 
Lcom/googlecode/javacv/cpp/opencv_core$IplImage;
02-26 20:14:03.874: D/dalvikvm(335): VFY: replacing opcode 0x22 at 0x000e
02-26 20:14:03.874: I/dalvikvm(335): Could not find method 
java.awt.color.ColorSpace.getInstance, referenced from method 
com.googlecode.javacv.cpp.opencv_core$IplImage.getBufferedImage
02-26 20:14:03.874: W/dalvikvm(335): VFY: unable to resolve static method 
17262: Ljava/awt/color/ColorSpace;.getInstance (I)Ljava/awt/color/ColorSpace;
02-26 20:14:03.885: D/dalvikvm(335): VFY: replacing opcode 0x71 at 0x0033
02-26 20:14:03.885: E/dalvikvm(335): Could not find class 
'java.awt.image.ComponentColorModel', referenced from method 
com.googlecode.javacv.cpp.opencv_core$IplImage.getBufferedImage
02-26 20:14:03.885: W/dalvikvm(335): VFY: unable to resolve new-instance 1427 
(Ljava/awt/image/ComponentColorModel;) in 
Lcom/googlecode/javacv/cpp/opencv_core$IplImage;
02-26 20:14:03.885: D/dalvikvm(335): VFY: replacing opcode 0x22 at 0x0052
02-26 20:14:03.885: E/dalvikvm(335): Could not find class 
'java.awt.image.BufferedImage', referenced from method 
com.googlecode.javacv.cpp.opencv_core$IplImage.getBufferedImage
02-26 20:14:03.885: W/dalvikvm(335): VFY: unable to resolve check-cast 1425 
(Ljava/awt/image/BufferedImage;) in 
Lcom/googlecode/javacv/cpp/opencv_core$IplImage;
02-26 20:14:03.885: D/dalvikvm(335): VFY: replacing opcode 0x1f at 0x0094
02-26 20:14:03.885: E/dalvikvm(335): Could not find class 
'java.awt.image.BufferedImage', referenced from method 
com.googlecode.javacv.cpp.opencv_core$IplImage.getBufferedImage
02-26 20:14:03.885: W/dalvikvm(335): VFY: unable to resolve check-cast 1425 
(Ljava/awt/image/BufferedImage;) in 
Lcom/googlecode/javacv/cpp/opencv_core$IplImage;
02-26 20:14:03.885: D/dalvikvm(335): VFY: replacing opcode 0x1f at 0x00b7
02-26 20:14:03.885: I/dalvikvm(335): Could not find method 
java.awt.color.ColorSpace.getInstance, referenced from method 
com.googlecode.javacv.cpp.opencv_core$IplImage.getBufferedImage
02-26 20:14:03.894: W/dalvikvm(335): VFY: unable to resolve static method 
17262: Ljava/awt/color/ColorSpace;.getInstance (I)Ljava/awt/color/ColorSpace;
02-26 20:14:03.894: D/dalvikvm(335): VFY: replacing opcode 0x71 at 0x00c6
02-26 20:14:03.894: I/dalvikvm(335): Could not find method 
java.awt.color.ColorSpace.getInstance, referenced from method 
com.googlecode.javacv.cpp.opencv_core$IplImage.getBufferedImage
02-26 20:14:03.894: W/dalvikvm(335): VFY: unable to resolve static method 
17262: Ljava/awt/color/ColorSpace;.getInstance (I)Ljava/awt/color/ColorSpace;
02-26 20:14:03.894: D/dalvikvm(335): VFY: replacing opcode 0x71 at 0x00de
02-26 20:14:03.894: E/dalvikvm(335): Could not find class 
'java.awt.image.ComponentColorModel', referenced from method 
com.googlecode.javacv.cpp.opencv_core$IplImage.getBufferedImage
02-26 20:14:03.894: W/dalvikvm(335): VFY: unable to resolve new-instance 1427 
(Ljava/awt/image/ComponentColorModel;) in 
Lcom/googlecode/javacv/cpp/opencv_core$IplImage;
02-26 20:14:03.894: D/dalvikvm(335): VFY: replacing opcode 0x22 at 0x00fc
02-26 20:14:03.894: E/dalvikvm(335): Could not find class 
'java.awt.image.ComponentColorModel', referenced from method 
com.googlecode.javacv.cpp.opencv_core$IplImage.getBufferedImage
02-26 20:14:03.894: W/dalvikvm(335): VFY: unable to resolve new-instance 1427 
(Ljava/awt/image/ComponentColorModel;) in 
Lcom/googlecode/javacv/cpp/opencv_core$IplImage;
02-26 20:14:03.894: D/dalvikvm(335): VFY: replacing opcode 0x22 at 0x012e
02-26 20:14:03.904: E/dalvikvm(335): Could not find class 
'java.awt.image.ComponentColorModel', referenced from method 
com.googlecode.javacv.cpp.opencv_core$IplImage.getBufferedImage
02-26 20:14:03.904: W/dalvikvm(335): VFY: unable to resolve new-instance 1427 
(Ljava/awt/image/ComponentColorModel;) in 
Lcom/googlecode/javacv/cpp/opencv_core$IplImage;
02-26 20:14:03.904: D/dalvikvm(335): VFY: replacing opcode 0x22 at 0x0160
02-26 20:14:03.904: E/dalvikvm(335): Could not find class 
'java.awt.image.ComponentColorModel', referenced from method 
com.googlecode.javacv.cpp.opencv_core$IplImage.getBufferedImage
02-26 20:14:03.904: W/dalvikvm(335): VFY: unable to resolve new-instance 1427 
(Ljava/awt/image/ComponentColorModel;) in 
Lcom/googlecode/javacv/cpp/opencv_core$IplImage;
02-26 20:14:03.904: D/dalvikvm(335): VFY: replacing opcode 0x22 at 0x0191
02-26 20:14:03.904: E/dalvikvm(335): Could not find class 
'java.awt.image.ComponentColorModel', referenced from method 
com.googlecode.javacv.cpp.opencv_core$IplImage.getBufferedImage
02-26 20:14:03.904: W/dalvikvm(335): VFY: unable to resolve new-instance 1427 
(Ljava/awt/image/ComponentColorModel;) in 
Lcom/googlecode/javacv/cpp/opencv_core$IplImage;
02-26 20:14:03.904: D/dalvikvm(335): VFY: replacing opcode 0x22 at 0x01c2
02-26 20:14:03.904: E/dalvikvm(335): Could not find class 
'java.awt.image.BufferedImage', referenced from method 
com.googlecode.javacv.cpp.opencv_core$IplImage.getBufferedImage
02-26 20:14:03.904: W/dalvikvm(335): VFY: unable to resolve check-cast 1425 
(Ljava/awt/image/BufferedImage;) in 
Lcom/googlecode/javacv/cpp/opencv_core$IplImage;
02-26 20:14:03.904: D/dalvikvm(335): VFY: replacing opcode 0x1f at 0x01f9
02-26 20:14:03.904: E/dalvikvm(335): Could not find class 
'java.awt.image.BufferedImage', referenced from method 
com.googlecode.javacv.cpp.opencv_core$IplImage.getBufferedImage
02-26 20:14:03.904: W/dalvikvm(335): VFY: unable to resolve new-instance 1425 
(Ljava/awt/image/BufferedImage;) in 
Lcom/googlecode/javacv/cpp/opencv_core$IplImage;
02-26 20:14:03.904: D/dalvikvm(335): VFY: replacing opcode 0x22 at 0x0077
02-26 20:14:03.904: D/dalvikvm(335): VFY: dead code 0x0010-001e in 
Lcom/googlecode/javacv/cpp/opencv_core$IplImage;.getBufferedImage 
(DZLjava/awt/color/ColorSpace;)Ljava/awt/image/BufferedImage;
02-26 20:14:03.913: D/dalvikvm(335): VFY: dead code 0x0036-0036 in 
Lcom/googlecode/javacv/cpp/opencv_core$IplImage;.getBufferedImage 
(DZLjava/awt/color/ColorSpace;)Ljava/awt/image/BufferedImage;
02-26 20:14:03.913: D/dalvikvm(335): VFY: dead code 0x0054-0076 in 
Lcom/googlecode/javacv/cpp/opencv_core$IplImage;.getBufferedImage 
(DZLjava/awt/color/ColorSpace;)Ljava/awt/image/BufferedImage;
02-26 20:14:03.913: D/dalvikvm(335): VFY: dead code 0x0079-0083 in 
Lcom/googlecode/javacv/cpp/opencv_core$IplImage;.getBufferedImage 
(DZLjava/awt/color/ColorSpace;)Ljava/awt/image/BufferedImage;
02-26 20:14:03.913: D/dalvikvm(335): VFY: dead code 0x0096-00b2 in 
Lcom/googlecode/javacv/cpp/opencv_core$IplImage;.getBufferedImage 
(DZLjava/awt/color/ColorSpace;)Ljava/awt/image/BufferedImage;
02-26 20:14:03.913: D/dalvikvm(335): VFY: dead code 0x00b9-00b9 in 
Lcom/googlecode/javacv/cpp/opencv_core$IplImage;.getBufferedImage 
(DZLjava/awt/color/ColorSpace;)Ljava/awt/image/BufferedImage;
02-26 20:14:03.913: D/dalvikvm(335): VFY: dead code 0x00c9-00c9 in 
Lcom/googlecode/javacv/cpp/opencv_core$IplImage;.getBufferedImage 
(DZLjava/awt/color/ColorSpace;)Ljava/awt/image/BufferedImage;
02-26 20:14:03.913: D/dalvikvm(335): VFY: dead code 0x00e1-00e1 in 
Lcom/googlecode/javacv/cpp/opencv_core$IplImage;.getBufferedImage 
(DZLjava/awt/color/ColorSpace;)Ljava/awt/image/BufferedImage;
02-26 20:14:03.913: D/dalvikvm(335): VFY: dead code 0x00fe-0124 in 
Lcom/googlecode/javacv/cpp/opencv_core$IplImage;.getBufferedImage 
(DZLjava/awt/color/ColorSpace;)Ljava/awt/image/BufferedImage;
02-26 20:14:03.913: D/dalvikvm(335): VFY: dead code 0x0130-0156 in 
Lcom/googlecode/javacv/cpp/opencv_core$IplImage;.getBufferedImage 
(DZLjava/awt/color/ColorSpace;)Ljava/awt/image/BufferedImage;
02-26 20:14:03.913: D/dalvikvm(335): VFY: dead code 0x0162-0188 in 
Lcom/googlecode/javacv/cpp/opencv_core$IplImage;.getBufferedImage 
(DZLjava/awt/color/ColorSpace;)Ljava/awt/image/BufferedImage;
02-26 20:14:03.913: D/dalvikvm(335): VFY: dead code 0x0193-01b9 in 
Lcom/googlecode/javacv/cpp/opencv_core$IplImage;.getBufferedImage 
(DZLjava/awt/color/ColorSpace;)Ljava/awt/image/BufferedImage;
02-26 20:14:03.913: D/dalvikvm(335): VFY: dead code 0x01c4-01ea in 
Lcom/googlecode/javacv/cpp/opencv_core$IplImage;.getBufferedImage 
(DZLjava/awt/color/ColorSpace;)Ljava/awt/image/BufferedImage;
02-26 20:14:03.913: D/dalvikvm(335): VFY: dead code 0x01fb-0205 in 
Lcom/googlecode/javacv/cpp/opencv_core$IplImage;.getBufferedImage 
(DZLjava/awt/color/ColorSpace;)Ljava/awt/image/BufferedImage;
02-26 20:14:03.964: D/dalvikvm(335): Trying to load lib 
/data/data/com.example.capturefromjavacv1/lib/libopencv_core.so 0x40514f78
02-26 20:14:03.984: D/dalvikvm(335): Added shared lib 
/data/data/com.example.capturefromjavacv1/lib/libopencv_core.so 0x40514f78
02-26 20:14:03.984: D/dalvikvm(335): No JNI_OnLoad found in 
/data/data/com.example.capturefromjavacv1/lib/libopencv_core.so 0x40514f78, 
skipping init
02-26 20:14:03.993: D/dalvikvm(335): Trying to load lib 
/data/data/com.example.capturefromjavacv1/lib/libjniopencv_core.so 0x40514f78
02-26 20:14:04.004: D/dalvikvm(335): Added shared lib 
/data/data/com.example.capturefromjavacv1/lib/libjniopencv_core.so 0x40514f78
02-26 20:14:04.403: D/dalvikvm(335): GC_CONCURRENT freed 597K, 57% free 
2944K/6727K, external 1625K/2137K, paused 4ms+3ms
02-26 20:14:05.344: D/dalvikvm(335): Trying to load lib 
/data/data/com.example.capturefromjavacv1/lib/libopencv_imgproc.so 0x40514f78
02-26 20:14:05.444: D/dalvikvm(335): GC_CONCURRENT freed 582K, 57% free 
2945K/6727K, external 1625K/2137K, paused 4ms+16ms
02-26 20:14:05.524: D/dalvikvm(335): Added shared lib 
/data/data/com.example.capturefromjavacv1/lib/libopencv_imgproc.so 0x40514f78
02-26 20:14:05.524: D/dalvikvm(335): No JNI_OnLoad found in 
/data/data/com.example.capturefromjavacv1/lib/libopencv_imgproc.so 0x40514f78, 
skipping init
02-26 20:14:05.533: D/dalvikvm(335): Trying to load lib 
/data/data/com.example.capturefromjavacv1/lib/libjniopencv_imgproc.so 0x40514f78
02-26 20:14:05.533: D/dalvikvm(335): Added shared lib 
/data/data/com.example.capturefromjavacv1/lib/libjniopencv_imgproc.so 0x40514f78
02-26 20:14:05.584: E/cv::error()(335): OpenCV Error: Assertion failed 
(dst.data == dst0.data) in void cvCvtColor(const CvArr*, CvArr*, int), file 
/home/saudet/android/OpenCV-2.4.3/modules/imgproc/src/color.cpp, line 3811
02-26 20:14:05.584: E/processFrame(335): Utils.matToBitmap() throws an 
exception: 
/home/saudet/android/OpenCV-2.4.3/modules/imgproc/src/color.cpp:3811: error: 
(-215) dst.data == dst0.data in function void cvCvtColor(const CvArr*, CvArr*, 
int)
02-26 20:14:05.594: W/dalvikvm(335): threadid=9: thread exiting with uncaught 
exception (group=0x40015560)
02-26 20:14:05.594: E/AndroidRuntime(335): FATAL EXCEPTION: Thread-10
02-26 20:14:05.594: E/AndroidRuntime(335): java.lang.NullPointerException
02-26 20:14:05.594: E/AndroidRuntime(335):  at 
com.example.capturefromjavacv1.HelloJavaCVView.processFrame(HelloJavaCVView.java
:139)
02-26 20:14:05.594: E/AndroidRuntime(335):  at 
com.example.capturefromjavacv1.HelloJavaCVView.run(HelloJavaCVView.java:35)
02-26 20:14:05.594: E/AndroidRuntime(335):  at 
java.lang.Thread.run(Thread.java:1019)
02-26 20:14:14.134: I/Process(335): Sending signal. PID: 335 SIG: 9

2.
3.

What is the expected output? What do you see instead?

I am expecting to open ipcamera stream. I am unable to get clear picture in 
emulator.
What version of the product are you using? On what operating system?
android 2.3.3 

Please provide any additional information below.
I am attaching the log file here 

regards
bharath

Original issue reported on code.google.com by nmani...@gmail.com on 26 Feb 2013 at 3:11

Attachments:

GoogleCodeExporter commented 9 years ago
"dst.data == dst0.data in function void cvCvtColor(const CvArr*, CvArr*, int)":
That usually means that the src and dst images do not have the same width and 
height.

Please ask your questions on the mailing list next time if possible, thank you.

Original comment by samuel.a...@gmail.com on 27 Feb 2013 at 11:31