Ok I've found the issue. My class is a case class that has subclasses, and when I create a subclass it appears the init stuff is getting called twice; however, as the readLine method is destructive, there is nothing to read and i then get an NPE. Bugger.
Any suggestions for a solution would be great. Ideally, I don't want to have to check if its cool to call other methods on that instance and possibly having to invoke the stream processing manually, it should really be done automatically by the super class. If I created a companion ojbect, with an apply method like: def apply(p: PostMethod) = PaypalResponse(p).withProcessedResponse might that solve the problem? Cheers Tim --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---
