| Summary: | NPE when multiple variables declared in a single statement | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | broy2 |
| Component: | EDT | Assignee: | Project Inbox <edt.compiler-inbox> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | jeffdouglas |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
*** This bug has been marked as a duplicate of bug 359371 *** |
Build Identifier: 20120914 The following program gives a NPE on Save: program NPE type BasicProgram {} result, var1 STRING; // This declaration causes NPE // result STRING; // Declaring like this works // var1 STRING; function main() var1 = "Sun"; end end IWN.JavascriptGen.9998.e 11/143 Exception occurred: java.lang.NullPointerException But if I declare the 2 variables separately, there is no NPE on Save. Reproducible: Always