How to fix the Netbeans 6.1 beta errors while opening Visual Web project

There are couple of complaints stating that Netbeans 6.0 Visual project could not be successfully imported in to Netbeans 6.1 beta release. It turned out that Netbeans 6.1 includes new release of Project Woodstock components and its Theme. While opening the Netbeans 6.0 project, it somehow remembers the settings from the old IDE and while deploying the project, following runtime error occurs.
WEBUITHEME001: No theme name or version specified and no default theme resource available

When Netbeans 6.0.1 project, is created, <project-dir>/nbproject/private/ contains the absolute path information about the Woodstock Components and its theme jars which points to the Netbeans 6.0.1 installation location.

When the project is opened using Netbeans 6.1 beta, the absolute path information in the should be adjusted to the new Netbeans 6.0.1 installation location. Some how this does not happens. An issue (#129316) has been filed against this bug.

One of the solution is to delete the <project-dir>/nbproject/private directory and allow it to be recreated when it the project is opened using Netbeans 6.1 beta. However, this does not seem to solve the problem. Building the project throws the following error.

$projdir\\nbproject\\build-impl.xml:501: Warning: Could not find file 
$projdir\\${libs.woodstock-components.classpath.libfile.7} to copy.

One of Visual Web engineers, Po-ting Wu, went through the scenario and found out the following work around.

  • Open the project, apply 'Clean' and close the IDE
  • Remove nbproject/private/
  • Remove all lines in nbproject/build-impl.xml that contain the following instances:
  • Start the IDE and open the project, apply 'Run'

For more details go to the Netbeans issue #129499


Hi Winston,

Just wanted to let you know that the workaround described in your blog worked for me. Many thanks, now I can use 6.1 beta for my development.


Posted by Iwan Eising on March 08, 2008 at 02:27 AM PST #

Thanks a lot, also worked for me.

Posted by Fanie on March 09, 2008 at 09:45 PM PDT #


I am noticing some issues dont know if it is self aflicted or not.

I have a web page designed via the web pack with NB6, this page has some components, eg. a textfield that is data bound to a property in the session bean (called contactRecord which is a generated JPA class of a DB table).

I have now downloaded NB6.1beta, and after doing the work around I opened the project in NB6.1beta. When I attempt to open the web page I get the following error ...

javax.faces.FacesException: javax.el.ELException: javax.faces.el.EvaluationException: javax.el.ELException: javax.faces.el.PropertyNotFoundException: contactRecord

PS: I have also tried with the nigthly build from last night and the same error.

Any clues?


Posted by Nanu on March 20, 2008 at 10:12 AM PDT #

To add ... the session bean here it the SessionBean1 class that the designed had generated when the web project was created (not an ejb session bean).

Another interesting thing i noticed is when the project is opened in NB6.0.1 and in the design mode when I click on the text field, on the navigator panel I see among other things the SessionBean1 ... which when expanded shows the different properties it holds. Now the exact same thing when I do with NB6.1beta (as well as the nightly build), even though the navigator panel has the SessionBean1 there is no properties when expanded (although the java file has the bean property with its getters and setters). Strange ... any info. on this would be helpful.


Posted by Nanu on March 20, 2008 at 02:38 PM PDT #

Hi Nanu, you might want to check with the latest NB 6.1 builds, since some fixes went in towards this issue. I would suggest to wait at least for a week and then pick up a build. During the first week of April, Netbeans 6.1 will go in to stable mode for final release. It is safer to get a nightly build at that time

Posted by guest on March 21, 2008 at 12:13 AM PDT #

Hi, I am still not able to see the properties that are part of the SessionBean1 class on the navigator panel; I do see the the peoperties of the ApplicationBean1.
I downloaded the nightly build yesterday and tried it and see no difference ... makes me wonder if the issue is on my side. However the same code with NB6.0.1 works as expected and in the designer view the navigator panel shows the SessionBean1 properties. I dont know but I think this is a very fundamental issue and others would also have run into it if indeed it was an NB6.1 issue. I can send u screen shots of how it looks with 6.0.1 and 6.1beta.

Posted by nanu on March 28, 2008 at 02:32 AM PDT #

In 6.1beta, I have attempted to create a new Visual Web JSF Session Bean (called it SessionBean2 - default value) added a dummy property; Intersting thing is that dummy property showes up just fine on the navigator panel and allows me to data bind to it! So my problem scope is isolating itself Visual Web JSF Session Bean created with 6.0.1 when used from 6.1 is where I am seeing the issue.

Posted by nanu on March 28, 2008 at 02:51 AM PDT #

Hi Nano I'm the same issue with tables. I'm using right now 6.0.1 and table data source is something like this in the sessionbeans

Tickets tickets[]; (Tickets is an entity class that belongs to my business layer)

When I open the page in 6.0.1 everything is fine but when I do the same in 6.1 it does not work. I downloaded the last build yesterday (03-28-2007) and still the same issue.

Any ideas???. Thanks.

Posted by oquero on March 28, 2008 at 11:42 PM PDT #

I have not tried with array, but one thing i noticed is that if i make it into a List<Usertype> then it shows up :); ofcourse I dont want to make it into a List ... so still not solution at sight but will keep at it; Just for giggles, can you try adding in 6.1 a new property of type List<Ticket> in the VW JSF session bean and see it is available to be databound (like I said in my case it did); Also try any other std. java data type say java.util.Date (that also showed up for me).

Posted by nanu on March 29, 2008 at 11:54 AM PDT #

I just downloaded the las build and I going to try that I will get back to you with my results. Thanks

Posted by oquero on March 30, 2008 at 04:58 AM PDT #

Hey guys I just did the work around for the ticket on the top (#129499) with this build (200803290011) and everything work with no problem even the arrays as datasource for tables, thats Great!!!

Posted by oquero on March 30, 2008 at 05:30 AM PDT #

and I tried with NetBeans IDE 6.1 Build 200803302302, had to recompile the web session file and it works! should have waited 1 more day before attempting and panic-ing ;)

Posted by Nanu on March 31, 2008 at 09:22 AM PDT #

I had a similar problem with a project migrated from Java Studio Creator (ELEXception in visual designer, SessionBean1 pojo properties not showing up in Navigator pane).

It worked for me prefixing the class types of getters and setters in with package.

Posted by Charly on June 27, 2008 at 01:23 AM PDT #

Good info.

Posted by Krishna Srinivasan on July 29, 2008 at 06:41 PM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed

« July 2016