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 247437 - AbstractMethodError at org.netbeans.modules.maven.NbMavenProjectImpl$OtherRootsVisitor.preVisitDirectory
Summary: AbstractMethodError at org.netbeans.modules.maven.NbMavenProjectImpl$OtherRoo...
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Martin Janicek
URL:
Keywords:
: 247138 247176 253916 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-09-24 11:20 UTC by Stepan Zebra
Modified: 2015-07-29 12:29 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 210734


Attachments
stacktrace (1.52 KB, text/plain)
2014-09-24 11:20 UTC, Stepan Zebra
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stepan Zebra 2014-09-24 11:20:09 UTC
Build: NetBeans IDE 8.0.1 (Build 201408251540)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.20-b23, Java(TM) SE Runtime Environment, 1.8.0_20-b26
OS: Windows 7

User Comments:
GUEST: end of clean and build

stezeb: Creating new maven web project in NB 8.0 partialy updated to 8.0.1. J2EE features wasn't activated before this, so just active part of the IDE was previously updated to 8.0.1.

GUEST: switch to another branch

GUEST: 1

GUEST: reload pom

GUEST: 2




Stacktrace: 
java.lang.AbstractMethodError
   at org.netbeans.modules.maven.NbMavenProjectImpl$OtherRootsVisitor.preVisitDirectory(NbMavenProjectImpl.java:733)
   at org.netbeans.modules.maven.NbMavenProjectImpl$OtherRootsVisitor.preVisitDirectory(NbMavenProjectImpl.java:713)
   at java.nio.file.Files.walkFileTree(Files.java:2677)
   at java.nio.file.Files.walkFileTree(Files.java:2742)
   at org.netbeans.modules.maven.NbMavenProjectImpl.getOtherRoots(NbMavenProjectImpl.java:695)
   at org.netbeans.modules.maven.classpath.MavenSourcesImpl.checkChanges(MavenSourcesImpl.java:164)
Comment 1 Stepan Zebra 2014-09-24 11:20:13 UTC
Created attachment 149491 [details]
stacktrace
Comment 2 Stepan Zebra 2014-09-24 11:40:00 UTC
(In reply to Stepan Zebra from comment #1)
> Created attachment 149491 [details]
> stacktrace

For me, the exception keeps reappearing even after restart, when projects are reloaded. Completing the update of the J2EE modules to 8.0.1 resolves the problem.
Not sure if other reports come from the same scenario.
Comment 3 Exceptions Reporter 2014-11-07 01:15:39 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=210734
Comment 4 markiewb 2014-12-27 11:55:09 UTC
*** Bug 247138 has been marked as a duplicate of this bug. ***
Comment 5 markiewb 2014-12-27 11:55:13 UTC
*** Bug 247176 has been marked as a duplicate of this bug. ***
Comment 6 Tomas Stupka 2015-04-16 10:33:04 UTC
caused by version clash between maven and maven.j2ee
upgrading J2EE modules should fix the problem.
Comment 7 Tomas Stupka 2015-07-29 12:29:32 UTC
*** Bug 253916 has been marked as a duplicate of this bug. ***