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 102732

Summary: source code is not generated for operations
Product: uml Reporter: Andrew Korostelev <akorostelev>
Component: Code GenerationAssignee: Craig Conover <conover>
Status: VERIFIED FIXED    
Severity: blocker Keywords: REGRESSION
Priority: P1    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Andrew Korostelev 2007-04-27 11:23:29 UTC
reproducible in all-nbms-griffin_fixes-070426-ml
and all-nbms-griffin_fixes-070425-ml

source code is not generated for operations.

steps:
- create new java-model uml project
- create class element and name it
- add operation to class element and name
- generate code
There is not source code for operation.
Comment 1 Andrew Korostelev 2007-04-27 11:59:38 UTC
behaviour is not always clear for me.
1) Re'd operation with parameterized collection will be generated into src
2) simple RE'd operation will not be generated at the firsts attempts.
But is generated after some activity.
3) Operation created in Model, is not generated.


Comment 2 Craig Conover 2007-04-27 17:34:53 UTC
Very strange. When did that start happening?
Most likely an exception is being swallowed preventing full code gen process
completetion.
Comment 3 Craig Conover 2007-04-27 18:48:14 UTC
NPE was being thrown for constructors which stopped the code gen for the rest of
the params.
Comment 4 Andrew Korostelev 2007-04-28 10:56:46 UTC
verified in all-nbms-griffin_fixes-070427-ml