You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2018/03/06 05:51:32 UTC

[GitHub] alsorokin commented on issue #310: CB-13415 (iOS) Importing corrupt images using the Camera plugin crashes the app

alsorokin commented on issue #310: CB-13415 (iOS) Importing corrupt images using the Camera plugin crashes the app
URL: https://github.com/apache/cordova-plugin-camera/pull/310#issuecomment-370671665
 
 
   There's still one test failure, is it expected?
   ```
   Test Case '-[CameraTest testProcessImage]' started.
   2018-02-28 14:10:55.751 xctest[2330:8469] -[CDVCamera processImage:info:options:]: unrecognized selector sent to instance 0x7976c770
   /Users/travis/build/apache/cordova-plugin-camera/tests/ios/CDVCameraTest/CDVCameraLibTests/CameraTest.m:481: error: -[CameraTest testProcessImage] : failed: caught "NSInvalidArgumentException", "-[CDVCamera processImage:info:options:]: unrecognized selector sent to instance 0x7976c770"
   (
   	0   CoreFoundation                      0x00c96ded __exceptionPreprocess + 189
   	1   libobjc.A.dylib                     0x00761d6f objc_exception_throw + 49
   	2   CoreFoundation                      0x00d085b8 -[NSObject(NSObject) doesNotRecognizeSelector:] + 136
   	3   CoreFoundation                      0x00c1ca8d ___forwarding___ + 941
   	4   CoreFoundation                      0x00c1c6be _CF_forwarding_prep_0 + 14
   	5   CDVCameraLibTests                   0x0edb4568 -[CameraTest testProcessImage] + 648
   	6   CoreFoundation                      0x00c1df4d __invoking___ + 29
   	7   CoreFoundation                      0x00c1de81 -[NSInvocation invoke] + 321
   	8   XCTest                              0x0066442b __24-[XCTestCase invokeTest]_block_invoke_2 + 502
   	9   XCTest                              0x006a4b0a -[XCTestContext performInScope:] + 229
   	10  XCTest                              0x00664228 -[XCTestCase invokeTest] + 259
   	11  XCTest                              0x00664bc5 -[XCTestCase performTest:] + 621
   	12  XCTest                              0x006949b7 -[XCTest runTest] + 45
   	13  XCTest                              0x00661a39 __27-[XCTestSuite performTest:]_block_invoke + 258
   	14  XCTest                              0x0066160b -[XCTestSuite _performProtectedSectionForTest:testSection:] + 32
   	15  XCTest                              0x0066181b -[XCTestSuite performTest:] + 213
   	16  XCTest                              0x006949b7 -[XCTest runTest] + 45
   	17  XCTest                              0x00661a39 __27-[XCTestSuite performTest:]_block_invoke + 258
   	18  XCTest                              0x0066160b -[XCTestSuite _performProtectedSectionForTest:testSection:] + 32
   	19  XCTest                              0x0066181b -[XCTestSuite performTest:] + 213
   	20  XCTest                              0x006949b7 -[XCTest runTest] + 45
   	21  XCTest                              0x00661a39 __27-[XCTestSuite performTest:]_block_invoke + 258
   	22  XCTest                              0x0066160b -[XCTestSuite _performProtectedSectionForTest:testSection:] + 32
   	23  XCTest                              0x0066181b -[XCTestSuite performTest:] + 213
   	24  XCTest                              0x006949b7 -[XCTest runTest] + 45
   	25  XCTest                              0x006b0bdf __44-[XCTTestRunSession runTestsAndReturnError:]_block_invoke + 52
   	26  XCTest                              0x00671af7 -[XCTestObservationCenter _observeTestExecutionForBlock:] + 699
   	27  XCTest                              0x006b0a72 -[XCTTestRunSession runTestsAndReturnError:] + 295
   	28  XCTest                              0x0064be10 -[XCTestDriver runTestsAndReturnError:] + 255
   	29  XCTest                              0x006a83a1 _XCTestMain + 790
   	30  xctest                              0x0008bab2 xctest + 6834
   	31  libdyld.dylib                       0x020e6779 start + 1
   )
   Test Case '-[CameraTest testProcessImage]' failed (0.229 seconds).Test Case '-[CameraTest testProcessImage]' started.
   2018-02-28 14:10:55.751 xctest[2330:8469] -[CDVCamera processImage:info:options:]: unrecognized selector sent to instance 0x7976c770
   /Users/travis/build/apache/cordova-plugin-camera/tests/ios/CDVCameraTest/CDVCameraLibTests/CameraTest.m:481: error: -[CameraTest testProcessImage] : failed: caught "NSInvalidArgumentException", "-[CDVCamera processImage:info:options:]: unrecognized selector sent to instance 0x7976c770"
   (
   	0   CoreFoundation                      0x00c96ded __exceptionPreprocess + 189
   	1   libobjc.A.dylib                     0x00761d6f objc_exception_throw + 49
   	2   CoreFoundation                      0x00d085b8 -[NSObject(NSObject) doesNotRecognizeSelector:] + 136
   	3   CoreFoundation                      0x00c1ca8d ___forwarding___ + 941
   	4   CoreFoundation                      0x00c1c6be _CF_forwarding_prep_0 + 14
   	5   CDVCameraLibTests                   0x0edb4568 -[CameraTest testProcessImage] + 648
   	6   CoreFoundation                      0x00c1df4d __invoking___ + 29
   	7   CoreFoundation                      0x00c1de81 -[NSInvocation invoke] + 321
   	8   XCTest                              0x0066442b __24-[XCTestCase invokeTest]_block_invoke_2 + 502
   	9   XCTest                              0x006a4b0a -[XCTestContext performInScope:] + 229
   	10  XCTest                              0x00664228 -[XCTestCase invokeTest] + 259
   	11  XCTest                              0x00664bc5 -[XCTestCase performTest:] + 621
   	12  XCTest                              0x006949b7 -[XCTest runTest] + 45
   	13  XCTest                              0x00661a39 __27-[XCTestSuite performTest:]_block_invoke + 258
   	14  XCTest                              0x0066160b -[XCTestSuite _performProtectedSectionForTest:testSection:] + 32
   	15  XCTest                              0x0066181b -[XCTestSuite performTest:] + 213
   	16  XCTest                              0x006949b7 -[XCTest runTest] + 45
   	17  XCTest                              0x00661a39 __27-[XCTestSuite performTest:]_block_invoke + 258
   	18  XCTest                              0x0066160b -[XCTestSuite _performProtectedSectionForTest:testSection:] + 32
   	19  XCTest                              0x0066181b -[XCTestSuite performTest:] + 213
   	20  XCTest                              0x006949b7 -[XCTest runTest] + 45
   	21  XCTest                              0x00661a39 __27-[XCTestSuite performTest:]_block_invoke + 258
   	22  XCTest                              0x0066160b -[XCTestSuite _performProtectedSectionForTest:testSection:] + 32
   	23  XCTest                              0x0066181b -[XCTestSuite performTest:] + 213
   	24  XCTest                              0x006949b7 -[XCTest runTest] + 45
   	25  XCTest                              0x006b0bdf __44-[XCTTestRunSession runTestsAndReturnError:]_block_invoke + 52
   	26  XCTest                              0x00671af7 -[XCTestObservationCenter _observeTestExecutionForBlock:] + 699
   	27  XCTest                              0x006b0a72 -[XCTTestRunSession runTestsAndReturnError:] + 295
   	28  XCTest                              0x0064be10 -[XCTestDriver runTestsAndReturnError:] + 255
   	29  XCTest                              0x006a83a1 _XCTestMain + 790
   	30  xctest                              0x0008bab2 xctest + 6834
   	31  libdyld.dylib                       0x020e6779 start + 1
   )
   Test Case '-[CameraTest testProcessImage]' failed (0.229 seconds).
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org