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

Summary: Can not decode primitive data as java.lang.Object
Product: guibuilder Reporter: hawkx
Component: CodeAssignee: issues@guibuilder <issues>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 7.1   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Attachments: demo source file

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