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 194432 - error caused by removing helpset files from appserver81 module
Summary: error caused by removing helpset files from appserver81 module
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 7.0
Hardware: PC Mac OS X
: P1 normal (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-18 12:17 UTC by Kenneth Ganfield
Modified: 2011-01-19 06:33 UTC (History)
2 users (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 Kenneth Ganfield 2011-01-18 12:17:49 UTC
I moved the javahelp helpset from the appserver81 module to the j2ee platform module.

When removing the helpset I also removed the org/netbeans/modules/j2ee/sun/ide/docs/sunappserver.hs, map and toc xml files.

This now results in an exception when validating the module. 



2 tests failed.
REGRESSION:  org.netbeans.core.validation.ValidateLayerConsistencyTest.testInstantiateAllInstances

Error Message:
Some instances cannot be created File Services/JavaHelp/com-sun-enterprise-tools-studio-j2ee-helpset.xml Read from: [jar:file:/space/workspace/nbms-and-javadoc/nbbuild/netbeans/extra/modules/org-netbeans-modules-j2ee-sun-appsrv81.jar!/org/netbeans/modules/j2ee/sun/ide/j2ee/layer.xml] threw: java.io.IOException: javax.help.HelpSetException: Could not parse Got an IOException (cannot connect to nbdocs:/org/netbeans/modules/j2ee/sun/ide/docs/sunappserver.hs: java.util.MissingResourceException: Cannot find localized resource org/netbeans/modules/j2ee/sun/ide/docs/sunappserver.hs in SystemClassLoader[959 modules])
Comment 1 Petr Hejl 2011-01-18 14:22:52 UTC
Vince, Ken can you verify this is proper fix?

web-main 960377d15fc1
Comment 2 Jesse Glick 2011-01-18 15:12:20 UTC
No, a module should not register a helpset from another module! Just delete the helpset reference in j2ee.sun.appsrv81 - it has no helpset now. I posted details to broken_builds@netbeans.org.
Comment 3 Petr Hejl 2011-01-18 15:26:22 UTC
Done in web-main 751cc91cd419.
Comment 4 Quality Engineering 2011-01-19 06:33:16 UTC
Integrated into 'main-golden', will be available in build *201101190000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/960377d15fc1
User: Petr Hejl <phejl@netbeans.org>
Log: #194432 error caused by removing helpset files from appserver81 module