Community
Participate
Working Groups
Build Identifier: 201109282102 It seems that the Java generator run into issues, so the code is not completed Reproducible: Always Steps to Reproduce: 1. Check out project "org.eclipse.edt.eunit.test" from kan-cvs. 2. Add java generator to the project. 3. Clean the whole workspace. 4. The errors exist in the following java files: fvt.datatypes.TestDynamicAccessLib
This is caused by a NPE in the generation code, however that NPE is caused because the compiler is not creating any of the fields in the IR XML file, if those fields are defined on the same statement as other fields. Only the 1st one gets defined. For example: aString, bString, cString string; Only aString is being generated as a field definition in the IR XML file, but references to bString and cString are still being created. When getMember comes along and tries to use bString, it gets a null in return, causing the NPE on the getType for it. Paul, please fix.
This appears to be a duplicate of Bug 357979. Paul already has a fix for that one, but is holding it out until he gets back from vacation. The workaround for this is easy; split the variables into two or more lines.
*** Bug 359397 has been marked as a duplicate of this bug. ***
*** Bug 359383 has been marked as a duplicate of this bug. ***
*** Bug 355536 has been marked as a duplicate of this bug. ***
*** Bug 357686 has been marked as a duplicate of this bug. ***
*** Bug 357979 has been marked as a duplicate of this bug. ***
I have updated the following classes to fix this problem: Egl2Mof Egl2MofBase Egl2MofMember Egl2MofPart Egl2MofStatement
Verified in build 201110110900