NB 6.5: Can't open pages from NB 6.1 project

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

NB 6.5: Can't open pages from NB 6.1 project

by Stephan Bardubitzki-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi there,

when starting NB 6.5 for the first time I took over the setting of NB 6.1.
Now I can't open web pages of on existing VWP project. Here is the
output of the log:

INFO: Can't find java data object to
/home/bardu/NetBeansProjects/enterprise/bardu/mobitec/web/Index.jsp
java.lang.IllegalStateException: Can't find java data object to
/home/bardu/NetBeansProjects/enterprise/bardu/mobitec/web/Index.jsp
at
org.netbeans.modules.visualweb.project.jsfloader.Utils.findCorrespondingJsfJavaEditorSupport(Utils.java:244)

at
org.netbeans.modules.visualweb.project.jsfloader.JsfJspEditorSupport.getJsfJavaEditorSupport(JsfJspEditorSupport.java:751)

at
org.netbeans.modules.visualweb.project.jsfloader.JsfJspEditorSupport.getJsfJavaEditorSupport(JsfJspEditorSupport.java:747)

at
org.netbeans.modules.visualweb.project.jsfloader.JsfJspEditorSupport.openDesigner(JsfJspEditorSupport.java:205)

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:6044)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
at java.awt.Component.processEvent(Component.java:5806)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4413)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4243)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3995)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2440)
at java.awt.Component.dispatchEvent(Component.java:4243)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at
org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104)

at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)

at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)

at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

Can someone please clarify what's wrong?

Regards,
Stephan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: NB 6.5: Can't open pages from NB 6.1 project

by autozoom :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

maybe the version of Woodstock components you were using with NB 6.1 is different from the one that ships with 6.5?
Embedded with NB 6.5 you have Woodstock 4.2 build 3.
Maybe you have to upgrade it

Stephan Bardubitzki-3 wrote:
Hi there,

when starting NB 6.5 for the first time I took over the setting of NB 6.1.
Now I can't open web pages of on existing VWP project. Here is the
output of the log:

INFO: Can't find java data object to
/home/bardu/NetBeansProjects/enterprise/bardu/mobitec/web/Index.jsp
java.lang.IllegalStateException: Can't find java data object to
/home/bardu/NetBeansProjects/enterprise/bardu/mobitec/web/Index.jsp
at
org.netbeans.modules.visualweb.project.jsfloader.Utils.findCorrespondingJsfJavaEditorSupport(Utils.java:244)

at
org.netbeans.modules.visualweb.project.jsfloader.JsfJspEditorSupport.getJsfJavaEditorSupport(JsfJspEditorSupport.java:751)

at
org.netbeans.modules.visualweb.project.jsfloader.JsfJspEditorSupport.getJsfJavaEditorSupport(JsfJspEditorSupport.java:747)

at
org.netbeans.modules.visualweb.project.jsfloader.JsfJspEditorSupport.openDesigner(JsfJspEditorSupport.java:205)

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:6044)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
at java.awt.Component.processEvent(Component.java:5806)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4413)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4243)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3995)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2440)
at java.awt.Component.dispatchEvent(Component.java:4243)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at
org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104)

at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)

at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)

at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

Can someone please clarify what's wrong?

Regards,
Stephan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@woodstock.dev.java.net
For additional commands, e-mail: users-help@woodstock.dev.java.net

Re: NB 6.5: Can't open pages from NB 6.1 project

by Stephan Bardubitzki-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

autozoom wrote:

> maybe the version of Woodstock components you were using with NB 6.1 is
> different from the one that ships with 6.5?
> Embedded with NB 6.5 you have Woodstock 4.2 build 3.
> Maybe you have to upgrade it
>
>
> Stephan Bardubitzki-3 wrote:
>  
>> Hi there,
>>
>> when starting NB 6.5 for the first time I took over the setting of NB 6.1.
>> Now I can't open web pages of on existing VWP project. Here is the
>> output of the log:
>>
>> INFO: Can't find java data object to
>> /home/bardu/NetBeansProjects/enterprise/bardu/mobitec/web/Index.jsp
>> java.lang.IllegalStateException: Can't find java data object to
>> /home/bardu/NetBeansProjects/enterprise/bardu/mobitec/web/Index.jsp
>> at
>> org.netbeans.modules.visualweb.project.jsfloader.Utils.findCorrespondingJsfJavaEditorSupport(Utils.java:244)
>>
>> at
>> org.netbeans.modules.visualweb.project.jsfloader.JsfJspEditorSupport.getJsfJavaEditorSupport(JsfJspEditorSupport.java:751)
>>
>> at
>> org.netbeans.modules.visualweb.project.jsfloader.JsfJspEditorSupport.getJsfJavaEditorSupport(JsfJspEditorSupport.java:747)
>>
>> at
>> org.netbeans.modules.visualweb.project.jsfloader.JsfJspEditorSupport.openDesigner(JsfJspEditorSupport.java:205)
>>
>> 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:6044)
>> at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
>> at java.awt.Component.processEvent(Component.java:5806)
>> at java.awt.Container.processEvent(Container.java:2058)
>> at java.awt.Component.dispatchEventImpl(Component.java:4413)
>> at java.awt.Container.dispatchEventImpl(Container.java:2116)
>> at java.awt.Component.dispatchEvent(Component.java:4243)
>> at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
>> at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3995)
>> at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
>> at java.awt.Container.dispatchEventImpl(Container.java:2102)
>> at java.awt.Window.dispatchEventImpl(Window.java:2440)
>> at java.awt.Component.dispatchEvent(Component.java:4243)
>> at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
>> at
>> org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104)
>>
>> at
>> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
>>
>> at
>> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
>>
>> at
>> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
>>
>> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
>> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
>> at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
>>
>> Can someone please clarify what's wrong?
>>
>> Regards,
>> Stephan
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@...
>> For additional commands, e-mail: users-help@...
>>
>>
>>
>>    
>
>  
I think you are right, it must be the version because I can't get the
Design view of any page.

