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 140094 - [65cat] Error When Opening Existing Grails Project
Summary: [65cat] Error When Opening Existing Grails Project
Status: RESOLVED WORKSFORME
Alias: None
Product: groovy
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: Macintosh Mac OS X
: P3 blocker (vote)
Assignee: _ sandipchitale
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-15 14:14 UTC by juneau001
Modified: 2008-10-30 14:24 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description juneau001 2008-07-15 14:14:51 UTC
[ BUILD # : 200807101204 ]
[ JDK VERSION : 1.5.* ]

Error occurs when attempting to open an existing Grails project
(created with M1):

java.lang.NoClassDefFoundError:
org/netbeans/modules/web/client/tools/api/WebClientToolsSessionExcepti
on
	at
org.netbeans.modules.groovy.grailsproject.GrailsProject.getLookup(Grai
lsProject.java:111)
	at
org.netbeans.api.project.ProjectUtils.getInformation(ProjectUtils.java
:82)
[catch] at
org.netbeans.modules.project.ui.ProjectChooserAccessory$1$1.run(Projec
tChooserAccessory.java:257)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
	at
org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.ja
va:104)
	at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThr
ead.java:269)
	at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThrea
d.java:190)
	at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThrea
d.java:180)
	at java.awt.Dialog$1.run(Dialog.java:535)
	at java.awt.Dialog$2.run(Dialog.java:563)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.awt.Dialog.show(Dialog.java:561)
	at javax.swing.JFileChooser.showDialog(JFileChooser.java:728)
	at javax.swing.JFileChooser.showOpenDialog(JFileChooser.java:620)
	at
org.netbeans.modules.project.ui.actions.OpenProject.actionPerformed(Op
enProject.java:101)
	at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:188
2)
	at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java
:2202)
	at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.
java:420)
	at
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)

	at javax.swing.AbstractButton.doClick(AbstractButton.java:334)
	at apple.laf.ScreenMenuItem.actionPerformed(ScreenMenuItem.java:96)
	at java.awt.MenuItem.processActionEvent(MenuItem.java:597)
	at java.awt.MenuItem.processEvent(MenuItem.java:556)
	at java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java:298)
	at java.awt.MenuComponent.dispatchEvent(MenuComponent.java:286)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:466)
	at
org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.ja
va:104)
	at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThr
ead.java:269)
	at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThrea
d.java:190)
	at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
	at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Comment 1 martin_adamek 2008-07-15 15:19:57 UTC
I don't really understand, what's happening here, but seems to be related to JS debugger integration?
Comment 2 _ sandipchitale 2008-07-15 17:27:15 UTC
The class WebClientToolsSessionException comes from web.client.tools.api module which lives in gsf cluster. gsf cluster
and groovy build does contain gsf cluster:

clusters.config.groovy.list=\
        nb.cluster.nb,\
        nb.cluster.platform,\
        nb.cluster.harness,\
        nb.cluster.ide,\
        nb.cluster.gsf,\
        nb.cluster.websvccommon,\
        nb.cluster.java,\
        nb.cluster.groovy

Investigating.
Comment 3 _ sandipchitale 2008-07-15 17:56:11 UTC
I tried the build 

Product Version: NetBeans IDE Dev (Build 200807101204)
Java: 1.5.0_15; Java HotSpot(TM) Client VM 1.5.0_15-b04
System: Linux version 2.6.24-16-generic running on i386; UTF-8; en_US (nb)
Userdir: /home/sc32560/.netbeans/dev

from http://smetiste.czech.sun.com/builds/netbeans/trunk/daily/2008-07-10_14-01-13/

I installed the Web & Java EE bundle. I am not able to reproduce the problem.

Please reopen with exact steps to reproduce.