0

addressStandardisationResponse.getStandardisedUKaddress().getAddressLine1()

addressStandardisationResponse : this is the response object i am getting after calling a service which has the Standardised Uk address object filled . This works fine in my eclipse but when i exported it as runnable jar and running on another machine its giving null pointer exception at the same line

  • We will need to see more code. `addressStandardisationResponse` is a third party class, please include the method throwing the exception. – Cardinal System Dec 05 '17 at 23:27
  • 3
    Imagine you are coming to this question with no context besides what you have given above. Would you be able to figure out what the problem is? – Joe C Dec 05 '17 at 23:28
  • It may be something related to classpath item that is available via eclipse but not when you run via jar – NullPointerException Dec 05 '17 at 23:36
  • also, are you calling the service with the same details or address? it might be a problem with the data for that request, and nothing to do with eclipse. – slipperyseal Dec 06 '17 at 00:13

0 Answers0