My understanding is that NB6.1 and NB6.5 ship with the same Woodstock
version.

However, how can you tell wish version is installed?



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: NB 6.5: Can't open pages from NB 6.1 project

by John Yeary :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Stephen,

Please look at my blog on how to determine it.

http://javaevangelist.blogspot.com/2007/06/how-to-determine-woodstock-components.html

John

On Sat, Nov 22, 2008 at 3:30 PM, Stephan Bardubitzki <stephan@...> wrote:
autozoom wrote:
maybe the version of Woodstock components you were using with NB 6.1 is
different from the one that ships with 6.5?
Embedded with NB 6.5 you have Woodstock 4.2 build 3.
Maybe you have to upgrade it


Stephan Bardubitzki-3 wrote:
 
Hi there,

when starting NB 6.5 for the first time I took over the setting of NB 6.1.
Now I can't open web pages of on existing VWP project. Here is the output of the log:

INFO: Can't find java data object to /home/bardu/NetBeansProjects/enterprise/bardu/mobitec/web/Index.jsp
java.lang.IllegalStateException: Can't find java data object to /home/bardu/NetBeansProjects/enterprise/bardu/mobitec/web/Index.jsp
at org.netbeans.modules.visualweb.project.jsfloader.Utils.findCorrespondingJsfJavaEditorSupport(Utils.java:244)
at org.netbeans.modules.visualweb.project.jsfloader.JsfJspEditorSupport.getJsfJavaEditorSupport(JsfJspEditorSupport.java:751)
at org.netbeans.modules.visualweb.project.jsfloader.JsfJspEditorSupport.getJsfJavaEditorSupport(JsfJspEditorSupport.java:747)
at org.netbeans.modules.visualweb.project.jsfloader.JsfJspEditorSupport.openDesigner(JsfJspEditorSupport.java:205)
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:6044)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
at java.awt.Component.processEvent(Component.java:5806)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4413)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4243)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3995)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2440)
at java.awt.Component.dispatchEvent(Component.java:4243)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

Can someone please clarify what's wrong?

Regards,
Stephan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...



   

 
I think you are right, it must be the version because I can't get the Design view of any page.

My understanding is that NB6.1 and NB6.5 ship with the same Woodstock version.

However, how can you tell wish version is installed?




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...




--
John Yeary
--
http://javaevangelist.blogspot.com

"Far better it is to dare might things, to win glorious triumphs, even though checkered by failure,

than to take rank with those poor spirits who neither enjoy much nor suffer much, because they live in the grey

twilight that knows not victory nor defeat." -- Theodore Roosevelt

Parent Message unknown Re: NB 6.5: Can't open pages from NB 6.1 project

by John Yeary :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Stephan,

The switch can be relatively painless unless you have a lot of AJAX functionality using the 4.3 format.

One of the biggest things I have found is the theme in 4.2 has a couple of items that developers may use, for example: auto-submit on change uses onChange="webui.suntheme4_2.common.timeoutSubmitForm(this.form, 'dropDown1');" which is the 4.2 theme method. On 4.3 the method looks like this   onChange="woodstock4_3.common.timeoutSubmitForm(this.form, 'dropDown1');". You would need to change the themes.

Your mileage may vary, but I am using the 4.3 Build 7 version without many issues. Sun stated that it would support 4.2, but I like the additional functionality of 4.3. I think the community has a chance to really take-off and grow so I will continue using 4.3 without "official" Sun support.

BTW- I took a 4.3 Build 7 project and opened it in 6.5. If you save it, it will revert to the old libraries with the caveats I mentioned above. In my case, the project worked as expected.

John


On Sat, Nov 22, 2008 at 9:58 PM, Stephan Bardubitzki <stephan@...> wrote:
Hello John,

it seem the Woodstock mailing list has some problems today so I send you my reply to your email address. I hope you don't mind.

thanks for your advise. Now I learned that I have must installed Woodstock 4.3.1 long time ago on NB6.1 without remembering for what reason.

Anyway, since I know SUN (NB) will support only Woodstock 4.2 is there a way to safely switch back to this version?

Thanks again  for your help.

Regards,
Stephan



--
John Yeary
--
http://javaevangelist.blogspot.com

"Far better it is to dare might things, to win glorious triumphs, even though checkered by failure,

than to take rank with those poor spirits who neither enjoy much nor suffer much, because they live in the grey

twilight that knows not victory nor defeat." -- Theodore Roosevelt