Nul lPointer Exception in Checkstyle

Discussion in 'Java' started by Tim Slattery, Oct 13, 2011.

  1. Tim Slattery

    Tim Slattery Guest

    This is kind of tangential for a Java group, but I'm hoping I can get
    some kind of pointer. I'm running Checkstyle in Eclipse Helios, and it
    gives a NullPointerExcepton on *every* module. There's a message
    indicator on the first line, the tooltip says "Got an exception -
    java.lang.NullPointerException". There are some other Checkstyle
    messages, but clearly it's completing its inspection, I can see things
    that should be flagged that aren't. I've googled, but haven't found
    anything.

    --
    Tim Slattery

    http://members.cox.net/slatteryt
    Tim Slattery, Oct 13, 2011
    #1
    1. Advertising

  2. Tim Slattery

    Tim Slattery Guest

    Tim Slattery <> wrote:

    >This is kind of tangential for a Java group, but I'm hoping I can get
    >some kind of pointer. I'm running Checkstyle in Eclipse Helios, and it
    >gives a NullPointerExcepton on *every* module. There's a message
    >indicator on the first line, the tooltip says "Got an exception -
    >java.lang.NullPointerException". There are some other Checkstyle
    >messages, but clearly it's completing its inspection, I can see things
    >that should be flagged that aren't. I've googled, but haven't found
    >anything.


    Turned out to be a Maven configuration issue. Or seems to have been,
    anyway. When we got the Maven config for the project straightened out,
    the NullPointerException vanished.

    --
    Tim Slattery

    http://members.cox.net/slatteryt
    Tim Slattery, Oct 14, 2011
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    18
    Views:
    1,255
    Roedy Green
    Jan 31, 2006
  2. Replies:
    2
    Views:
    586
    Oliver Wong
    Mar 30, 2006
  3. Tim B
    Replies:
    1
    Views:
    2,036
    Tim B
    Apr 29, 2006
  4. Pete Wilson
    Replies:
    3
    Views:
    411
    David Harmon
    Apr 3, 2004
  5. Replies:
    0
    Views:
    409
Loading...

Share This Page