4 Replies Latest reply on Jan 2, 2003 11:04 AM by wireframe

    Null Pointer Exception at startup

    the_newby

      The error in subject (null pointer exception) appears in both jboss-3.0.4.zip and jboss-3.0.4_tomcat-4.1.12.zip. I'm using redhat 8 (with kde3) and j2sdk-1.4.1_01.

      In attachment you will find the boot.log file. No server.log file was created...

      thnx

      bye Attilio.

        • 1. Re: Null Pointer Exception at startup
          wireframe

          i'm using jboss3.0.4 on suse linux 7.3 and getting the same error when running the server with default configuration. i am able to startup jboss with the minimal configuration without any errors. have you had any luck solving this problem?

          Ryan Sonnek

          • 2. Re: Null Pointer Exception at startup
            wireframe

            i forgot to mention my jdk. i'm running sun's jdk 1.4.1_01. could this be the culprit?

            • 3. Re: Null Pointer Exception at startup

              If you're on a UNIX type operating system, ensure that the name of your machine resolves to an IP address. ("ping hostname" will do). If not, add it to /etc/hosts.

              With JRE1.3 JBoss gives an error message about host not found, with JRE1.4 it just throws a NPE.

              • 4. Re: Null Pointer Exception at startup
                wireframe

                i just want to thank you for your reply!! i was pulling my hair out over the past two days trying to figure this out, and i was just about to reformat my box and start over.

                i edited my hosts file, and now jboss starts up like a charm. some kind of error message would be wonderful to avoid this kind of frustration, but with a great help forum like this, i'll survive.

                thank you again!