This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 235213 - Failing org.netbeans.modules.tomcat5 tests
Summary: Failing org.netbeans.modules.tomcat5 tests
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 7.4
Hardware: All All
: P1 normal (vote)
Assignee: Petr Hejl
URL:
Keywords: TEST
Depends on:
Blocks:
 
Reported: 2013-08-29 08:17 UTC by Jiri Skrivanek
Modified: 2013-09-02 09:03 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2013-08-29 08:17:23 UTC
Please, fix failing org.netbeans.modules.tomcat5.TomcatManagerTest and org.netbeans.modules.tomcat5.config.TomcatModuleConfigurationTest. To reproduce:

ant -k -f tomcat5 test test-generate-html

Caused by: java.lang.IllegalArgumentException: Called DataObject.find on null
	at org.openide.loaders.DataObject.find(DataObject.java:551)
	at org.openide.loaders.DataFolder.findFolder(DataFolder.java:540)
	at org.netbeans.modules.tomcat5.util.TestBase$Lkp.setRepository(TestBase.java:96)
	at org.netbeans.modules.tomcat5.util.TestBase$Lkp.access$000(TestBase.java:76)
	at org.netbeans.modules.tomcat5.util.TestBase.<clinit>(TestBase.java:68)
	... 5 more
Comment 1 Petr Hejl 2013-08-30 13:01:31 UTC
Ok, I've finally found a cause which was:

changeset:   262204:501a1632d983
user:        David Konecny <dkonecny@netbeans.org>
date:        Mon Aug 26 09:40:57 2013 +1200
summary:     #234815 - remove javahelp topics and files in j2ee and server helpsets

Fixed in web-main 51439b519f0c.