Created attachment 92162 [details]
zip file of ejb project will not show ejb beans in project
this worked up to 68M2; broke in 68RC1;
attached file project zip - to save space will not build;
just use project to open inside netbeans.
project will not show ejb beans in 68rc2 if opened.
will show beans in 68M2 or earlier netbeans releases
is set to P1 --want fixed in 68release -not pushed out to nb6.9
the zip file does not contain the project src code, only the project metadata...
Also complaining abotu jax-rpc module?
the project has been limited to enough to demonstrate the issue; it will not build; i deleted library references etc to confirm a stripped down project
was still valid to show the issue. after i did that i created a zip;
again i just verified the submitted zip to show the issue.
some of the ejbs source code comes from library includes which does not show methods in the submitted zip; but the beans still show up;
no beans show up in nb68RC
with nb68M2 or nb671 or nb651 when you open the project you can click on the
enterprise beans node of the projects tab and it will show the ejb's in the project.
with nb68rc2 or nb68rc1 it will not;
if you need a complete project i can zip that up also;
i do not get any visible complaints opening the project;
i just now unziped the zip to a completely unrelated directory and all is as i reported.
you should open the project with an earlier version of netbeans to see how it looks there;
the project builds and run properly with nb68rc2 and earlier when deployed to
glassfish v2ur2; but i cannot see beans or baan mehthods or bean cmp/cmr info
in the projects/enterprise tab with nb68RC --i can with earlier versions.
also with nb68rc i get netbeans exception which are reported by the auto-reporter -- at times; not every time.
the zip contains ref to
and this content is *not* in the zip file...
see the nbproject/private/private.properties file
Created attachment 92165 [details]
zip of ejb project
sorry for the mistake -- new zip should suffice
all needed references should be in the zip; from within netbeans it appears
all references are local to the tree rooted at the project.
but nbproject/private/private.properties still has a number of absolute
not sure why/how they got there -- or why they are still there.
project properties show conf dir as in the project tree;
also shows src dir -- 1 dir -- as rooted at project tree
i was working with an existing project that was working -- from may/08;
i did not try to import this project into netbeans6.8 -- ie. remove project
metadata and create a fresh ejb-project with web services/clients;
its been a couple of years -- but last i tried -- projects that contain
webservices -- clients or services dont import easily into projects -- i had to do a bunch of tricks to get web service/clients recognized in past.
Confirmed. I'm not sure there is a time to fix this for 68. Could be a patch release for 68.
Created attachment 92193 [details]
Expanding 'Enterprise Beans' node in a project which contains at least one Session EJB *which is also* WebService will result in NullPointerException in org.openide.nodes.EntrySupport and consequently no EJBs will be shown. It is a regression caused by fix http://hg.netbeans.org/main-golden/rev/17e3d72667e2 - returning "new Node" at the bottom of the changeset is wrong. There is no workaround for this issue. Fix is quite obvious: see attached patch.
There is couple of things in this code which would be worth improving:
* if protected createNodes method is called directly then created node is not cached
* access to nodesHash property is not synchronized despite being modified from different threads
This is pretty nasty, should be fixed in a patch. Based on a discussion with QE, this is not a stopper for 6.8, downgrading to P2.
David, thanks for the evaluation. I have pushed the patch you provided with some improving changes you mentioned.
Fixed in the web-main.
Andrey, could you please consider rebuilding relevant module from release68 branch (if you still have the checkout) with patch applied and attached the built module to this issue. That would allow emiddio or other users to just patch their 68 FCS build till official patch is available.
added 2 attachments; another possible issue with this issue;
i open project opc-ejb with both nb68M2, and nb68rc2;
all files have been compiled with nb68rc2 -- but some show as needed to
be compiled. the example shows one -- it will compile if project is compiled,
yet never shows not needing to be compiled. F9 compile file always fails.
with NB68M2 -- the same project -- the files show as compiled, also
F9 succeeds without any errors.
2 screen shot to be attached
Created attachment 92243 [details]
Created attachment 92245 [details]
just added 2 attachments
see comment #13
i will download dev build to test with lots of ejb projects that use
webservices -- both clients, services;
does current dev build contain fix?
i see a 20091207 build is available.
Integrated into 'main-golden', will be available in build *200912080200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Andrey Yamkovoy <firstname.lastname@example.org>
Log: #178176 - will not display ejbs in project tab
Created attachment 92268 [details]
NBM with fix for NB 6.8
emiddio, please file complation badges problem you described as a new issue. It is not related to EJBs node. Thx.
installed org-netbeans-modules-j2ee-api-ejbmodule.nbm, made avail in patch from bug id Bug 178176
apparantly does not work in 68rc2
exception reporter got an exception with i reported with the above text in
i see i can provide more info;
Upload of NetBeans Error Report Complete
Your report has been classified as a duplicate of report #162663. It has now been added to the database with id #316354.
This bug was not filed in Bugzilla yet. It will be processed and if it meets certain criteria it will be transferred to NetBeans' Bugzilla bug tracking system automatically.
Your previous reports
Thanks again for your help. The NetBeans development team!
*** Bug 178319 has been marked as a duplicate of this bug. ***
Andrey, did you test your fix and nbm? QA, could you retest as well please? Thanks.
tried to test with nb20091207 daily
would not let me install -- said already installed.
deactivated what appeared to be the module; could not uninstall
so could not replace or make use of patch in nb20091207
20091207 build also has same problem issue
NBM usage is little bit unfortunate - unzip the nbm file (it is regular jar format) and just use /netbeans/modules/org-netbeans-modules-j2ee-api-ejbmodule.jar jar to replace this one: <nb-installation>/enterprise6/modules/org-netbeans-modules-j2ee-api-ejbmodule.jar (as usual, create backup of original file first). That should do the trick.
The fix has been ported into the release68_fixes repository.