athibanraj / gdata-java-client

Automatically exported from code.google.com/p/gdata-java-client
Apache License 2.0
0 stars 0 forks source link

VerifyError when initializing PicasawebService. #447

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago

I made thing simple to use a PicasaWebService to load a list of user albums

//The error occurred at the first line.
 PicasawebService myService = new PicasawebService("VideoAlbum");
                myService.setUserCredentials("email@blah", "password");

                URL feedUrl = new URL("https://picasaweb.google.com/data/feed/api/user/email@blah?kind=album");
                //URL feedUrl = new URL(String.format("https://picasaweb.google.com/data/feed/api/user/%1$s?kind=album&access=all&token=%2$s", Plus.AccountApi.getAccountName(client), token));

                UserFeed myUserFeed = myService.getFeed(feedUrl, UserFeed.class);
                Log.w("PICASSO", "C " + myUserFeed.getAlbumEntries().size() );
                for (AlbumEntry myAlbum : myUserFeed.getAlbumEntries()) {
                    System.out.println("PICASA ALBUM "+ myAlbum.getTitle().getPlainText());
                }
When one the code I received,

11-27 16:21:16.975: E/AndroidRuntime(7077): FATAL EXCEPTION: Thread-122693 
11-27 16:21:16.975: E/AndroidRuntime(7077): java.lang.VerifyError: 
com/google/gdata/client/media/MediaService 11-27 16:21:16.975: 
E/AndroidRuntime(7077): at 
com.innovative.fragment.PicassaFragment$1.run(PicassaFragment.java:79)

What does the error mean....

Original issue reported on code.google.com by slam...@gmail.com on 27 Nov 2014 at 8:06