kinyerakenneth / lastfm-java

Automatically exported from code.google.com/p/lastfm-java
BSD 2-Clause "Simplified" License
0 stars 0 forks source link

Playlist.create fails every time with a NullPointerException #44

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Call Playlist.create passing valid args and session
2. Receive NullPointer

What is the expected output? What do you see instead?
The expected output would be the playlist created, but instead I receive a 
NullPointer. However, I can confirm that the playlist was indeed created at the 
Last.fm servers, meaning that this shouldn't be a problem with my session key.

What version of the product are you using? On what operating system?
0.1.1, on Android 2.2.

Please provide any additional information below.
Happens every time to me, the playlist is created at the servers but I receive 
a NullPointer. Looking at the stack trace, it seems that "result" received from 
"Caller.getInstance().call" is null. Below is some debug info:

05-03 11:39:18.146: I/System.out(8240): open: http://ws.audioscrobbler.com/2.0/
05-03 11:39:18.396: I/System.out(8240): body: 
method=Playlist.create&api_sig=382ba53298f5fd1a403313ab62983a90&sk=7d81fd6cc01a8
14d6acfcc7adf33fff6&title=testing&api_key=<api_key>&description=testing

05-03 11:39:19.287: I/System.out8240): java.lang.NullPointerException
05-03 11:39:19.287: I/System.out(8240):     at 
de.umass.lastfm.Playlist.create(Playlist.java:157)

Original issue reported on code.google.com by helderga...@gmail.com on 3 May 2012 at 2:52

GoogleCodeExporter commented 9 years ago
This is a problem at the server side, see

http://www.last.fm/group/Last.fm+Web+Services/forum/21604/_/2028261

Original comment by jannikov...@gmail.com on 3 May 2012 at 6:36