History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: GRAILS-610
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Critical Critical
Assignee: Graeme Rocher
Reporter: Marc Palmer
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Grails

Compiler errors in reloaded controllers yield error 500 now

Created: 16/Jan/07 01:51 PM   Updated: 30/Jan/07 02:06 PM
Component/s: Plugins
Affects Version/s: 0.4
Fix Version/s: 0.4

Time Tracking:
Not Specified


 Description  « Hide
HTTP ERROR: 500

Internal Server Error
RequestURI=/Code/contact/

This happened with this in the console:

Compilation error reloading plugin resource [ContactController]:startup failed, ContactController: 85: expecting ''', found '\n' @ line 85, column 146.
1 error

org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed, ContactController: 85: expecting ''', found '\n' @ line 85, column 146.
1 error

        at org.codehaus.groovy.control.ErrorCollector.failIfErrors(ErrorCollector.java:326)
        at org.codehaus.groovy.control.ErrorCollector.addFatalError(ErrorCollector.java:173)
        at org.codehaus.groovy.control.ErrorCollector.addError(ErrorCollector.java:143)
        at org.codehaus.groovy.control.ErrorCollector.addError(ErrorCollector.java:155)
        at org.codehaus.groovy.control.SourceUnit.addError(SourceUnit.java:382)
        at org.codehaus.groovy.antlr.AntlrParserPlugin.parseCST(AntlrParserPlugin.java:82)
        at org.codehaus.groovy.control.SourceUnit.parse(SourceUnit.java:279)
        at org.codehaus.groovy.control.CompilationUnit$1.call(CompilationUnit.java:184)
        at org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:833)
        at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:480)
        at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:306)
        at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:275)
        at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:270)
        at groovy.lang.GroovyClassLoader.recompile(GroovyClassLoader.java:714)
        at groovy.lang.GroovyClassLoader.loadClass(GroovyClassLoader.java:673)
        at groovy.lang.GroovyClassLoader.loadClass(GroovyClassLoader.java:504)
        at org.codehaus.groovy.grails.plugins.DefaultGrailsPlugin.attemptClassReload(DefaultGrailsPlugin.java:490)


 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.