Uploaded image for project: 'Clover'
  1. Clover
  2. CLOV-1058

clover NPE when there is an enum type named "java"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Low
    • won't fix
    • 3.1.3
    • Instrumentation
    • None
    • all platform

    Description

      enable clover for the attached java class and run the test. Get an error like below.

      Exception in thread "main" java.lang.ExceptionInInitializerError
      at echosign.qe.MyJavaTestRunner.main(MyJavaTestRunner.java:10)
      Caused by: java.lang.NullPointerException
      at echosign.qe.MyJavaTest$java.<init>(MyJavaTest.java:15)
      at echosign.qe.MyJavaTest$java.<clinit>(MyJavaTest.java:8)
      ... 1 more

      Attachments

        Activity

          People

            mstudman Michael Studman (Inactive)
            299669e40041 John
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: