• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

eclipse issue

 
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i have downloaded jboss 4.2.0 ga and kept it in the same named folder
now i have set the build path to this folder
but when i start my new server it gives java lang nullpointerexception ?

i tried many times but it doesnt go ?
what could be the issue help required..
 
Ranch Hand
Posts: 479
1
IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Why dont you post the Stack Trace? Maybe the NullPointerException is caused by something else...
 
nikhil govind
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i checked the console and nothing comes there...the server does not even try starting
on start click itself it gives java lang nullpointerexception
cannot start server
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How are you starting JBoss AS? It sounds as if you are trying to start in from an IDE. Try starting it from the command line instead.
 
Bartender
Posts: 2661
19
Netbeans IDE C++ Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Nikhil ,

Please keep it to one thread per issue. We closed your duplicate.
Can you change the subject line to something useful? What does this have to do with Eclipse?
 
nikhil govind
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hey i started my jboss in eclipde europa adding server and then start...
but as soon as i click the error alert comes



ok i will close these duplicate threads...
 
nikhil govind
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
the ide one is locked ?
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

nikhil govind wrote:the ide one is locked ?


Yes it is
 
Jaikiran Pai
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

nikhil govind wrote:hey i started my jboss in eclipde europa adding server and then start...
but as soon as i click the error alert comes



Like others have already said, you have to provide more relevant details on exactly what errors what version of JBoss AS and other necessary details. Without that, it's almost impossible for us to guess what's wrong.
 
nikhil govind
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Iam working in eclipse 3.3 europa edition
My JBOSS version is jboss 4.2.0 GA
I have keprt it on desktop.
I have configured the user library with a name and having all the jars of jboss-server-lib-all
it said jre path missing so i pointed it to jboss on my desktop
now i created a simple jsp file with no lines from my side.
I created the web dynamic project.
Now after i added server on the click of start or debug it gives Java.lang.Nullpointerexcepttion.
with nothing in console or in problems or anywhere.
I checked running the run.bat in the bin of jboss and found the error classpath c:\program files\java\bin\server\jvm.dll missing
i checked it then and found no server folder in java bin folder. so i copied it from programfiles-java-jdk 1.5.0.
and again clicked run.bat of jboss but it started now giving started in 17s....
so again i checked with eclipse but here the same error
java.lang.nullpointerexception.

Hope now you get my problem. I have worked previously with jboss in some other systems and configured them too and never i got such an error. So kindly help with this issue.
 
Peter Johnson
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please provide the full stack trace for the NPE.

Now after i added server on the click of start or debug it gives Java.lang.Nullpointerexcepttion.
with nothing in console or in problems or anywhere.


I am guessing that your Eclipse setup is corrupt, especially since you state that you are seeing no output other than the NPE. I would have expected that when you ran the server in Eclipse that there would be a lot of output in the Console View, and perhaps an NPE among that output. But since that is not happening (I assume you are getting a pop-up with the NPE???), Eclipse is not even getting as far as running JBoss AS. Try reinstalling Eclipse.

By the way, I have no idea what you mean by the following:

>>I have configured the user library with a name and having all the jars of jboss-server-lib-all
What do you mean by "user library"? What is "{ jboss-server-lib-all"?

>>it said jre path missing so i pointed it to jboss on my desktop
What gave this error? I have no idea what "it" is.
What did you point to JBoss AS on your desktop? How did you do this?

>>now i created a simple jsp file with no lines from my side.
What do you mean by "no lines from my side"

>>I created the web dynamic project.
How could you create a JSP before you created the project???
 
nikhil govind
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
yes i am getting the pop-up NPE exception
i will install it again and let you know in case of issues..
reply
    Bookmark Topic Watch Topic
  • New Topic