Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 179911 - beans.xml file wizard doesn't work at 68_fixes
beans.xml file wizard doesn't work at 68_fixes
Product: javaee
Classification: Unclassified
Component: CDI
PC Linux
: P1 (vote)
Assigned To: David Konecny
Depends on:
  Show dependency treegraph
Reported: 2010-01-27 06:24 UTC by Jindrich Sedek
Modified: 2010-02-02 05:49 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT

full stacktrace (7.73 KB, text/plain)
2010-01-27 06:24 UTC, Jindrich Sedek
patch (47.66 KB, patch)
2010-01-27 16:48 UTC, David Konecny
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jindrich Sedek 2010-01-27 06:24:34 UTC
Created attachment 93593 [details]
full stacktrace

Create new Web Application
invoke create new file wizard, select Context and Dependency Injection category
choose beans.xml file
Press Next / Press Finish ...
the Finish button gets grayed but nothing happens.
No exception is visible, but NPE is thrown in log. 

The only option to continue is to Cancle the wizard
bean.xml file is created but it has no content

WARNING [org.openide.WizardDescriptor]
        at org.netbeans.modules.j2ee.common.dd.DDHelper$MakeFileCopy.readResource(
        at org.netbeans.modules.j2ee.common.dd.DDHelper$
Comment 1 David Konecny 2010-01-27 16:47:04 UTC
The problem in only in release68_fixes repo. It can be fixed by:

cp main/j2ee.common/src/org/netbeans/modules/j2ee/common/dd/resources/beans-1.0.xml release68/j2ee.common/src/org/netbeans/modules/j2ee/common/dd/resources/

that seems to resolve it and beans.xml is created and can be edited. Validation of XML reports that schema from internet is used which can possibly cause problems if user is offline or his internet connection is too slow. This problem can be fixed by integrating remaining part of;node=a9ba29057258 I did that and patch is attached. I tested the patch and everything works fine. Somebody else should review and retest.
Comment 2 David Konecny 2010-01-27 16:48:02 UTC
Created attachment 93613 [details]
Comment 3 David Konecny 2010-01-27 16:52:13 UTC
Leaving on sustaining to decide which fix is more suitable.
Comment 4 pgebauer 2010-01-28 04:57:45 UTC
The fix has been ported into the release68_fixes repository.

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo