File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss/WildFly and the fly likes eclipse issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "eclipse issue" Watch "eclipse issue" New topic
Author

eclipse issue

nikhil govind
Ranch Hand

Joined: Mar 08, 2011
Posts: 31
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..
Rajkamal Pillai
Ranch Hand

Joined: Mar 02, 2005
Posts: 443
    
    1


Why dont you post the Stack Trace? Maybe the NullPointerException is caused by something else...
nikhil govind
Ranch Hand

Joined: Mar 08, 2011
Posts: 31
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
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5842
    
    7

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.


JBoss In Action
Jan Cumps
Bartender

Joined: Dec 20, 2006
Posts: 2510
    
  10

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?


OCUP UML fundamental and ITIL foundation
youtube channel
nikhil govind
Ranch Hand

Joined: Mar 08, 2011
Posts: 31
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

Joined: Mar 08, 2011
Posts: 31
the ide one is locked ?
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10263
    
168

nikhil govind wrote:the ide one is locked ?

Yes it is

[My Blog] [JavaRanch Journal]
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10263
    
168

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

Joined: Mar 08, 2011
Posts: 31
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
Bartender

Joined: May 14, 2008
Posts: 5842
    
    7

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

Joined: Mar 08, 2011
Posts: 31
yes i am getting the pop-up NPE exception
i will install it again and let you know in case of issues..
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: eclipse issue