| Summary: | [DND] NullPointerException using LocalTransfer | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Flavio Donze <flavio.donze> | ||||
| Component: | JFace | Assignee: | Project Inbox <rap-inbox> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | flavio.donze, passport123 | ||||
| Version: | 1.3 | ||||||
| Target Milestone: | 1.3 M5 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Flavio Donze
I did some testing and think that using transferData.data = Arrays.copyOf(data, data.length); instead of System.arraycopy(data, 0, transferData.data, 0, data.length); would solve the problem. Created attachment 155735 [details]
fix
Create the array before arraycopy is called. Includes test.
Fixed in CVS HEAD *** Bug 301532 has been marked as a duplicate of this bug. *** |