java.lang.VerifyError: com.ubuntuone.api.files.U1FileAPI when used on Android

Bug #950633 reported by Matthew Meyer
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu One Files Java library
Triaged
Undecided
Ubuntu One Android hackers

Bug Description

Android OS 2.3.3
Android SDK 10
Java 1.6.0.26

Constructing a new U1FileAPI in an Android project results in ERROR/AndroidRuntime(6246): java.lang.VerifyError: com.ubuntuone.api.files.U1FileAPI

Examining logcat warning shows root cause: WARN/dalvikvm(6246): VFY: unable to resolve exception class 292 (Lorg/codehaus/jackson/JsonParseException;)

WORKAROUND by including jar jackson-mini-1.9.5..jar in build path resolves this issue.

Perhaps the exact jackson stuff needed should be included in the U1 jar or the dependency should otherwise be noted somewhere?

Tags: android
Leo Arias (elopio)
Changed in ubuntuone-files-java-library:
assignee: nobody → Ubuntu One Android hackers (ubuntuone-android-hackers)
tags: added: android
Rick McBride (rmcbride)
Changed in ubuntuone-files-java-library:
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.