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 197689 - NoClassDefFoundError: org/netbeans/modules/html/editor/HtmlErrorFilter
Summary: NoClassDefFoundError: org/netbeans/modules/html/editor/HtmlErrorFilter
Status: VERIFIED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 7.0.1
Hardware: All All
: P2 normal (vote)
Assignee: Marek Fukala
URL:
Keywords:
: 197651 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-04-13 05:57 UTC by Peter Nabbefeld
Modified: 2011-08-01 08:13 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 178296


Attachments
stacktrace (1.77 KB, text/plain)
2011-04-13 05:57 UTC, Peter Nabbefeld
Details
stacktrace (1.77 KB, text/plain)
2011-04-13 07:33 UTC, Exceptions Reporter
Details
stacktrace (1.77 KB, text/plain)
2011-04-13 12:00 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Nabbefeld 2011-04-13 05:57:46 UTC
This issue was reported manually by epdv.
It already has 4 duplicates 


Build: NetBeans IDE Dev (Build nbms-and-javadoc-6692-on-110221)
VM: Java HotSpot(TM) Client VM, 11.0-b16, Java(TM) SE Runtime Environment, 1.6.0_11-b03
OS: Windows XP

User Comments:
paolosca: just created a html file




Stacktrace: 
java.lang.NoClassDefFoundError: org/netbeans/modules/html/editor/HtmlErrorFilter
   at org.netbeans.modules.html.editor.gsf.HtmlHintsProvider.computeErrors(HtmlHintsProvider.java:185)
   at org.netbeans.modules.csl.hints.GsfHintsProvider$2.run(GsfHintsProvider.java:323)
   at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:154)
   at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:138)
   at org.netbeans.modules.parsing.impl.TaskProcessor$1.call(TaskProcessor.java:201)
   at org.netbeans.modules.parsing.impl.TaskProcessor$1.call(TaskProcessor.java:198)
Comment 1 Peter Nabbefeld 2011-04-13 05:57:50 UTC
Created attachment 107710 [details]
stacktrace
Comment 2 Peter Nabbefeld 2011-04-13 06:13:56 UTC
As I don't know, if this affects 7.0, too, I've rised priority to P2 (probably it should be even P1?), as it makes editin HTML files nearly impossible. Already the third bug. Though bugs are probably not related, I'd be happy if editing HTML files would be tested after fixes.
Comment 3 Exceptions Reporter 2011-04-13 07:33:40 UTC
Created attachment 107712 [details]
stacktrace
Comment 4 Exceptions Reporter 2011-04-13 12:00:42 UTC
Created attachment 107717 [details]
stacktrace
Comment 5 Marek Fukala 2011-04-13 13:47:25 UTC
fixed in web-main#89a554dc9ab7. A regression of http://hg.netbeans.org/web-main/rev/7b7239b0706b, I've forgotten to update dependencies.
Comment 6 Peter Nabbefeld 2011-04-13 13:54:47 UTC
(In reply to comment #5)
> fixed in web-main#89a554dc9ab7. A regression of
> http://hg.netbeans.org/web-main/rev/7b7239b0706b, I've forgotten to update
> dependencies.

That's one point for using update center with my outdated daily build: This way I can find such broken dependencies.

BTW, nbms-and-javadocs job on hudson seems to block, while most changes in the list are from You - could You please hava a look at it?
Comment 7 Peter Nabbefeld 2011-04-13 13:56:27 UTC
Oops, same team, but not really same name ...
Comment 8 Marek Fukala 2011-04-13 14:03:10 UTC
I believe the issue should not happen when the 7.0 fcs is downloaded and installed normally. In this case the csl.api module has the correct version and the NCDFE from html.editor will not happen. The problem might happen in an older build where the html.editor module is updated, but not csl.api due to the missing proper dependency.
Comment 9 Marek Fukala 2011-04-13 14:08:55 UTC
*** Bug 197651 has been marked as a duplicate of this bug. ***
Comment 10 Peter Nabbefeld 2011-04-13 14:25:25 UTC
(In reply to comment #8)
> I believe the issue should not happen when the 7.0 fcs is downloaded and
> installed normally. In this case the csl.api module has the correct version and
> the NCDFE from html.editor will not happen. The problem might happen in an
> older build where the html.editor module is updated, but not csl.api due to the
> missing proper dependency.

Yes, I think You're right. However, upgrading using the UC should not be like a bingo game - it should just work. So, IMO, testing upgrades is also important.
Comment 11 Marek Fukala 2011-04-14 07:02:28 UTC
> Yes, I think You're right. However, upgrading using the UC should not be like a
> bingo game - it should just work. So, IMO, testing upgrades is also important.

I absolutely agree with you. jtulach is about to implement some tests which checks whether dependencies were updated when an API change is detected. I believe they will be very beneficial.
Comment 12 Peter Nabbefeld 2011-04-14 07:21:02 UTC
(In reply to comment #11)

> jtulach is about to implement some tests which
> checks whether dependencies were updated when an API change is detected. I
> believe they will be very beneficial.

Great to hear about that. Thank You for the information!
Comment 13 Quality Engineering 2011-04-14 08:39:10 UTC
Integrated into 'main-golden', will be available in build *201104140401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/89a554dc9ab7
User: Marek Fukala <mfukala@netbeans.org>
Log: #197689 - NoClassDefFoundError: org/netbeans/modules/html/editor/HtmlErrorFilter
Comment 14 Vladimir Riha 2011-08-01 08:13:57 UTC
Editing of html files works fine, so for me it's verified...

Product Version: NetBeans IDE 7.0.1 (Build 201107282000)
Java: 1.7.0; Java HotSpot(TM) Client VM 21.0-b17
System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb)