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 257006 - UnsupportedOperationException: Project in C:\Users\ahmed.hosny\Documents\NetBeansProjects\EnterpriseApplicationRS\EnterpriseApplicationRS-ejb of class org.netbeans.modules.j2ee.ejbjarproject.EjbJarPro
Summary: UnsupportedOperationException: Project in C:\Users\ahmed.hosny\Documents\NetB...
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-06 12:04 UTC by thruminds
Modified: 2015-12-06 12:04 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 198061


Attachments
stacktrace (1.45 KB, text/plain)
2015-12-06 12:04 UTC, thruminds
Details

Note You need to log in before you can comment on or make changes to this bug.
Description thruminds 2015-12-06 12:04:26 UTC
Build: NetBeans IDE 8.1 (Build 201510222201)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.51-b03, Java(TM) SE Runtime Environment, 1.8.0_51-b16
OS: Windows 7

User Comments:
GUEST: Error calling enterprise bean

thruminds: 1- Invoke "insert code"
2- call an enterprise bean

GUEST: I can't call a EJB inside of another in diferents ejb-container

juansmolano: <Please provide a description of the problem or the steps to reproduce>
Enterprise Aplication with 3 Items
01) EnterpriseAppPilot-ejb -> imports nothing
02) CommonEnitty-ejb -> imports Nothing
03) EnterpriseAppPilot-war -> imports ejb 01 & 02

The EX occurs when trying to "insert Code-> call Enterprise Java Bean" and I select an EJB from CommonEnitty-ejb

GUEST: Occured while calling the Enterprise Beans commonly known as EJBs

GUEST: Attempted to code complete and insert local ejb.

GUEST: Trying to import an enterprise bean




Stacktrace: 
java.lang.UnsupportedOperationException: Project in C:\Users\ahmed.hosny\Documents\NetBeansProjects\EnterpriseApplicationRS\EnterpriseApplicationRS-ejb of class org.netbeans.modules.j2ee.ejbjarproject.EjbJarProject has a ProjectClassPathModifierImplementation but it will not handle classpath/compile_only for C:\Users\ahmed.hosny\Documents\NetBeansProjects\EnterpriseApplicationRS\EnterpriseApplicationRS-ejb\src\java\com\pack\NewSessionEJBBean.java extensible source groups: C:\Users\ahmed.hosny\Documents\NetBeansProjects\EnterpriseApplicationRS\EnterpriseApplicationRS-ejb\src\java
   at org.netbeans.api.java.project.classpath.ProjectClassPathModifier.findExtensible(ProjectClassPathModifier.java:386)
   at org.netbeans.api.java.project.classpath.ProjectClassPathModifier.addProjects(ProjectClassPathModifier.java:311)
   at org.netbeans.modules.j2ee.ejbcore.api.codegeneration.CallEjbGenerator.addProjectToClassPath(CallEjbGenerator.java:594)
   at org.netbeans.modules.j2ee.ejbcore.api.codegeneration.CallEjbGenerator.addReference(CallEjbGenerator.java:162)
   at org.netbeans.modules.j2ee.ejbcore.ui.logicalview.entries.CallEjbDialog$3.run(CallEjbDialog.java:163)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443)
Comment 1 thruminds 2015-12-06 12:04:32 UTC
Created attachment 157685 [details]
stacktrace