« Return to Thread: [nbusers] Matisse Form showing [invalid component]

Re: [nbusers] Matisse Form showing [invalid component]

by AndyM :: Rate this Message:

Reply to Author | View in Thread

Hello Everyone,

I'm facing what appears to be the same issue as Bill. I have a form with a custom widget on it. When the project is opened for the first time, the widget does not appear on the form. Instead, there is a red box with "Invalid Component" written in its place. The form generated code for object declaration should have been "private Projects.BeachComber3.Files.JTableX some_object" - the package is Projects.BeachComber3.Files and the custom widget is JTableX. This has been replaced with "private org.netbeans.modules.form.InvalidComponent some_object" in the code. At this point, with no modifications to the form, I am able to compile and run the application. The build errors start when the form is modified (maybe a regen event is triggered?) and from here on, I am not able to get the project to compile. This is the build error - "D:\Profiles\TBMD87\My Documents\Beachcomber\Projects\BeachComber3\Files\Beach.java:8733: package org.netbeans.modules.form does not exist".

I tried reloading the form (Ctrl+Shift+R or right-click on form name in the Inspector window), but was not able to solve the problem. Here's some details from the log file -

  Product Version         = NetBeans IDE 6.1 (Build 200805300101)
  Operating System        = Windows XP version 5.1 running on x86
  Java; VM; Vendor        = 1.6.0_07; Java HotSpot(TM) Client VM 10.0-b23; Sun Microsystems Inc.
  Runtime                 = Java(TM) SE Runtime Environment 1.6.0_07-b06
  Java Home               = C:\Program Files\Java\jdk1.6.0_07\jre

I am a complete newbie to this, and would really appreciate any help! Please let me know if I need to post any specific information.

Thanks in advance,
AndyM

Bill Slack wrote:
Somehow a component that I created, added to the pallet, and susequently added to a Matisse form, has suddenly become [invalid]!

My questions are what would have caused this to happen, and how do I recover without having to start from scratch?
I cannot delete the component to reinsert it, nor can I do anything with the form in general.

Any help appreciated,
Bill

 « Return to Thread: [nbusers] Matisse Form showing [invalid component]