Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Java API null pointer exception  RSS feed

 
Adrian Lukaszek
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm studying some private API. When I subscribe one class it works fine:



Problem apears once trying to subscribe 2 different classes:



Here is the SubscribeOrder class :


I'm getting NullPointerException Exception in SubscribeOrder.runExample:



Thanks in advance
 
Knute Snortum
Sheriff
Posts: 3947
92
Chrome Eclipse IDE Java Postgres Database VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The problem with your post is that you didn't post the full working code, or at least a section of code that matches the error.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!