Groovy
  1. Groovy
  2. GROOVY-4180

groovydoc appears to be broken with java.util.NoSuchElementException

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 1.7.2
    • Fix Version/s: 1.7.3, 1.8-beta-1
    • Component/s: GroovyDoc
    • Labels:
      None

      Description

      groovydoc in grails 1.3 (groovy 1.7.2) applications is broken with the following error occuring:

      java.util.NoSuchElementException
      	at java.util.HashMap$HashIterator.nextEntry(HashMap.java:796)
      	at java.util.HashMap$EntryIterator.next(HashMap.java:834)
      	at java.util.HashMap$EntryIterator.next(HashMap.java:832)
      	at org.codehaus.groovy.tools.groovydoc.GroovyRootDocBuilder.processFile(GroovyRootDocBuilder.java:209)
      	at org.codehaus.groovy.tools.groovydoc.GroovyRootDocBuilder.buildTree(GroovyRootDocBuilder.java:163)
      	at org.codehaus.groovy.tools.groovydoc.GroovyDocTool.add(GroovyDocTool.java:65)
      	at org.codehaus.groovy.ant.Groovydoc.execute(Groovydoc.java:391)
      	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
      	at sun.reflect.GeneratedMethodAccessor81.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at 
      

        Activity

        Graeme Rocher created issue -
        Hide
        Paul King added a comment -

        The exception should no longer be thrown. The exception was only occurring when trying to create GroovyDoc for a script. An interesting question is what defaults we might consider/could support for
        Groovydoc for scripts - at the moment, they are ignored.

        Show
        Paul King added a comment - The exception should no longer be thrown. The exception was only occurring when trying to create GroovyDoc for a script. An interesting question is what defaults we might consider/could support for Groovydoc for scripts - at the moment, they are ignored.
        Paul King made changes -
        Field Original Value New Value
        Component/s GroovyDoc [ 14303 ]
        Hide
        Graeme Rocher added a comment -

        Should the issue be closed then?

        Show
        Graeme Rocher added a comment - Should the issue be closed then?
        Hide
        Paul King added a comment -

        Yes, issue is resolved. There is now also partial GroovyDoc support for Scripts (method JavaDoc only). It would be great if this could be tested against the Grails codebase.

        Show
        Paul King added a comment - Yes, issue is resolved. There is now also partial GroovyDoc support for Scripts (method JavaDoc only). It would be great if this could be tested against the Grails codebase.
        Paul King made changes -
        Fix Version/s 1.7.X [ 15538 ]
        Fix Version/s 1.8-beta-1 [ 16013 ]
        Assignee Paul King [ paulk ]
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 1.7.3 [ 16356 ]
        Resolution Fixed [ 1 ]
        Burt Beckwith made changes -
        Link This issue is related to GRAILS-6204 [ GRAILS-6204 ]
        Paul King made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 13:32:57 UTC 2015 [ 1428240777691 ]
        Mark Thomas made changes -
        Workflow jira [ 12733123 ] Default workflow, editable Closed status [ 12744977 ]
        Mark Thomas made changes -
        Project Import Mon Apr 06 02:11:23 UTC 2015 [ 1428286283443 ]
        Mark Thomas made changes -
        Workflow jira [ 12973666 ] Default workflow, editable Closed status [ 12980800 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        7d 3h 10m 1 Paul King 30/Apr/10 08:24
        Resolved Resolved Closed Closed
        54d 8h 20m 1 Paul King 23/Jun/10 16:45

          People

          • Assignee:
            Paul King
            Reporter:
            Graeme Rocher
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development