This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 96978

Summary: java.lang.NoSuchFieldError: VIEW_FLAVOR
Product: obsolete Reporter: Lark Fitzgerald <lfitzgerald>
Component: visualwebAssignee: John Baker <jbaker>
Status: RESOLVED INVALID    
Severity: blocker    
Priority: P1    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Lark Fitzgerald 2007-03-01 17:44:01 UTC
jboss/nb5.5 co-bundle w/vwp5.5.1

1. before starting the ide, delete the jbossweb-tomcat55.sar/jsf-lib directory
2. start the ide
3. create a vw app

Red flashing icon appears in bottom right corner with this error:

java.lang.NoSuchFieldError: VIEW_FLAVOR
	at 
com.sun.rave.dataconnectivity.model.DatasourceTransferManager.getDisplayItem
(DatasourceTransferManager.java:52)
	at com.sun.rave.insync.live.DesignBeanNode.createPasteTypes
(DesignBeanNode.java:588)
	at org.openide.nodes.AbstractNode.getPasteTypes(AbstractNode.java:501)
	at org.openide.explorer.ExplorerActionsImpl.updatePasteTypes
(ExplorerActionsImpl.java:324)
	at org.openide.explorer.ExplorerActionsImpl.updatePasteAction
(ExplorerActionsImpl.java:314)
	at org.openide.explorer.ExplorerActionsImpl.access$300
(ExplorerActionsImpl.java:65)
[catch] at org.openide.explorer.ExplorerActionsImpl$ActionStateUpdater.run
(ExplorerActionsImpl.java:662)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy
(EventDispatchThread.java:242)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.java:163)
	at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:157)
	at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:149)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Comment 1 Lark Fitzgerald 2007-03-01 17:53:38 UTC
Not sure if this is a valid scenario but I was asked to test it.  This is 
blocking.  You can't do anything without getting it over and over again.
Comment 2 John Baker 2007-03-01 21:24:45 UTC
When testing Visual Web Pack 5.5.1, you need to use NetBeans 5.5.1

The error message is expected