Created
October 11, 2008 09:15
-
-
Save timperrett/16238 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val _rawResponseStream: InputStream = post.getResponseBodyAsStream() | |
val processedResponse: List[String] = getProcessedResponse | |
private var _outputList: List[String] = List() | |
private def getProcessedResponse: List[String] = { | |
var _readStream: BufferedReader = new BufferedReader( | |
new InputStreamReader(_rawResponseStream) | |
) | |
var line: String = _readStream.readLine() | |
do { | |
line = _readStream.readLine() | |
println("########## " + line) | |
_outputList :: List(line) | |
} while(line != null) | |
_readStream.close() | |
return _outputList | |
} | |
Message: java.lang.NullPointerException | |
java.io.Reader.<init>(Reader.java:61) | |
java.io.InputStreamReader.<init>(InputStreamReader.java:55) | |
net.liftweb.paypal.PaypalResponse.getProcessedResponse(Paypal.scala:98) | |
net.liftweb.paypal.PaypalResponse.<init>(Paypal.scala:92) | |
net.liftweb.paypal.PaypalDataTransferReponse.<init>(Paypal.scala:197) | |
net.liftweb.paypal.PaypalDataTransfer.execute(Paypal.scala:177) | |
net.liftweb.demo.paypal.snippet.Paypal$$M$ac9475a5.pdt(Paypal.scala:13) | |
net.liftweb.demo.paypal.snippet.Paypal$$A$ac9475a5.pdt(<generated>) | |
net.liftweb.demo.paypal.snippet.Paypal.pdt(<generated>) | |
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | |
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | |
java.lang.reflect.Method.invoke(Method.java:585) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment