Vista 64bits + NetBeans 6.5.1 + ICEfaces 1.8.1 (Visual WEB) problem
[Logo]
Forums for ICEfaces and ICEpdf
[Search] Search   [Recent Topics] Recent Topics   [Groups] Home Page | www.icefaces.org  [Register] Register  [Login] Login 
Vista 64bits + NetBeans 6.5.1 + ICEfaces 1.8.1 (Visual WEB) problem  XML
Forum Index -> Tools Go to Page: 1, 2 Next 
Author Message
leandro.costa

Joined: 30/06/2009 00:00:00
Messages: 11
Offline


I can't use Visual Web ICEfaces with this configuration. The problem begins when I'm creating the project. After choose the framework "Visual Web ICEfaces" and click on "finalize", the the bar stops in 75% (Adding selected frameworks), and I need to click on "Cancel" to continue. Even so the project is created, and when I open it, I have a reference problem. When I click on "Resolve reference problems", I figure out the project has 3 libraries with missing items: icefaces-jsf12-runtime-support, exceptionhandler-runtime and jsf12-support-runtime-modified.

I can create an "ICEfaces Visual Web JSF Page", but I can't open it in the Visual Window.

Does somebody knows what is happening? The setup is the following:

* SO: Windows Vista 64-bits
* NetBeans IDE: netbeans-6.5.1-ml-javase-windows
* Java: jdk1.6.0_16 64-bits
* ICEFaces: ICEfaces-1.8.1-NetBeans-6.5.1-modules:
- ICEfaces Design-Time and Run-Time Libraries [1.8.1.1]
- ICEfaces Project Integration [3.5.0.5.1.1.1] VisualWeb
- ICEfaces [3.5.0.5.1.1.1]
- with all dependencies...
* Tomcat:
- Tomcat [1.12.2] (with dependencies: Web Applications [1.2.4])
leandro.costa

Joined: 30/06/2009 00:00:00
Messages: 11
Offline


Still trying to make Visual Web applications, I installed:
- org-netbeans-modules-visualweb-woodstock-webui-jsf;
- JSF [1.2.1];
- Visual JSF [1.3.2] (with dependencie Web Services [1.2.1]).

I tried to make a "Visual Web JavaServer Faces" application, and this time the application was created (it was not necessary to click on "Cancel" while creating it). But after that, I still have a problem with references: "library jsf12-support can't be found". But ok, it's a JSF problem, not an ICEfaces problem.

The fact is that, now, I can create a Visual ICEfaces project without click on "Cancel" too, and I don't have the old problems (3 libraries with missing items). Now I have a new problem: When I try to open Page1.jsp, I see the message "Missing Body Element" in a red background on the screen, and I still can't use the drag & drop functionality to change the file.
leandro.costa

Joined: 30/06/2009 00:00:00
Messages: 11
Offline


I tried to close and re-open the project. When I do this, after re-open, I got this error message:

java.lang.NullPointerException
at org.netbeans.modules.visualweb.insync.java.JavaClass$1.run(JavaClass.java:138)
at org.netbeans.modules.visualweb.insync.java.ReadTaskWrapper.run(ReadTaskWrapper.java:73)
at org.netbeans.modules.visualweb.insync.java.ReadTaskWrapper.run(ReadTaskWrapper.java:56)
at org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:680)
at org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:607)
at org.netbeans.modules.visualweb.insync.java.ReadTaskWrapper.execute(ReadTaskWrapper.java:80)
at org.netbeans.modules.visualweb.insync.java.ReadTaskWrapper.execute(ReadTaskWrapper.java:88)
at org.netbeans.modules.visualweb.insync.java.JavaClass.isSubTypeOf(JavaClass.java:135)
at org.netbeans.modules.visualweb.insync.models.FacesModel.openJavaUnits(FacesModel.java:829)
at org.netbeans.modules.visualweb.insync.models.FacesModel.syncImpl(FacesModel.java:1061)
at org.netbeans.modules.visualweb.insync.Model.sync(Model.java:219)
at org.netbeans.modules.visualweb.insync.models.FacesModelSet.getFacesModel(FacesModelSet.java:634)
at org.netbeans.modules.visualweb.designer.jsf.JsfForm.getFacesModel(JsfForm.java:288)
at org.netbeans.modules.visualweb.designer.jsf.JsfForm.getFacesModel(JsfForm.java:298)
at org.netbeans.modules.visualweb.designer.jsf.JsfForm.loadFacesModel(JsfForm.java:3017)
Caused: java.lang.IllegalStateException: FacesModel was not loaded for DataObject, dataObject=org.netbeans.modules.visualweb.project.jsfloader.JsfJspDataObject@4d0cfd5c[C:\Users\Leandro\Documents\NetBeansProjects\WebApplication1\web\Page1.jsp]
at org.netbeans.modules.visualweb.designer.jsf.JsfForm.loadFacesModel(JsfForm.java:3020)
at org.netbeans.modules.visualweb.designer.jsf.JsfForm.access$000(JsfForm.java:131)
at org.netbeans.modules.visualweb.designer.jsf.JsfForm$1.modelSetAdded(JsfForm.java:369)
at org.netbeans.modules.visualweb.insync.ModelSet.fireModelSetAdded(ModelSet.java:179)
at org.netbeans.modules.visualweb.insync.ModelSet.getInstance(ModelSet.java:255)
at org.netbeans.modules.visualweb.insync.ModelSet$1.run(ModelSet.java:217)
[catch] at java.lang.Thread.run(Thread.java:619)
leandro.costa

Joined: 30/06/2009 00:00:00
Messages: 11
Offline


This error message appears the first time I try to open Page1.jsp after re-open the project. From the second time on I got the "missing body element" error again.
leandro.costa

Joined: 30/06/2009 00:00:00
Messages: 11
Offline


any answer?
Admin

Joined: 27/05/2004 00:00:00
Messages: 193
Offline


Moved from General Help to Tools forum.

- Admin
leandro.costa

Joined: 30/06/2009 00:00:00
Messages: 11
Offline


Thanks for the move. So, does anybody knows something about this problem?
liming.wu

Joined: 26/10/2004 00:00:00
Messages: 368
Offline


Have you tried glassfish yet to see if you can reproduce this error?

does your Page1.jsp have <body id="outputBody1" style="-rave-layout: grid">?

I don't have problem with creating and run visual web ICEfaces project in vista 32 on tomcat v6.0.18
[Email]
leandro.costa

Joined: 30/06/2009 00:00:00
Messages: 11
Offline


I have just tried with GlassFish v3 and it didn't work, and yes, the Page1.jsp has <body id="outputBody1" style="-rave-layout: grid">:

<jsp:root version="2.0" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:ice="http://www.icesoft.com/icefaces/component">
<jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
<f:view>
<html id="outputHtml1">
<head id="outputHead1">
<ice:outputStyle id="outputStyle1" href="./resources/stylesheet.css"/>
<ice:outputStyle id="outputStyle2" href="./xmlhttp/css/xp/xp.css"/>
</head>
<body id="outputBody1" style="-rave-layout: grid">
<ice:form id="form1">
<ice:inputTextarea id="inputTextarea1" readonly="true"
style="height: 264px; left: 72px; top: 48px; position: absolute; text-decoration: none; width: 432px"
value="Note: The following Visual JavaServer Faces component palettes (Woodstock components) are not supported within an ICEfaces project : - Basic - Layout - Composite "/>
</ice:form>
</body>
</html>
</f:view>
</jsp:root>
leandro.costa

Joined: 30/06/2009 00:00:00
Messages: 11
Offline


I installed Kubuntu inside VMware and tried a NetBeans 6.5 with JDK 1.6, and I had the same Missing Body Element problem. May it be a problem with the hardware?
liming.wu

Joined: 26/10/2004 00:00:00
Messages: 368
Offline


Missing body element could mean an exception in the back-ground.

Do you have the same problem with visual web project as well?

To find out detail error messages, please find and post the following log file if it is not too big.
USER_HOME/.netbeans/6.5/var/log/messages.log
[Email]
leandro.costa

Joined: 30/06/2009 00:00:00
Messages: 11
Offline


I think the problem in messages.log starts here:

Compiler: HotSpot 64-Bit Server Compile
Heap memory usage: initial 32,0MB maximum 455,1M
Non heap memory usage: initial 34,4MB maximum 248,0M
Garbage collector: PS Scavenge (Collections=19 Total time spent=0s
Garbage collector: PS MarkSweep (Collections=2 Total time spent=0s
Classes: loaded=8360 total loaded=8360 unloaded
INFO [org.netbeans.core.ui.warmup.DiagnosticTask]: Total memory 4.293.066.752
classLoader = org.netbeans.modules.web.jspparser_ext.WebAppParseSupport$ParserClassLoader@a52728a, parent : org.netbeans.modules.web.jspparser.JspParserImpl$ExtClassLoader@26b5ae57
SharedSecrets.getJavaNetAccess()=java.net.URLClassLoader$7@2addc751
classLoader = org.netbeans.modules.web.jspparser_ext.WebAppParseSupport$ParserClassLoader@195695d8, parent : org.netbeans.modules.web.jspparser.JspParserImpl$ExtClassLoader@26b5ae57
SharedSecrets.getJavaNetAccess()=java.net.URLClassLoader$7@2addc751
SEVERE [org.netbeans.modules.visualweb.designer.jsf.JsfForm]
java.lang.NullPointerException
at org.netbeans.modules.visualweb.insync.java.JavaClass$1.run(JavaClass.java:138)
at org.netbeans.modules.visualweb.insync.java.ReadTaskWrapper.run(ReadTaskWrapper.java:73)
at org.netbeans.modules.visualweb.insync.java.ReadTaskWrapper.run(ReadTaskWrapper.java:56)
at org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:680)
at org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:607)
at org.netbeans.modules.visualweb.insync.java.ReadTaskWrapper.execute(ReadTaskWrapper.java:80)
at org.netbeans.modules.visualweb.insync.java.ReadTaskWrapper.execute(ReadTaskWrapper.java:88)
at org.netbeans.modules.visualweb.insync.java.JavaClass.isSubTypeOf(JavaClass.java:135)
at org.netbeans.modules.visualweb.insync.models.FacesModel.openJavaUnits(FacesModel.java:829)
at org.netbeans.modules.visualweb.insync.models.FacesModel.syncImpl(FacesModel.java:1061)
at org.netbeans.modules.visualweb.insync.Model.sync(Model.java:219)
at org.netbeans.modules.visualweb.insync.models.FacesModelSet.getFacesModel(FacesModelSet.java:634)
at org.netbeans.modules.visualweb.designer.jsf.JsfForm.getFacesModel(JsfForm.java:288)
at org.netbeans.modules.visualweb.designer.jsf.JsfForm.getFacesModel(JsfForm.java:298)
at org.netbeans.modules.visualweb.designer.jsf.JsfForm.loadFacesModel(JsfForm.java:3017)
Caused: java.lang.IllegalStateException: FacesModel was not loaded for DataObject, dataObject=org.netbeans.modules.visualweb.project.jsfloader.JsfJspDataObject@4d7a6a4b[C:\Users\Leandro\Documents\NetBeansProjects\WebApplication1\web\Page1.jsp]
at org.netbeans.modules.visualweb.designer.jsf.JsfForm.loadFacesModel(JsfForm.java:3020)
at org.netbeans.modules.visualweb.designer.jsf.JsfForm.access$000(JsfForm.java:131)
at org.netbeans.modules.visualweb.designer.jsf.JsfForm$1.modelSetAdded(JsfForm.java:369)
at org.netbeans.modules.visualweb.insync.ModelSet.fireModelSetAdded(ModelSet.java:179)
at org.netbeans.modules.visualweb.insync.ModelSet.getInstance(ModelSet.java:255)
at org.netbeans.modules.visualweb.insync.ModelSet$1.run(ModelSet.java:217)
at java.lang.Thread.run(Thread.java:619)
classLoader = org.netbeans.modules.web.jspparser_ext.WebAppParseSupport$ParserClassLoader@a52728a, parent : org.netbeans.modules.web.jspparser.JspParserImpl$ExtClassLoader@26b5ae57
SharedSecrets.getJavaNetAccess()=java.net.URLClassLoader$7@2addc751
classLoader = org.netbeans.modules.web.jspparser_ext.WebAppParseSupport$ParserClassLoader@195695d8, parent : org.netbeans.modules.web.jspparser.JspParserImpl$ExtClassLoader@26b5ae57
SharedSecrets.getJavaNetAccess()=java.net.URLClassLoader$7@2addc751
classLoader = org.netbeans.modules.web.jspparser_ext.WebAppParseSupport$ParserClassLoader@a52728a, parent : org.netbeans.modules.web.jspparser.JspParserImpl$ExtClassLoader@26b5ae57
SharedSecrets.getJavaNetAccess()=java.net.URLClassLoader$7@2addc751
classLoader = org.netbeans.modules.web.jspparser_ext.WebAppParseSupport$ParserClassLoader@195695d8, parent : org.netbeans.modules.web.jspparser.JspParserImpl$ExtClassLoader@26b5ae57
SharedSecrets.getJavaNetAccess()=java.net.URLClassLoader$7@2addc751
WARNING [global]: Error in source for css properties model for property: z-index
WARNING [org.openide.filesystems.Ordering]: Not all children in j2ee/webtier/framework/ marked with the position attribute: [org-icefaces-netbeans-modules-visualweb-frameworks-VisualICEfacesFrameworkProvider.instance, org-icefaces-netbeans-modules-web-frameworks-ICEfacesFrameworkProvider.instance, org-netbeans-modules-portalpack-portlets-genericportlets-frameworks-jsr168-JSR168WebFrameworkProvider.instance], but some are: [org-netbeans-modules-sun-jmaki-javaee-LibraryProvider.instance, org-netbeans-modules-visualweb-project-jsf-framework-JSFFrameworkProvider.instance, org-netbeans-modules-web-jsf-JSFFrameworkProvider.instance, org-netbeans-modules-web-frameworks-facelets-FaceletsFrameworkProvider.instance]
INFO [org.netbeans.modules.visualweb.designer.jsf.JsfForm]
java.lang.NullPointerException: Invalid FacesModel, it has null LiveUnit, facesModel=org.netbeans.modules.visualweb.insync.models.FacesModel@601f7f3e[ file: Page1.jsp]
at org.netbeans.modules.visualweb.designer.jsf.JsfForm.initDesignProjectListening(JsfForm.java:735)
at org.netbeans.modules.visualweb.designer.jsf.JsfForm.initListening(JsfForm.java:270)
at org.netbeans.modules.visualweb.designer.jsf.JsfForm.init(JsfForm.java:241)
at org.netbeans.modules.visualweb.designer.jsf.JsfForm.<init>(JsfForm.java:225)
at org.netbeans.modules.visualweb.designer.jsf.JsfForm.getJsfForm(JsfForm.java:332)
at org.netbeans.modules.visualweb.designer.jsf.DesignerJsfServiceImpl.createDesignerMultiViewElement(DesignerJsfServiceImpl.java:70)
at org.netbeans.modules.visualweb.project.jsfloader.JsfJavaEditorSupport$DesignerDesc.createElement(JsfJavaEditorSupport.java:562)
at org.netbeans.core.multiview.MultiViewModel.getElementForDescription(MultiViewModel.java:206)
at org.netbeans.core.multiview.MultiViewModel.getActiveElement(MultiViewModel.java:127)
at org.netbeans.core.multiview.MultiViewModel.getActiveElement(MultiViewModel.java:123)
at org.netbeans.core.multiview.MultiViewPeer.peerComponentShowing(MultiViewPeer.java:197)
at org.netbeans.core.multiview.MultiViewCloneableTopComponent.componentShowing(MultiViewCloneableTopComponent.java:119)
at org.openide.windows.WindowManager.componentShowing(WindowManager.java:330)
at org.netbeans.core.windows.WindowManagerImpl.componentShowing(WindowManagerImpl.java:1046)
at org.netbeans.core.windows.view.DefaultView.changeGUI(DefaultView.java:161)
at org.netbeans.core.windows.ViewRequestor.dispatchRequest(ViewRequestor.java:269)
at org.netbeans.core.windows.ViewRequestor.processRequest(ViewRequestor.java:245)
at org.netbeans.core.windows.ViewRequestor.postRequest(ViewRequestor.java:183)
at org.netbeans.core.windows.ViewRequestor.scheduleRequest(ViewRequestor.java:123)
at org.netbeans.core.windows.Central.addModeOpenedTopComponent(Central.java:757)
at org.netbeans.core.windows.ModeImpl.addOpenedTopComponent(ModeImpl.java:311)
at org.netbeans.core.windows.WindowManagerImpl.topComponentOpenAtTabPosition(WindowManagerImpl.java:1104)
at org.netbeans.core.windows.WindowManagerImpl.topComponentOpen(WindowManagerImpl.java:1071)
at org.openide.windows.TopComponent.open(TopComponent.java:384)
at org.openide.windows.TopComponent.open(TopComponent.java:375)
at org.openide.windows.CloneableOpenSupport.openCloneableTopComponent(CloneableOpenSupport.java:199)
at org.netbeans.modules.visualweb.project.jsfloader.JsfJavaEditorSupport.doOpenDesigner(JsfJavaEditorSupport.java:176)
at org.netbeans.modules.visualweb.project.jsfloader.JsfJavaEditorSupport$1.run(JsfJavaEditorSupport.java:158)
at org.openide.util.Mutex.doEvent(Mutex.java:1335)
at org.openide.util.Mutex.writeAccess(Mutex.java:452)
at org.netbeans.modules.visualweb.project.jsfloader.JsfJavaEditorSupport.openDesigner(JsfJavaEditorSupport.java:150)
at org.netbeans.modules.visualweb.project.jsfloader.JsfJspEditorSupport.openDesigner(JsfJspEditorSupport.java:210)
at org.netbeans.modules.visualweb.project.jsfloader.JsfJspDataObject$OpenEdit.open(JsfJspDataObject.java:257)
at org.openide.actions.OpenAction.performAction(OpenAction.java:81)
at org.openide.util.actions.NodeAction$DelegateAction$1.run(NodeAction.java:581)
at org.netbeans.modules.openide.util.ActionsBridge.doPerformAction(ActionsBridge.java:77)
at org.openide.util.actions.NodeAction$DelegateAction.actionPerformed(NodeAction.java:577)
at org.openide.explorer.view.TreeView$PopupSupport.mouseClicked(TreeView.java:1492)
at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:253)
at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:252)
at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:252)
at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:252)
at java.awt.Component.processMouseEvent(Component.java:6266)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6028)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4630)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4247)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2475)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
INFO [org.netbeans.modules.visualweb.designer.jsf.JsfForm]
java.lang.IllegalStateException: Invalid FacesModel, it is not busted and its root design bean is null, facesModel=org.netbeans.modules.visualweb.insync.models.FacesModel@601f7f3e[ file: Page1.jsp]
at org.netbeans.modules.visualweb.designer.jsf.JsfForm.getRootBeanNode(JsfForm.java:2981)
at org.netbeans.modules.visualweb.designer.jsf.ui.JsfDesignerListener.selectionChanged(JsfDesignerListener.java:303)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.openide.util.WeakListenerImpl$ProxyListener.invoke(WeakListenerImpl.java:449)
at $Proxy25.selectionChanged(Unknown Source)
at org.netbeans.modules.visualweb.designer.WebForm.fireSelectionChanged(WebForm.java:2921)
at org.netbeans.modules.visualweb.designer.SelectionManager.updateNodesImmediate(SelectionManager.java:2214)
at org.netbeans.modules.visualweb.designer.SelectionManager$2.actionPerformed(SelectionManager.java:2076)
at javax.swing.Timer.fireActionPerformed(Timer.java:271)
at javax.swing.Timer$DoPostEvent.run(Timer.java:201)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
leandro.costa

