Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 41058 Details for
Bug 141167
NPE in SimpleObjectTransfer.nativeToJava on Linux
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
patch for the NPE - checks for null before using
SimpleObjectTransfer patch.txt (text/plain), 812 bytes, created by
Chris Lee
on 2006-05-10 17:51:27 EDT
(
hide
)
Description:
patch for the NPE - checks for null before using
Filename:
MIME Type:
Creator:
Chris Lee
Created:
2006-05-10 17:51:27 EDT
Size:
812 bytes
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.gef >Index: src/org/eclipse/gef/dnd/SimpleObjectTransfer.java >=================================================================== >RCS file: /cvsroot/tools/org.eclipse.gef/src/org/eclipse/gef/dnd/SimpleObjectTransfer.java,v >retrieving revision 1.6 >diff -u -r1.6 SimpleObjectTransfer.java >--- src/org/eclipse/gef/dnd/SimpleObjectTransfer.java 29 Mar 2005 23:57:36 -0000 1.6 >+++ src/org/eclipse/gef/dnd/SimpleObjectTransfer.java 10 May 2006 21:52:21 -0000 >@@ -54,6 +54,8 @@ > */ > public Object nativeToJava(TransferData transferData) { > byte bytes[] = (byte[])super.nativeToJava(transferData); >+ if (bytes == null) >+ return null; > long startTime = Long.parseLong(new String(bytes)); > return (this.startTime == startTime) > ? getObject()
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
nyssen
:
iplog+
Actions:
View
|
Diff
Attachments on
bug 141167
: 41058