| Anonymous | Login | Signup for a new account | 2010-09-05 13:23 CEST | ![]() |
| Main | My View | View Issues | Change Log | Roadmap |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |
| 0004193 | Clover Designer | (No Category) | public | 2010-05-21 09:37 | 2010-06-09 16:55 | |
| Reporter | avackova | |||||
| Assigned To | mjanik | |||||
| Priority | normal | Severity | tweak | Reproducibility | have not tried | |
| Status | resolved | Resolution | fixed | |||
| Platform | OS | OS Version | ||||
| Product Version | rel-2-9-2 | |||||
| Target Version | rel-3-0-0 | Fixed in Version | rel-3-0-0 | |||
| Summary | 0004193: CTL1 - user should be informed, that input record can't be used in global scope | |||||
| Description | Now the graph just fails with NPE: ERROR [main] - java.lang.NullPointerException ERROR [main] - Error during graph initialization ! Element [1274389394194:TestVariableInTransform]-Phase 0 can't be initilized. at org.jetel.graph.TransformationGraph.init(TransformationGraph.java:466) at org.jetel.graph.TransformationGraph.init(TransformationGraph.java:379) at org.jetel.graph.runtime.EngineInitializer.initGraph(EngineInitializer.java:164) at org.jetel.main.runGraph.runGraph(runGraph.java:372) at org.jetel.main.runGraph.main(runGraph.java:336) Caused by: REFORMAT0 ...FAILED ! Reason: null at org.jetel.graph.Phase.init(Phase.java:167) at org.jetel.graph.TransformationGraph.init(TransformationGraph.java:464) ... 4 more Caused by: null at org.jetel.component.WrapperTL.init(WrapperTL.java:198) at org.jetel.component.RecordTransformTL.init(RecordTransformTL.java:64) at org.jetel.component.RecordTransformFactory.createTransform(RecordTransformFactory.java:256) at org.jetel.component.Reformat.init(Reformat.java:373) at org.jetel.graph.Phase.init(Phase.java:162) ... 5 more | |||||
| Tags | CTL | |||||
| OTRS_Ticket_ID | 2010052010000013 | |||||
| Time estimate (manhours) | ||||||
| Time duration (manhours) | ||||||
| Completion status | 10 | |||||
| Attached Files | ||||||
Relationships |
|||||||||||||
|
|||||||||||||
Notes |
|
|
(0007680) avackova (developer) 2010-05-24 10:36 |
The better solution would be, if Transform tab, would produce only the body of the transform function.Now user can create variable with input field in Transform tab, but the resulted transformation is invalid and the graph fails with NPE. User has to move manually created code to the body of the transform function. |
|
(0007690) avackova (developer) 2010-05-24 13:01 |
From user mail: You will want to make the Transform editor more consistent then. The "Variable" panel creates global variables, and allows mapping input fields. My expectation is one of these two: - input record is recognized in the global scope (doesn't seem like this is intended) - the variables defined in transform editor are for the transform() function I think the latter makes more sense. |
|
(0008027) jlehotsky (manager) 2010-06-09 14:30 |
Current, just update, so that some better message than NPE is thrown, general problem will be solved later. |
|
(0008033) mjanik (developer) 2010-06-09 16:55 |
TransformLangExecutorRuntimeException thrown if the input field cannot be accessed. There doesn't seem to be a better (and simple-to-implement) solution for the old CTL. |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2010-05-21 09:37 | avackova | New Issue | |
| 2010-05-24 10:32 | mjanik | Target Version | => rel-3-0-0 |
| 2010-05-24 10:32 | mjanik | Status | new => assigned |
| 2010-05-24 10:32 | mjanik | Assigned To | => jlehotsky |
| 2010-05-24 10:36 | avackova | Note Added: 0007680 | |
| 2010-05-24 10:37 | avackova | OTRS_Ticket_ID | => 2010052010000013 |
| 2010-05-24 13:01 | avackova | Note Added: 0007690 | |
| 2010-05-24 15:05 | pnajvar | Tag Attached: CTL | |
| 2010-06-09 08:49 | avackova | Relationship added | parent of 0004334 |
| 2010-06-09 13:40 | jlehotsky | Summary | TL - user should be informed, that input record can't be used in global scope => CTL1 - user should be informed, that input record can't be used in global scope |
| 2010-06-09 14:30 | jlehotsky | Note Added: 0008027 | |
| 2010-06-09 14:30 | jlehotsky | Assigned To | jlehotsky => mjanik |
| 2010-06-09 16:54 | mjanik | Relationship replaced | related to 0004334 |
| 2010-06-09 16:55 | mjanik | Note Added: 0008033 | |
| 2010-06-09 16:55 | mjanik | Status | assigned => resolved |
| 2010-06-09 16:55 | mjanik | Fixed in Version | => rel-3-0-0 |
| 2010-06-09 16:55 | mjanik | Resolution | open => fixed |
| 2010-08-06 13:51 | avackova | Relationship added | related to 0004799 |
| Copyright © 2000 - 2010 MantisBT Group |