tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 64334] New: Netbeans cannot debug test classes with uninitialised jvmarg
Date Fri, 10 Apr 2020 06:38:33 GMT
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: Brian@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message