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 207481 - UnsupportedOperationException: Project in /home/btomasik/NetBeansProjects/Sonotrunk of class org.netbeans.modules.java.j2seproject.J2SEProject has a ProjectClassPathModifierImplementation but it will
Summary: UnsupportedOperationException: Project in /home/btomasik/NetBeansProjects/Son...
Status: CLOSED WONTFIX
Alias: None
Product: utilities
Classification: Unclassified
Component: Selenium (show other bugs)
Version: 7.1
Hardware: All All
: P3 normal (vote)
Assignee: Martin Fousek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-18 17:44 UTC by ihsahn
Modified: 2014-12-09 09:34 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 146826


Attachments
stacktrace (1.82 KB, text/plain)
2012-01-18 17:44 UTC, ihsahn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ihsahn 2012-01-18 17:44:51 UTC
This issue was reported manually by ihsahn.
It already has 2 duplicates 


Build: NetBeans IDE 7.1 (Build 201112071828)
VM: Java HotSpot(TM) Client VM, 21.1-b02, Java(TM) SE Runtime Environment, 1.7.0_01-b08
OS: Linux

User Comments:
ihsahn: I was trying to add selenium test case to a j2se project




Stacktrace: 
java.lang.UnsupportedOperationException: Project in /home/btomasik/NetBeansProjects/Sonotrunk of class org.netbeans.modules.java.j2seproject.J2SEProject has a ProjectClassPathModifierImplementation but it will not handle classpath/compile for /home/btomasik/NetBeansProjects/Sonotrunk/selenium extensible source groups: /home/btomasik/workspace-sonolink/slpbeta
   at org.netbeans.api.java.project.classpath.ProjectClassPathModifier.findExtensible(ProjectClassPathModifier.java:385)
   at org.netbeans.api.java.project.classpath.ProjectClassPathModifier.addLibraries(ProjectClassPathModifier.java:92)
   at org.netbeans.modules.selenium.SeleniumSupport.addLibrary(SeleniumSupport.java:135)
   at org.netbeans.modules.selenium.SeleniumSupport.prepareProject(SeleniumSupport.java:115)
   at org.netbeans.modules.selenium.SeleniumSupport.getSeleniumDir(SeleniumSupport.java:105)
   at org.netbeans.modules.selenium.templates.SeleneseTestWizardOperator.initialize(SeleneseTestWizardOperator.java:129)
Comment 1 ihsahn 2012-01-18 17:44:54 UTC
Created attachment 115050 [details]
stacktrace
Comment 2 Tomas Zezula 2012-01-18 17:54:58 UTC
The problem is in the SeleniumSupport which tries to extend a root which is not in source groups.
Comment 3 Marian Mirilovic 2014-12-09 09:31:14 UTC
We do have a new version of Selenium plugin in distribution, so closing all old issues to start with the clean table.