Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.5.6
-
Fix Version/s: 1.6.0
-
Component/s: None
-
Labels:None
-
Environment:Eclipse 3.4
-
Patch Submitted:Yes
Description
This Error disappears if the setting for file comments for new classes is not empty in the eclipse code templates.
Stacktrace:
java.lang.NullPointerException at java.io.StringReader.<init>(StringReader.java:33) at org.codehaus.groovy.eclipse.ui.ArtifactCodeGenerator.fixCodeWithPrefix(ArtifactCodeGenerator.java:145) at org.codehaus.groovy.eclipse.ui.ArtifactCodeGenerator.addCode(ArtifactCodeGenerator.java:120) at org.codehaus.groovy.eclipse.ui.ArtifactCodeGenerator.addCode(ArtifactCodeGenerator.java:81) at org.codehaus.groovy.eclipse.wizards.NewClassWizardPage.createGroovyType(NewClassWizardPage.java:254) at org.codehaus.groovy.eclipse.wizards.NewClassWizard.finishPage(NewClassWizard.java:46) at org.codehaus.groovy.eclipse.wizards.NewClassWizard$1.run(NewClassWizard.java:58) at org.eclipse.jdt.internal.core.BatchOperation.executeOperation(BatchOperation.java:39)
patch to verify that the file comment is not null