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.
This bug was originally marked as duplicate of bug 182257, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE 7.0.1 (Build 201107282000) VM: Java HotSpot(TM) 64-Bit Server VM, 21.0-b17, Java(TM) SE Runtime Environment, 1.7.0-b147 OS: Linux User Comments: rafu_86: hi, i have a bug to report the bug is connected with creating new domain class in new version of grails, in this case 1.3.1 M1 after fill up domain class name, but without giving any package name, console stops at 81% and there is text in red that says that it is not recommendet to not specify any package, and IDE is suspended in this moment, we cant do anything except when we write some on our creating new domain class window, we can now do something then we can click cancel>and answer for previous question in console, when we click yes domain class is build up like nothing happened regards, Rafa? Wi?niecki GUEST: adding a grails domain class without a package rjdkolb: Groovy plugin When attempting to create a Domain class that already exists, Groovy prompts > Tests NoseTests.groovy already exists. Overwrite? [y/n] (y, Y, n, N) When I tried to type Y I got this exception thanks GUEST: when you create a Grails app, then you if create a controller using the left menu you are in a death locking situation. because there is a dialog and there is a request from the output console. WARNING: You have not specified a package. It is good practise to place classes in packages (eg. mycompany.Book). Do you want to continue? (y, n) the only way to exit without killing the netebans applicatione is insert a junk package GUEST: re-creating new controler in grails GUEST: I've created a simple controller in a grails application, and put in default package. Grails asks for confirmation, but the configuration dialog is still open and it is modal, so you cannot reply in the (create-controller) tab. I had to close the configuration dialog box, so I can reply to grails warning, at the end of controller creation there is the NPE Stacktrace: java.lang.NullPointerException at org.netbeans.modules.groovy.grailsproject.templates.NewGrailsArtifactWizardIterator.instantiate(NewGrailsArtifactWizardIterator.java:240) at org.openide.loaders.TemplateWizard$InstantiatingIteratorBridge.instantiate(TemplateWizard.java:1019) at org.openide.loaders.TemplateWizard.handleInstantiate(TemplateWizard.java:591) at org.openide.loaders.TemplateWizard.instantiateNewObjects(TemplateWizard.java:412) at org.openide.loaders.TemplateWizardIterImpl.instantiate(TemplateWizardIterImpl.java:256) at org.openide.loaders.TemplateWizardIteratorWrapper.instantiate(TemplateWizardIteratorWrapper.java:168)
Created attachment 112819 [details] stacktrace
*** This bug has been marked as a duplicate of bug 187318 ***