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 84138 - while deleting ejb when sun-ejb-jar.xml is open in mve.
Summary: while deleting ejb when sun-ejb-jar.xml is open in mve.
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: EJB Project (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Andrei Badea
URL:
Keywords: RANDOM
: 82896 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-09-04 15:19 UTC by Lukasz Grela
Modified: 2006-09-18 16:13 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
exception (14.12 KB, text/plain)
2006-09-04 15:20 UTC, Lukasz Grela
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lukasz Grela 2006-09-04 15:19:49 UTC
#200609040000

I created this issue againist sunappserv9 because I think that this bug occur
only when sun-ejb-jar.xml exist.

1) create ejb-module for java ee 5 on glssfish

2) create session bean or mdb or both

3) create sun-ejb-jar.xml 

5) select all bean class with interfaces and delete them while deleting
exception is thrown

this bug occurs randomly
Comment 1 Lukasz Grela 2006-09-04 15:20:57 UTC
Created attachment 33569 [details]
exception
Comment 2 _ pcw 2006-09-05 17:05:08 UTC
I don't see anything from that stack trace that the SJSAS plugin is even
involved here.  I'd like the EJB team to look at it first.
Comment 3 Andrei Badea 2006-09-07 15:06:53 UTC
I can reproduce it, but I have no idea what it is caused by. The code containing
the failing assertion was copied from the J2SE project, and the assertion
doesn't fail there.
Comment 4 Andrei Badea 2006-09-07 18:00:03 UTC
*** Issue 82896 has been marked as a duplicate of this issue. ***
Comment 5 Andrei Badea 2006-09-11 21:29:34 UTC
Not calling hasMainMethod() to detect whether the single-file actions should be
enabled (so hMM() is not called when files are deleted). This is consistent with
the J2SE project and it is the reason why the assertion doesn't fail there.

Checking in src/org/netbeans/modules/j2ee/ejbjarproject/EjbJarActionProvider.java;
/cvs/j2ee/ejbjarproject/src/org/netbeans/modules/j2ee/ejbjarproject/EjbJarActionProvider.java,v
 <--  EjbJarActionProvider.java
new revision: 1.20.2.3.2.9; previous revision: 1.20.2.3.2.8
done
Comment 6 Lukasz Grela 2006-09-18 16:13:12 UTC
v.