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 253190 - UnsupportedOperationException: Project in D:\Goldfish\Barracuda of class org.netbeans.modules.java.j2seproject.J2SEProject has a ProjectClassPathModifierImplementation but it will not handle classpath
Summary: UnsupportedOperationException: Project in D:\Goldfish\Barracuda of class org....
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-25 15:47 UTC by chucklowery
Modified: 2015-06-30 01:21 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 218175


Attachments
stacktrace (3.50 KB, text/plain)
2015-06-25 15:48 UTC, chucklowery
Details

Note You need to log in before you can comment on or make changes to this bug.
Description chucklowery 2015-06-25 15:47:59 UTC
This bug was originally marked as duplicate of bug 218423, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.25-b01, Java(TM) SE Runtime Environment, 1.7.0_25-b17
OS: Windows 7

User Comments:
chucklowery: No idea




Stacktrace: 
java.lang.UnsupportedOperationException: Project in D:\Goldfish\Barracuda of class org.netbeans.modules.java.j2seproject.J2SEProject has a ProjectClassPathModifierImplementation but it will not handle classpath/compile for D:\Goldfish\Barracuda\test extensible source groups: 
   at org.netbeans.api.java.project.classpath.ProjectClassPathModifier.findExtensible(ProjectClassPathModifier.java:386)
   at org.netbeans.api.java.project.classpath.ProjectClassPathModifier.addLibraries(ProjectClassPathModifier.java:93)
   at org.netbeans.modules.java.api.common.project.ui.LibrariesNode$AddLibraryAction.addLibraries(LibrariesNode.java:1016)
   at org.netbeans.modules.java.api.common.project.ui.LibrariesNode$AddLibraryAction.actionPerformed(LibrariesNode.java:1000)
   at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
   at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
Comment 1 chucklowery 2015-06-25 15:48:00 UTC
Created attachment 154397 [details]
stacktrace
Comment 2 Tomas Zezula 2015-06-29 10:18:00 UTC
Fixed jet-main c2dc471f7969

Not sure how this can happen. The only possibility is change of source groups during the adding library. I've fixed this case. But if you can reproduce the problem please run he IDE with -J-Dorg.netbeans.spi.project.support.ant.LEVEL=FINEST option and attach the ide log.
Thanks a lot.
Comment 3 Quality Engineering 2015-06-30 01:21:35 UTC
Integrated into 'main-silver', will be available in build *201506300001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/c2dc471f7969
User: Tomas Zezula <tzezula@netbeans.org>
Log: #253190:UnsupportedOperationException: Project in D:\Goldfish\Barracuda of class org.netbeans.modules.java.j2seproject.J2SEProject has a ProjectClassPathModifierImplementation but it will not handle classpath