Joined: 30/06/2009 00:00:00
Messages: 11
Offline


I think the problem in messages.log starts here:

Compiler: HotSpot 64-Bit Server Compile
Heap memory usage: initial 32,0MB maximum 455,1M
Non heap memory usage: initial 34,4MB maximum 248,0M
Garbage collector: PS Scavenge (Collections=19 Total time spent=0s
Garbage collector: PS MarkSweep (Collections=2 Total time spent=0s
Classes: loaded=8360 total loaded=8360 unloaded
INFO [org.netbeans.core.ui.warmup.DiagnosticTask]: Total memory 4.293.066.752
classLoader = org.netbeans.modules.web.jspparser_ext.WebAppParseSupport$ParserClassLoader@a52728a, parent : org.netbeans.modules.web.jspparser.JspParserImpl$ExtClassLoader@26b5ae57
SharedSecrets.getJavaNetAccess()=java.net.URLClassLoader$7@2addc751
classLoader = org.netbeans.modules.web.jspparser_ext.WebAppParseSupport$ParserClassLoader@195695d8, parent : org.netbeans.modules.web.jspparser.JspParserImpl$ExtClassLoader@26b5ae57
SharedSecrets.getJavaNetAccess()=java.net.URLClassLoader$7@2addc751
SEVERE [org.netbeans.modules.visualweb.designer.jsf.JsfForm]
java.lang.NullPointerException
at org.netbeans.modules.visualweb.insync.java.JavaClass$1.run(JavaClass.java:138)
at org.netbeans.modules.visualweb.insync.java.ReadTaskWrapper.run(ReadTaskWrapper.java:73)
at org.netbeans.modules.visualweb.insync.java.ReadTaskWrapper.run(ReadTaskWrapper.java:56)
at org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:680)
at org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:607)
at org.netbeans.modules.visualweb.insync.java.ReadTaskWrapper.execute(ReadTaskWrapper.java:80)
at org.netbeans.modules.visualweb.insync.java.ReadTaskWrapper.execute(ReadTaskWrapper.java:88)
at org.netbeans.modules.visualweb.insync.java.JavaClass.isSubTypeOf(JavaClass.java:135)
at org.netbeans.modules.visualweb.insync.models.FacesModel.openJavaUnits(FacesModel.java:829)
at org.netbeans.modules.visualweb.insync.models.FacesModel.syncImpl(FacesModel.java:1061)
at org.netbeans.modules.visualweb.insync.Model.sync(Model.java:219)
at org.netbeans.modules.visualweb.insync.models.FacesModelSet.getFacesModel(FacesModelSet.java:634)
at org.netbeans.modules.visualweb.designer.jsf.JsfForm.getFacesModel(JsfForm.java:288)
at org.netbeans.modules.visualweb.designer.jsf.JsfForm.getFacesModel(JsfForm.java:298)
at org.netbeans.modules.visualweb.designer.jsf.JsfForm.loadFacesModel(JsfForm.java:3017)
Caused: java.lang.IllegalStateException: FacesModel was not loaded for DataObject, dataObject=org.netbeans.modules.visualweb.project.jsfloader.JsfJspDataObject@4d7a6a4b[C:\Users\Leandro\Documents\NetBeansProjects\WebApplication1\web\Page1.jsp]
at org.netbeans.modules.visualweb.designer.jsf.JsfForm.loadFacesModel(JsfForm.java:3020)
at org.netbeans.modules.visualweb.designer.jsf.JsfForm.access$000(JsfForm.java:131)
at org.netbeans.modules.visualweb.designer.jsf.JsfForm$1.modelSetAdded(JsfForm.java:369)
at org.netbeans.modules.visualweb.insync.ModelSet.fireModelSetAdded(ModelSet.java:179)
at org.netbeans.modules.visualweb.insync.ModelSet.getInstance(ModelSet.java:255)
at org.netbeans.modules.visualweb.insync.ModelSet$1.run(ModelSet.java:217)
at java.lang.Thread.run(Thread.java:619)
classLoader = org.netbeans.modules.web.jspparser_ext.WebAppParseSupport$ParserClassLoader@a52728a, parent : org.netbeans.modules.web.jspparser.JspParserImpl$ExtClassLoader@26b5ae57
SharedSecrets.getJavaNetAccess()=java.net.URLClassLoader$7@2addc751
classLoader = org.netbeans.modules.web.jspparser_ext.WebAppParseSupport$ParserClassLoader@195695d8, parent : org.netbeans.modules.web.jspparser.JspParserImpl$ExtClassLoader@26b5ae57
SharedSecrets.getJavaNetAccess()=java.net.URLClassLoader$7@2addc751
classLoader = org.netbeans.modules.web.jspparser_ext.WebAppParseSupport$ParserClassLoader@a52728a, parent : org.netbeans.modules.web.jspparser.JspParserImpl$ExtClassLoader@26b5ae57
SharedSecrets.getJavaNetAccess()=java.net.URLClassLoader$7@2addc751
classLoader = org.netbeans.modules.web.jspparser_ext.WebAppParseSupport$ParserClassLoader@195695d8, parent : org.netbeans.modules.web.jspparser.JspParserImpl$ExtClassLoader@26b5ae57
SharedSecrets.getJavaNetAccess()=java.net.URLClassLoader$7@2addc751
WARNING [global]: Error in source for css properties model for property: z-index
WARNING [org.openide.filesystems.Ordering]: Not all children in j2ee/webtier/framework/ marked with the position attribute: [org-icefaces-netbeans-modules-visualweb-frameworks-VisualICEfacesFrameworkProvider.instance, org-icefaces-netbeans-modules-web-frameworks-ICEfacesFrameworkProvider.instance, org-netbeans-modules-portalpack-portlets-genericportlets-frameworks-jsr168-JSR168WebFrameworkProvider.instance], but some are: [org-netbeans-modules-sun-jmaki-javaee-LibraryProvider.instance, org-netbeans-modules-visualweb-project-jsf-framework-JSFFrameworkProvider.instance, org-netbeans-modules-web-jsf-JSFFrameworkProvider.instance, org-netbeans-modules-web-frameworks-facelets-FaceletsFrameworkProvider.instance]
INFO [org.netbeans.modules.visualweb.designer.jsf.JsfForm]
java.lang.NullPointerException: Invalid FacesModel, it has null LiveUnit, facesModel=org.netbeans.modules.visualweb.insync.models.FacesModel@601f7f3e[ file: Page1.jsp]
at org.netbeans.modules.visualweb.designer.jsf.JsfForm.initDesignProjectListening(JsfForm.java:735)
at org.netbeans.modules.visualweb.designer.jsf.JsfForm.initListening(JsfForm.java:270)
at org.netbeans.modules.visualweb.designer.jsf.JsfForm.init(JsfForm.java:241)
at org.netbeans.modules.visualweb.designer.jsf.JsfForm.<init>(JsfForm.java:225)
at org.netbeans.modules.visualweb.designer.jsf.JsfForm.getJsfForm(JsfForm.java:332)
at org.netbeans.modules.visualweb.designer.jsf.DesignerJsfServiceImpl.createDesignerMultiViewElement(DesignerJsfServiceImpl.java:70)
at org.netbeans.modules.visualweb.project.jsfloader.JsfJavaEditorSupport$DesignerDesc.createElement(JsfJavaEditorSupport.java:562)
at org.netbeans.core.multiview.MultiViewModel.getElementForDescription(MultiViewModel.java:206)
at org.netbeans.core.multiview.MultiViewModel.getActiveElement(MultiViewModel.java:127)
at org.netbeans.core.multiview.MultiViewModel.getActiveElement(MultiViewModel.java:123)
at org.netbeans.core.multiview.MultiViewPeer.peerComponentShowing(MultiViewPeer.java:197)
at org.netbeans.core.multiview.MultiViewCloneableTopComponent.componentShowing(MultiViewCloneableTopComponent.java:119)
at org.openide.windows.WindowManager.componentShowing(WindowManager.java:330)
at org.netbeans.core.windows.WindowManagerImpl.componentShowing(WindowManagerImpl.java:1046)
at org.netbeans.core.windows.view.DefaultView.changeGUI(DefaultView.java:161)
at org.netbeans.core.windows.ViewRequestor.dispatchRequest(ViewRequestor.java:269)
at org.netbeans.core.windows.ViewRequestor.processRequest(ViewRequestor.java:245)
at org.netbeans.core.windows.ViewRequestor.postRequest(ViewRequestor.java:183)
at org.netbeans.core.windows.ViewRequestor.scheduleRequest(ViewRequestor.java:123)
at org.netbeans.core.windows.Central.addModeOpenedTopComponent(Central.java:757)
at org.netbeans.core.windows.ModeImpl.addOpenedTopComponent(ModeImpl.java:311)
at org.netbeans.core.windows.WindowManagerImpl.topComponentOpenAtTabPosition(WindowManagerImpl.java:1104)
at org.netbeans.core.windows.WindowManagerImpl.topComponentOpen(WindowManagerImpl.java:1071)
at org.openide.windows.TopComponent.open(TopComponent.java:384)
at org.openide.windows.TopComponent.open(TopComponent.java:375)
at org.openide.windows.CloneableOpenSupport.openCloneableTopComponent(CloneableOpenSupport.java:199)
at org.netbeans.modules.visualweb.project.jsfloader.JsfJavaEditorSupport.doOpenDesigner(JsfJavaEditorSupport.java:176)
at org.netbeans.modules.visualweb.project.jsfloader.JsfJavaEditorSupport$1.run(JsfJavaEditorSupport.java:158)
at org.openide.util.Mutex.doEvent(Mutex.java:1335)
at org.openide.util.Mutex.writeAccess(Mutex.java:452)
at org.netbeans.modules.visualweb.project.jsfloader.JsfJavaEditorSupport.openDesigner(JsfJavaEditorSupport.java:150)
at org.netbeans.modules.visualweb.project.jsfloader.JsfJspEditorSupport.openDesigner(JsfJspEditorSupport.java:210)
at org.netbeans.modules.visualweb.project.jsfloader.JsfJspDataObject$OpenEdit.open(JsfJspDataObject.java:257)
at org.openide.actions.OpenAction.performAction(OpenAction.java:81)
at org.openide.util.actions.NodeAction$DelegateAction$1.run(NodeAction.java:581)
at org.netbeans.modules.openide.util.ActionsBridge.doPerformAction(ActionsBridge.java:77)
at org.openide.util.actions.NodeAction$DelegateAction.actionPerformed(NodeAction.java:577)
at org.openide.explorer.view.TreeView$PopupSupport.mouseClicked(TreeView.java:1492)
at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:253)
at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:252)
at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:252)
at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:252)
at java.awt.Component.processMouseEvent(Component.java:6266)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6028)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4630)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4247)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2475)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
INFO [org.netbeans.modules.visualweb.designer.jsf.JsfForm]
java.lang.IllegalStateException: Invalid FacesModel, it is not busted and its root design bean is null, facesModel=org.netbeans.modules.visualweb.insync.models.FacesModel@601f7f3e[ file: Page1.jsp]
at org.netbeans.modules.visualweb.designer.jsf.JsfForm.getRootBeanNode(JsfForm.java:2981)
at org.netbeans.modules.visualweb.designer.jsf.ui.JsfDesignerListener.selectionChanged(JsfDesignerListener.java:303)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.openide.util.WeakListenerImpl$ProxyListener.invoke(WeakListenerImpl.java:449)
at $Proxy25.selectionChanged(Unknown Source)
at org.netbeans.modules.visualweb.designer.WebForm.fireSelectionChanged(WebForm.java:2921)
at org.netbeans.modules.visualweb.designer.SelectionManager.updateNodesImmediate(SelectionManager.java:2214)
at org.netbeans.modules.visualweb.designer.SelectionManager$2.actionPerformed(SelectionManager.java:2076)
at javax.swing.Timer.fireActionPerformed(Timer.java:271)
at javax.swing.Timer$DoPostEvent.run(Timer.java:201)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
eocampos

Joined: 02/11/2009 00:00:00
Messages: 3
Offline


Hi Leandro,
I have the same problem over here (almost with the same config except that I'm using Vista 32bits).
I also installed Netbeans 6.5.1 in my laptop (Centos 5.3) and the ICEfaces' pluguins and the behaviour is the same (creating a new project stops at 75%, reference problems, etc.)
leandro.costa

Joined: 30/06/2009 00:00:00
Messages: 11
Offline


Well, I didn't resolve my problem. I gave up of making it work in my setup and now I'm using a Windows XP 32bits to make ICEfaces projects.

If you are having the same problem and you are using Vista 32bits, and Centos 5.3 we might have a problem with the hardware.
I'm using an Intel Core 2 E7200 2.53GHZ 1066MHZ 3MB. What is your processor?
 
Forum Index -> Tools Go to Page: 1, 2 Next 
Go to:   
Powered by JForum 2.1.7ice © JForum Team