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 228843 - NoSuchMethodError: org.netbeans.modules.html.editor.lib.api.validation.ValidationContext.getSource()Ljava/lang/String;
Summary: NoSuchMethodError: org.netbeans.modules.html.editor.lib.api.validation.Valida...
Status: RESOLVED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 7.4
Hardware: All All
: P2 normal (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-22 09:52 UTC by Exceptions Reporter
Modified: 2013-05-02 14:13 UTC (History)
16 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 200123


Attachments
stacktrace (3.08 KB, text/plain)
2013-04-22 09:52 UTC, Exceptions Reporter
Details
stacktrace (3.08 KB, text/plain)
2013-04-22 10:58 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2013-04-22 09:52:28 UTC
Build: NetBeans IDE Dev (Build 201304162301)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.21-b01, Java(TM) SE Runtime Environment, 1.7.0_21-b11
OS: Linux

User Comments:
prenaudet: Open Class PHP

prenaudet: After Update with the dev build

Dredd: Clicking on Network Monitor, on resolving css project preprocessor

esche: open a xhtml file

GUEST: Open a Doctrine Model in a plugin of symfony 1.4 app

limuhob: open html file




Stacktrace: 
java.lang.NoSuchMethodError: org.netbeans.modules.html.editor.lib.api.validation.ValidationContext.getSource()Ljava/lang/String;
   at org.netbeans.modules.html.validation.ValidatorImpl.validate(ValidatorImpl.java:90)
   at org.netbeans.modules.html.editor.api.gsf.HtmlParserResult.getErrorsFromValidatorService(HtmlParserResult.java:284)
   at org.netbeans.modules.html.editor.api.gsf.HtmlParserResult.getValidationResults(HtmlParserResult.java:262)
   at org.netbeans.modules.html.editor.api.gsf.HtmlParserResult.getDiagnostics(HtmlParserResult.java:251)
   at org.netbeans.modules.html.editor.hints.HtmlRuleContext.<init>(HtmlRuleContext.java:84)
   at org.netbeans.modules.html.editor.hints.HtmlHintsProvider.computeErrors(HtmlHintsProvider.java:186)
Comment 1 Exceptions Reporter 2013-04-22 09:52:30 UTC
Created attachment 133657 [details]
stacktrace
Comment 2 Exceptions Reporter 2013-04-22 10:58:16 UTC
Created attachment 133660 [details]
stacktrace

nothing
Comment 3 Exceptions Reporter 2013-04-22 14:16:15 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=200123
Comment 4 eggmatters 2013-04-24 21:36:04 UTC
I Issued this bug as a guest. Please assign me as the reporter if necessary. Thanks.
Comment 5 Vladimir Riha 2013-04-28 16:18:12 UTC
53 reports in last week, 14 logged-in users + 15 different userdirs from guests => I think this is P2
Comment 6 Marek Fukala 2013-04-30 14:06:11 UTC
It's caused by an incompatible change in friends api. Should be fixed in web-main#d07ec9e7926b
Comment 7 katsuke 2013-05-01 15:43:30 UTC
I can confirm the issue does not happen any more for me after checking and applying updates:

Product Version: NetBeans IDE Dev (Build 201304182301)
Java: 1.7.0_15; OpenJDK Client VM 23.7-b01
Runtime: OpenJDK Runtime Environment 1.7.0_15-b20
System: Linux version 3.2.0-32-generic-pae running on i386; UTF-8; en_CA (nb)

Ubuntu Precise 32bit.

Thank you.
Comment 8 Quality Engineering 2013-05-02 14:13:33 UTC
Integrated into 'main-golden', will be available in build *201305021042* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/d07ec9e7926b
User: Marek Fukala <mfukala@netbeans.org>
Log: #228843 - NoSuchMethodError: org.netbeans.modules.html.editor.lib.api.validation.ValidationContext.getSource()Ljava/lang/String;