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 126458 - Grails/Groovy plugin doesn't work with NB 6.1 M1
Summary: Grails/Groovy plugin doesn't work with NB 6.1 M1
Status: VERIFIED FIXED
Alias: None
Product: groovy
Classification: Unclassified
Component: Grails (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: schmidtm
URL:
Keywords:
: 126785 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-01-31 20:44 UTC by brentryan
Modified: 2009-11-07 10:54 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Netbeans log (4.34 KB, text/plain)
2008-01-31 20:44 UTC, brentryan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description brentryan 2008-01-31 20:44:06 UTC
After installing NB 6.1 M1 and then the groovy/grails plugin, Netbeans won't start.  I'll try to attach the log file here.
Comment 1 brentryan 2008-01-31 20:44:33 UTC
Created attachment 55875 [details]
Netbeans log
Comment 2 martin_adamek 2008-01-31 21:05:15 UTC
Jardo, do you have any idea how this could happen?
Comment 3 raffaelecastagno 2008-02-01 12:59:30 UTC
Same error here.
OS: Windows 2000 SP4
JDK: 1.6.0_03

NetBeans stop working just after the installation of the Groovy'n'Grails plugin.
Comment 4 martin_adamek 2008-02-01 20:15:52 UTC
For now assigning to me.
Comment 5 martin_adamek 2008-02-01 20:17:10 UTC
Comment from user:
Got it  :-)   I needed the "All" install, not just the Java SE one...  Something must be missing from Java SE that the Groovy stuff requires  :-)   As you were 
people...   ;-) 
Comment 6 Lukas Hasik 2008-02-01 21:28:05 UTC
It works for me with Product Version: NetBeans IDE Dev (Build 200801300005), Java: 1.6.0_04; Java HotSpot(TM) Client VM
10.0-b19 and the Groovy module(only) from the latest dev build UC.

I haven't tried it with the M1 yet. 

reassigning to groovy for evaluation what went wrong in M1.
Comment 7 cld9731 2008-02-11 00:30:33 UTC
I've had a terrible time with this bug.  Running on MacOS X, Java SE 5 & 6 with either NetBeans 6.0.1 and 6.1M1. First
tried it with 6.0.1 (EE version).  After loading the Groovy & Grails plugin - NetBeans didn't come up.  Download 6.1M1 -
same thing.  Downloaded 6.1M1 (version ALL) - did all the normal things - installed Groovy & Grails plugin, rebooted and
this time it did come up - so pointed to Groovy and Grails installations in preferences.  Tried to create a Grails
Project and this spinning blue wheel came up and there it sat spinning.  The dialog progress bar for new project showed
no progress - just the blue spinning wheel.
Comment 8 cld9731 2008-02-11 01:31:19 UTC
Interesting. I think I found it on my system.  On my system (MacOS X 10.4.11, Java SE 5, NetBeans 6.1M1) Installed
Groovy and Grails plugin.  I downloaded Groovy and Grails as instructed. Rebooted NB. Put Grails and Groovy paths into
preferences.  Tried it again.  Still didn't work.  So I went to NetBeans bin directory and executed in a shell and
watched.  It was unable to execute grails commands.  Looked at the Grails directory and discovered that nothing was
executable.  Fixed that with chmod.  Tried to create a grails project again and this time it worked.  On my system, the
problem was Grails permissions - not NetBeans.  After I fixed the permissions it seems to be working.  I wonder if
others with this problem can look at the grails directory and see if the permissions are set appropriately with an
execute permission on executable files.
Comment 9 martin_adamek 2008-02-11 06:09:15 UTC
OK, I think NetBeans should behave better in this case anyway.
Comment 10 schmidtm 2008-02-11 11:46:11 UTC
Hi,

we now propagate exceptions from the Grails server runnable through the interface and display their messages as dialog-boxes. Hope this helps with these 
kind of issues. Thanks for reporting.

See:

Grails server exceptions are now reported through interface. Additional error-reporting via dialogs
http://hg.netbeans.org/main/contrib/rev/434bf195f39a

Comment 11 schmidtm 2008-02-11 21:30:03 UTC
*** Issue 126785 has been marked as a duplicate of this issue. ***
Comment 12 Lukas Jungmann 2008-10-03 14:31:40 UTC
v.