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 77474

Summary: RuntimeException from merged provider when adding resource-ref
Product: javaee Reporter: _ pcw <pcw>
Component: CodeAssignee: Martin Adamek <madamek>
Status: RESOLVED DUPLICATE    
Severity: blocker CC: jungi, mkrauskopf
Priority: P3    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 80015    

Description _ pcw 2006-06-06 23:56:32 UTC
Create app client for JavaEE5.
in Main class, invoke Use Database.

resource-ref entry (as viewed in sun-application-client.xml) will not be created.
Two runtime exceptions ("Cannot set property resourceRefName ...") will be
displayed on console and log file.
Comment 1 Lukas Jungmann 2006-06-13 10:39:49 UTC
Martine, please, look at this. Thanks.
Comment 2 Martin Krauskopf 2006-06-21 11:53:31 UTC
Very easily reproducible also for web project. Martine could you take a look at
it as an expert for those NNxxx classes ;). Thanks.
Comment 3 Martin Adamek 2006-07-11 14:29:20 UTC
Partially fixed. After wizard there are now 2 resources (one created by wizard
directly and the other one auto-discovered). After restart, everything looks good).
Comment 4 Martin Adamek 2006-07-11 15:50:18 UTC
Problem with wizard writing to model is fixed. There is one remaining problem
with multiple identical resources added to model by model builder, so this is
just duplicate of issue 77473.

*** This issue has been marked as a duplicate of 77473 ***