View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002671 | NoesisGUI | Unity | public | 2023-08-22 06:40 | 2023-08-23 18:19 |
| Reporter | ckfinite | Assigned To | sfernandez | ||
| Priority | normal | Severity | minor | ||
| Status | resolved | Resolution | fixed | ||
| Product Version | 3.2.1 | ||||
| Target Version | 3.2.2 | Fixed in Version | 3.2.2 | ||
| Summary | 0002671: EventTrigger can fail with a nullreferenceexception without an explanatory error message | ||||
| Description | The implementation of EventTrigger's RegisterEvent does not gracefully handle the case where SourceObject is null but the given event does not exist on the source. In this case, the conditionals fall through and pass a null to IsValidEvent which chokes with a NullReferenceException. A more informative error message should be produced instead. | ||||
| Steps To Reproduce | The implementation of EventTrigger's RegisterEvent method, as follows
[/code] | ||||
| Platform | Any | ||||
|
Solved in r12660 with the following patch:
|
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2023-08-22 06:40 | ckfinite | New Issue | |
| 2023-08-22 17:14 | jsantos | Assigned To | => sfernandez |
| 2023-08-22 17:14 | jsantos | Status | new => assigned |
| 2023-08-23 18:17 | sfernandez | Product Version | 3.2 => 3.2.1 |
| 2023-08-23 18:17 | sfernandez | Target Version | => 3.2.2 |
| 2023-08-23 18:19 | sfernandez | Status | assigned => resolved |
| 2023-08-23 18:19 | sfernandez | Resolution | open => fixed |
| 2023-08-23 18:19 | sfernandez | Fixed in Version | => 3.2.2 |
| 2023-08-23 18:19 | sfernandez | Note Added: 0008661 | |
| 2025-10-10 13:29 | jsantos | Category | Unity3D => Unity |