java.lang.NullPointerException

Jenkins JIRA | tchule | 7 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Hello, I'm trying to make the violations plugin work with some PHP code analyzed by the PHPCheckstyle project (http://developer.spikesource.com/wiki/index.php/Projects:phpcheckstyle). This is apparently an old project but it's simple enought and seems to work. I've modified the output xml format to try to match the java checkstyle format but i'm still having some problems. The output looks like this : <?xml version="1.0"?> <checkstyle> <file name="./application/config/autoload.php"> <error line="1" severity="error" message="Control statement should always be placed within {} blocks"/> <error line="2" severity="error" message="Control statement should always be placed within {} blocks"/> </file> </checkstyle> I have a nice graph and the summary is working, but when clicking on the files I have a "No violations found" message. In the Tomcat logs I also have this error : WARNING: Caught exception evaluating: prev.typeCount(t.name). Reason: java.lang.NullPointerException java.lang.NullPointerException at hudson.plugins.violations.ViolationsReport.typeCount(ViolationsReport.java:457) at sun.reflect.GeneratedMethodAccessor669.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav a:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.commons.jexl.util.introspection.UberspectImpl$VelMethodImpl.invoke(Ub erspectImpl.java:258) If you have an idea ... Thanks,

    Jenkins JIRA | 7 years ago | tchule
    java.lang.NullPointerException
  2. 0

    Hello, I'm trying to make the violations plugin work with some PHP code analyzed by the PHPCheckstyle project (http://developer.spikesource.com/wiki/index.php/Projects:phpcheckstyle). This is apparently an old project but it's simple enought and seems to work. I've modified the output xml format to try to match the java checkstyle format but i'm still having some problems. The output looks like this : <?xml version="1.0"?> <checkstyle> <file name="./application/config/autoload.php"> <error line="1" severity="error" message="Control statement should always be placed within {} blocks"/> <error line="2" severity="error" message="Control statement should always be placed within {} blocks"/> </file> </checkstyle> I have a nice graph and the summary is working, but when clicking on the files I have a "No violations found" message. In the Tomcat logs I also have this error : WARNING: Caught exception evaluating: prev.typeCount(t.name). Reason: java.lang.NullPointerException java.lang.NullPointerException at hudson.plugins.violations.ViolationsReport.typeCount(ViolationsReport.java:457) at sun.reflect.GeneratedMethodAccessor669.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav a:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.commons.jexl.util.introspection.UberspectImpl$VelMethodImpl.invoke(Ub erspectImpl.java:258) If you have an idea ... Thanks,

    Jenkins JIRA | 7 years ago | tchule
    java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Errors with carrot2 clustering plugin - lingo3g module

    GitHub | 4 years ago | cless91
    java.lang.RuntimeException: cannot invoke method: substring
  5. 0

    Getting Exceptions from logs on *nix using sed/awk/whatever

    Stack Overflow | 2 years ago | WrRaThY
    java.lang.NullPointerException

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at hudson.plugins.violations.ViolationsReport.typeCount()
    2. hudson.plugins.violations
      ViolationsReport.typeCount
      1. hudson.plugins.violations.ViolationsReport.typeCount(ViolationsReport.java:457)
      1 frame
    3. Java RT
      GeneratedMethodAccessor669.invoke
      1. sun.reflect.GeneratedMethodAccessor669.invoke(Unknown Source)
      1 frame