• Post Reply Bookmark Topic Watch Topic
  • New Topic

switching from one application to another  RSS feed

 
pothineni rajesh
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I have the problem with swithching from one application to another.There are two applications like X and Y. When I first select X , it works fine without any errors.When I switch from X to Y , it was giving the error as Null pointer Exception.it won't get the screen.Both X and Y Bussiness code was written in the same java file.But the controller and view are different.and also the Java file was mentioned as Singleton. How to change this object.


Anybody could you help me regarding this.
 
Amit Ghorpade
Bartender
Posts: 2856
10
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I cant make out anything from your post, can you let us know the exact problem.
pothineni rajesh wrote:it was giving the error as Null pointer Exception

Is it not giving a NullPointerException now?

Anyways this is not a SCJP question, I'll move it to an appropriate place.
 
Campbell Ritchie
Marshal
Posts: 56540
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We need more details before we can help. Please supply a stack trace and the code near where the Exception occurs.
 
Rob Spoor
Sheriff
Posts: 21135
87
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What a coincidence. Someone has posted the exact same question from the same IP address but with a different name. You don't have two logins, do you?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!