Error loading component property

View: New views
3 Messages — Rating Filter:   Alert me  

Error loading component property

by David G. Simmons :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

So I have a project that I have been working on for months, and  
suddenly today when I try to open it, I get a slew of errors:
        " Error in loading component property:
                Other Components->WidgetWindow->jPanel3->jLabel6->font
                Cannot load property editor class  
org.netbeans.modules.form.editors2.FontEditor.
                The property cannot be loaded."

And now I can no longer edit my form.  What happened? How can I  
recover this??

TIA,
dg
- --
David G. Simmons
Sr. Staff Software Engineer, SunLabs
Voice: 650-568-4856  ** AIM/iChat: santafen@...
BLOG: http://blogs.sun.com/davidgs
Program the world! http://www.SunSpotWorld.com/

** Message digitally signed for security and authenticity.
** If you cannot read the PGP.sig attachement, please go to
** http://www.gnupg.com/ Secure your email!!!
** Public key available at keyserver.pgp.com
NOTE: As per SunIT Policy, the following is *not* a humorous statement:
A bumble bee is considerably faster than a John Deere tractor.




-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFE27fCJPG+temRST4RAj8VAJ9Lmd3+snw6NHbKZ4/WqDcYRsfYyACeKPeT
8xHZj2w7VS/Dq7OYmSeS3rs=
=VNWj
-----END PGP SIGNATURE-----

Re: Error loading component property

by Tomas Pavek :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

You obviously use a form created/edited by 6.0 dev build in an older NB
version (5.0/5.5). The fonts are saved differently in the new version. We
should raise the form file version, but have not done it yet.

   - Tomas


David G. Simmons wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> So I have a project that I have been working on for months, and suddenly
> today when I try to open it, I get a slew of errors:
>     " Error in loading component property:
>         Other Components->WidgetWindow->jPanel3->jLabel6->font
>         Cannot load property editor class
> org.netbeans.modules.form.editors2.FontEditor.
>         The property cannot be loaded."
>
> And now I can no longer edit my form.  What happened? How can I recover
> this??
>
> TIA,
> dg
> - --
> David G. Simmons
> Sr. Staff Software Engineer, SunLabs
> Voice: 650-568-4856  ** AIM/iChat: santafen@...
> BLOG: http://blogs.sun.com/davidgs
> Program the world! http://www.SunSpotWorld.com/
>
> ** Message digitally signed for security and authenticity.
> ** If you cannot read the PGP.sig attachement, please go to
> ** http://www.gnupg.com/ Secure your email!!!
> ** Public key available at keyserver.pgp.com
> NOTE: As per SunIT Policy, the following is *not* a humorous statement:
> A bumble bee is considerably faster than a John Deere tractor.
>
>
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (Darwin)
>
> iD8DBQFE27fCJPG+temRST4RAj8VAJ9Lmd3+snw6NHbKZ4/WqDcYRsfYyACeKPeT
> 8xHZj2w7VS/Dq7OYmSeS3rs=
> =VNWj
> -----END PGP SIGNATURE-----

Re: Error loading component property

by 4chen500 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am having this same exact problem, and it is definitely a problem with 6.1 too.

We have a custom component that extends Panel, and at creation time it worked fine. In fact, it compiles and runs fine too, I just can't use the visual editor, which sucks.

It was made on 6.1, and now also doesn't work on 6.1. I should also add that we have 6.1 on XP, Vista, Linux (Ubuntu), and Mac, and they ALL have this problem. This is becoming a more frequent problem, and I have yet to see a good solution for this.

In particular, it's like this: We have 2 classes, both in the same package. One of the classes extends Panel. Another class extends Frame, and was created with the form editor. At creation time, it was able to add our custom panel as a bean just fine, and was able to let us edit it. But now, when you load the form editor, I get the message "Error in loading component", saying it cannot load the component, but it's right there! If the component couldn't load, then why can I run the app?

Tomas Pavek wrote:
You obviously use a form created/edited by 6.0 dev build in an older NB
version (5.0/5.5). The fonts are saved differently in the new version. We
should raise the form file version, but have not done it yet.

   - Tomas


David G. Simmons wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> So I have a project that I have been working on for months, and suddenly
> today when I try to open it, I get a slew of errors:
>     " Error in loading component property:
>         Other Components->WidgetWindow->jPanel3->jLabel6->font
>         Cannot load property editor class
> org.netbeans.modules.form.editors2.FontEditor.
>         The property cannot be loaded."
>
> And now I can no longer edit my form.  What happened? How can I recover
> this??
>
> TIA,
> dg
> - --
> David G. Simmons
> Sr. Staff Software Engineer, SunLabs
> Voice: 650-568-4856  ** AIM/iChat: santafen@mac.com
> BLOG: http://blogs.sun.com/davidgs
> Program the world! http://www.SunSpotWorld.com/
>
> ** Message digitally signed for security and authenticity.
> ** If you cannot read the PGP.sig attachement, please go to
> ** http://www.gnupg.com/ Secure your email!!!
> ** Public key available at keyserver.pgp.com
> NOTE: As per SunIT Policy, the following is *not* a humorous statement:
> A bumble bee is considerably faster than a John Deere tractor.
>
>
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (Darwin)
>
> iD8DBQFE27fCJPG+temRST4RAj8VAJ9Lmd3+snw6NHbKZ4/WqDcYRsfYyACeKPeT
> 8xHZj2w7VS/Dq7OYmSeS3rs=
> =VNWj
> -----END PGP SIGNATURE-----