https://bz.apache.org/bugzilla/show_bug.cgi?id=64334

            Bug ID: 64334
           Summary: Netbeans cannot debug test classes with uninitialised
                    jvmarg
           Product: Tomcat 8
           Version: 8.5.54
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Meta
          Assignee: dev@tomcat.apache.org
          Reporter: br...@pingtoo.com
  Target Milestone: ----

Created attachment 37163
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=37163&action=edit
diff for TOMCAT_8_5_54/tomcat/res/ide-support/netbeans/nb-tomcat.xml

I do not understand the use intended by this jvmarg, which is undefined. I can
compile and run a single unit test class, but the debug action crashes.

debug-selected-file-in-test:
debugging test: org.apache.catalina.realm.TestJNDIRealm
Error: Could not find or load main class ${test.jvmarg.egd}
Testsuite: org.apache.catalina.realm.TestJNDIRealm
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 sec

Simply commenting-out the offending line in:-

TOMCAT_8_5_54/tomcat/res/ide-support/netbeans/nb-tomcat.xml

... allows the unit test to be debugged successfully.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to