Bug #2380
NullPointerException when widget set to visible in CREATE statement
Status:
Rejected
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
08/24/2014
Due date:
% Done:
0%
billable:
No
vendor_id:
GCD
case_num:
version:
History
#1 Updated by Greg Shah over 9 years ago
- Description updated (diff)
The following sample causes an NPE when run converted in P2J:
DEFINE FRAME f WITH SIZE 80 BY 15. DEFINE VARIABLE e AS HANDLE. CREATE EDITOR e assign FRAME = FRAME f:HANDLE VISIBLE = true.
When VISIBLE
set after the CREATE
statement, the program works:
DEFINE FRAME f WITH SIZE 80 BY 15. DEFINE VARIABLE e AS HANDLE. CREATE EDITOR e assign FRAME = FRAME f:HANDLE VISIBLE = false. e:VISIBLE - true.
#2 Updated by Greg Shah over 9 years ago
- Status changed from New to Rejected
This is a known problem that will be resolved as part of #1791. Our dynamic widget support is not yet functional. We only have conversion and compilation support, but the runtime is known to be unfinished.