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.
Created attachment 126771 [details] Exception stack trace See attachment. This happens when ergonomics is present; when I delete ergonomics, everything works fine. Not sure if this is a problem in ergonomics, or in module dependencies on the webcommon side.
*** Bug 221085 has been marked as a duplicate of this bug. ***
Isn't there something interesting in the log file?
Log is attached to the duplicate issue 221085
There modules get enabled: INFO [org.netbeans.core.startup.NbEvents]: Turning on modules: org.netbeans.modules.web.clientproject.api [1.9 web-main-9034-on-20121030] org.netbeans.modules.web.javascript.debugger [1.1 web-main-9034-on-20121030] org.netbeans.modules.web.inspect [0.3 web-main-9034-on-20121030] org.netbeans.modules.web.clientproject.helpset/0 [1.1 web-main-9034-on-20121030] org.netbeans.libs.jstestdriver [1.1 web-main-9034-on-20121030] org.netbeans.modules.javascript.jstestdriver [1.1 web-main-9034-on-20121030] org.netbeans.modules.html.navigator [1.1 web-main-9034-on-20121030] org.netbeans.modules.web.clientproject [1.6 web-main-9034-on-20121030] The module that provides the sample (e.g. web.client.samples) is not among them. Try to investigate way (my guess is that the module is in enterprise cluster).
Thanks Jardo, you are right that the problem is on the side of the samples module. It is actually in the webcommon cluster (which is the correct location), but looking at http://deadlock.netbeans.org/hudson/job/nbms-and-javadoc/lastSuccessfulBuild/artifact/nbbuild/build/generated/deps.txt, I see that the only module that depends on it is web.kit, which is in enterprise cluster. There should be a visible module in the webcommon cluster that depends on web.client.samples. At the same time, this kind of situation should be caught by a test (e.g. commit validation).
(In reply to comment #5) > Thanks Jardo, you are right that the problem is on the side of the samples > module. It is actually in the webcommon cluster (which is the correct > location), but looking at > http://deadlock.netbeans.org/hudson/job/nbms-and-javadoc/lastSuccessfulBuild/artifact/nbbuild/build/generated/deps.txt, > I see that the only module that depends on it is web.kit, which is in > enterprise cluster. There should be a visible module in the webcommon cluster > that depends on web.client.samples. So what is the correct solution ? Add fake dependency to some module from webcommon cluster or remove dependency from web.kit ? > > At the same time, this kind of situation should be caught by a test (e.g. > commit validation).
> So what is the correct solution ? I think web.clientproject is the only visible module in the webcommon cluster, so we need to add a dependency of wev.clientproject on web.client.samples (if this is possible and will not introduce a circular dependency). Removing dependency from web.kit is optional.
web-main#19ed28d12731
works fine. Sample project can be created w/o any exception. Please transplant to beta2 Product Version: NetBeans IDE Dev (Build web-main-9073-on-20121101) Java: 1.7.0_10-ea; Java HotSpot(TM) Client VM 23.6-b04 Runtime: Java(TM) SE Runtime Environment 1.7.0_10-ea-b11 System: Linux version 3.2.0-31-generic-pae running on i386; UTF-8; en_US (nb)
Transplanted to release73_beta2: http://hg.netbeans.org/releases/rev/7abd09983acd
Integrated into 'main-golden', will be available in build *201211020001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/19ed28d12731 User: Denis Anisimov <ads@netbeans.org> Log: Fix for BZ#221083 - Exception when creating HTML5 sample project
I filed bug 221321 against commit validation to detect this error in the future.
Integrated into 'releases', will be available in build *201211020750* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/7abd09983acd User: Denis Anisimov <ads@netbeans.org> Log: Fix for BZ#221083 - Exception when creating HTML5 sample project
verified in beta2 Product Version: NetBeans IDE 7.3 Beta 2 (Build 201211020750) Java: 1.7.0_10-ea; Java HotSpot(TM) Client VM 23.6-b04 Runtime: Java(TM) SE Runtime Environment 1.7.0_10-ea-b11 System: Linux version 3.2.0-31-generic-pae running on i386; UTF-8; en_US (nb)
*** Bug 219707 has been marked as a duplicate of this bug. ***
*** Bug 221457 has been marked as a duplicate of this bug. ***