This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 210274 - Can not decode primitive data as java.lang.Object
Summary: Can not decode primitive data as java.lang.Object
Status: NEW
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.1
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-28 12:53 UTC by hawkx
Modified: 2012-03-28 12:55 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
demo source file (3.59 KB, application/octet-stream)
2012-03-28 12:54 UTC, hawkx
Details

Note You need to log in before you can comment on or make changes to this bug.
Description hawkx 2012-03-28 12:53:33 UTC
I want to set a property editor for an Object property. I written a property editor class and can give a value to IDE correctly in design, but when I reopen the form after save and close, the IDE shows "Can not decode "22" as java.lang.Object".

attachment files only for a demo. just open TestFrame, input a integer value (like 22) in property editor pane for value property of testComponent1, then save and close and reopen.
Comment 1 hawkx 2012-03-28 12:54:37 UTC
Created attachment 117399 [details]
demo source file