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 258069 - NoSuchMethodError: org.netbeans.modules.web.common.api.CssPreprocessors.createProjectProblemsProvider(Lorg/netbeans/api/project/Project;)Lorg/netbeans/spi/project/ui/ProjectProblemsProvider;
Summary: NoSuchMethodError: org.netbeans.modules.web.common.api.CssPreprocessors.creat...
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Web Project (show other bugs)
Version: 8.2
Hardware: All All
: P1 normal with 2 votes (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-19 16:41 UTC by rrm6ii1
Modified: 2016-04-25 19:57 UTC (History)
6 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 222586


Attachments
stacktrace (4.21 KB, text/plain)
2016-02-19 16:41 UTC, rrm6ii1
Details
stacktrace (7.11 KB, text/plain)
2016-02-22 12:53 UTC, stefan79
Details
stacktrace (2.72 KB, text/plain)
2016-02-23 14:11 UTC, stefan79
Details
stacktrace (5.51 KB, text/plain)
2016-02-23 14:44 UTC, stefan79
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rrm6ii1 2016-02-19 16:41:08 UTC
Build: NetBeans IDE Dev (Build nbms-and-javadoc-4049-on-20160202)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.66-b18, Java(TM) SE Runtime Environment, 1.8.0_66-b18
OS: Windows 10

User Comments:
GUEST: Starting netbeans

rrm6ii1: java.lang.NoSuchMethodError: org.netbeans.modules.web.common.api.CssPreprocessors.createProjectProblemsProvider(Lorg/netbeans/api/project/Project;)Lorg/netbeans/spi/project/ui/ProjectProblemsProvider;
	at org.netbeans.modules.web.project.WebProject.createLookup(WebProject.java:668)
	at org.netbeans.modules.web.project.WebProject.<init>(WebProject.java:451)
	at org.netbeans.modules.web.project.WebProjectType.createProject(WebProjectType.java:86)
Caused: java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.netbeans.modules.project.ant.AntBasedGenericType.createProject(AntBasedGenericType.java:128)
Caused: java.lang.IllegalArgumentException
	at org.netbeans.modules.project.ant.AntBasedGenericType.createPro




Stacktrace: 
java.lang.NoSuchMethodError: org.netbeans.modules.web.common.api.CssPreprocessors.createProjectProblemsProvider(Lorg/netbeans/api/project/Project;)Lorg/netbeans/spi/project/ui/ProjectProblemsProvider;
   at org.netbeans.modules.web.project.WebProject.createLookup(WebProject.java:668)
   at org.netbeans.modules.web.project.WebProject.<init>(WebProject.java:451)
   at org.netbeans.modules.web.project.WebProjectType.createProject(WebProjectType.java:86)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:0)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Comment 1 rrm6ii1 2016-02-19 16:41:09 UTC
Created attachment 158576 [details]
stacktrace
Comment 2 stefan79 2016-02-22 12:53:19 UTC
Created attachment 158596 [details]
stacktrace

Exception occured after NB-Restart.
Comment 3 Exceptions Reporter 2016-02-22 12:53:23 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=222586
Comment 4 stefan79 2016-02-23 14:11:20 UTC
Created attachment 158614 [details]
stacktrace

Exception occured after NetBeans-Restart.
Comment 5 stefan79 2016-02-23 14:44:19 UTC
Created attachment 158616 [details]
stacktrace

Exception while navigating to open a project
Comment 6 stefan79 2016-02-24 12:22:23 UTC
Changed the priority to 1, because I can´t open any Web-project.
Please fix this error!
Comment 7 Petr Hejl 2016-04-20 08:28:35 UTC
Tomasi was there an api change?
Comment 8 Tomas Mysik 2016-04-20 08:43:12 UTC
Caused by Martin's changeset [1] I guess - Martine, would you please look at it?

Thanks.
[1] http://hg.netbeans.org/web-main/rev/a9a3f2ee82f2
Comment 9 Tomas Mysik 2016-04-20 08:49:54 UTC
BTW downloading a fresh dev build from netbeans.org should solve this problem IMHO.
Comment 10 Martin Entlicher 2016-04-21 08:46:13 UTC
It's caused by outdated web.project module whose dependencies were changed.
It's spec. version is increased, thus it should get updated:
changeset:   296860:595391fc73e4
http://hg.netbeans.org/core-main/rev/595391fc73e4
Comment 11 cezariusz 2016-04-25 09:49:46 UTC
When can we expect the new daily build? It stuck on 201604210001.
Comment 12 Tomas Mysik 2016-04-25 10:14:11 UTC
(In reply to cezariusz from comment #11)
> When can we expect the new daily build? It stuck on 201604210001.

Download _any_ new build of NetBeans and it will work.
Comment 13 cezariusz 2016-04-25 10:25:37 UTC
(In reply to Tomas Mysik from comment #12)
> 
> Download _any_ new build of NetBeans and it will work.

What do you mean? The latest dev build on the download page is 201604210001.
Comment 14 Tomas Mysik 2016-04-25 10:44:11 UTC
(In reply to cezariusz from comment #13)
> What do you mean? The latest dev build on the download page is 201604210001.

And have you tried it? Apparently not ;)

This issue is present only in older dev builds which were updated directly from the IDE (via its Update Center).
Comment 15 cezariusz 2016-04-25 13:36:59 UTC
(In reply to Tomas Mysik from comment #14)
> 
> And have you tried it? Apparently not ;)

Oh really?

Product Version: NetBeans IDE Dev (Build 201604210001)
Java: 1.8.0_60; Java HotSpot(TM) 64-Bit Server VM 25.60-b23
Runtime: Java(TM) SE Runtime Environment 1.8.0_60-b27
System: Windows 8.1 version 6.3 running on amd64; Cp1250; pl_PL (nb)

And I don't think I have updated it from the IDE unless it happened automatically when installing JRebel plugin.
Comment 16 Quality Engineering 2016-04-25 19:57:01 UTC
Integrated into 'main-silver', will be available in build *201604251813* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/595391fc73e4
User: mentlicher@netbeans.org
Log: #258069: Increasing module spec. version because of changed dependencies.