[gant-scm] [jira] Created: (GANT-84) groovy.lang.MissingMethodException provides no information on location

View: New views
9 Messages — Rating Filter:   Alert me  

[gant-scm] [jira] Created: (GANT-84) groovy.lang.MissingMethodException provides no information on location

by JIRA jira@codehaus.org :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

groovy.lang.MissingMethodException provides no information on location
----------------------------------------------------------------------

                 Key: GANT-84
                 URL: http://jira.codehaus.org/browse/GANT-84
             Project: Gant
          Issue Type: Improvement
    Affects Versions: 1.6.1
            Reporter: Bob Swift


I often get messages like this which requires some effort to figure out what caused the problem.  If I monitor for the exception and get a stack trace, it still only narrows the search a bit.

groovy.lang.MissingMethodException: No signature of method: java.lang.String.positive() is applicable for argument types: () values: {}

Regular groovy seems to do better with given a location.



--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

<hr/>
<p>
To unsubscribe from this list please visit:
</p>
<p>
    <a href="http://xircles.codehaus.org/manage_email">http://xircles.codehaus.org/manage_email</a>


[gant-scm] [jira] Commented: (GANT-84) groovy.lang.MissingMethodException provides no information on location

by JIRA jira@codehaus.org :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/GANT-84?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=181715#action_181715 ]

Russel Winder commented on GANT-84:
-----------------------------------

Is there a small example that you find particularly irritating?  If so maybe we can use it to drive investigation.



> groovy.lang.MissingMethodException provides no information on location
> ----------------------------------------------------------------------
>
>                 Key: GANT-84
>                 URL: http://jira.codehaus.org/browse/GANT-84
>             Project: Gant
>          Issue Type: Improvement
>    Affects Versions: 1.6.1
>            Reporter: Bob Swift
>
> I often get messages like this which requires some effort to figure out what caused the problem.  If I monitor for the exception and get a stack trace, it still only narrows the search a bit.
> groovy.lang.MissingMethodException: No signature of method: java.lang.String.positive() is applicable for argument types: () values: {}
> Regular groovy seems to do better with given a location.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

<hr/>
<p>
To unsubscribe from this list please visit:
</p>
<p>
    <a href="http://xircles.codehaus.org/manage_email">http://xircles.codehaus.org/manage_email</a>


[gant-scm] [jira] Commented: (GANT-84) groovy.lang.MissingMethodException provides no information on location

by JIRA jira@codehaus.org :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/GANT-84?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=181836#action_181836 ]

Bob Swift commented on GANT-84:
-------------------------------

{noformat}
def x = 'a'
        + 'b'
{noformat}


> groovy.lang.MissingMethodException provides no information on location
> ----------------------------------------------------------------------
>
>                 Key: GANT-84
>                 URL: http://jira.codehaus.org/browse/GANT-84
>             Project: Gant
>          Issue Type: Improvement
>    Affects Versions: 1.6.1
>            Reporter: Bob Swift
>
> I often get messages like this which requires some effort to figure out what caused the problem.  If I monitor for the exception and get a stack trace, it still only narrows the search a bit.
> groovy.lang.MissingMethodException: No signature of method: java.lang.String.positive() is applicable for argument types: () values: {}
> Regular groovy seems to do better with given a location.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

<hr/>
<p>
To unsubscribe from this list please visit:
</p>
<p>
    <a href="http://xircles.codehaus.org/manage_email">http://xircles.codehaus.org/manage_email</a>


[gant-scm] [jira] Updated: (GANT-84) groovy.lang.MissingMethodException provides no information on location

by JIRA jira@codehaus.org :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/GANT-84?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Russel Winder updated GANT-84:
------------------------------

    Fix Version/s: 1.8.0

> groovy.lang.MissingMethodException provides no information on location
> ----------------------------------------------------------------------
>
>                 Key: GANT-84
>                 URL: http://jira.codehaus.org/browse/GANT-84
>             Project: Gant
>          Issue Type: Improvement
>    Affects Versions: 1.6.1
>            Reporter: Bob Swift
>             Fix For: 1.8.0
>
>
> I often get messages like this which requires some effort to figure out what caused the problem.  If I monitor for the exception and get a stack trace, it still only narrows the search a bit.
> groovy.lang.MissingMethodException: No signature of method: java.lang.String.positive() is applicable for argument types: () values: {}
> Regular groovy seems to do better with given a location.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

<hr/>
<p>
To unsubscribe from this list please visit:
</p>
<p>
    <a href="http://xircles.codehaus.org/manage_email">http://xircles.codehaus.org/manage_email</a>


[gant-scm] [jira] Commented: (GANT-84) groovy.lang.MissingMethodException provides no information on location

by JIRA jira@codehaus.org :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/GANT-84?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=191722#action_191722 ]

Russel Winder commented on GANT-84:
-----------------------------------

I suspect the example may not exibit the behaviour being complained about.  Executing the code as a Gant script:
{quote}
|> gant
Error evaluating Gantfile: No signature of method: java.lang.String.positive() is applicable for argument types: () values: []
|>
{quote}
Executing it as a Groovy script:
{quote}
|> groovy build.gant
Caught: org.codehaus.groovy.runtime.metaclass.MissingMethodExceptionNoStack: No signature of method: java.lang.String.positive() is applicable for argument types: () values: []
|>
{quote}
So no line numbers there either.  I think Gant's behaviour here is predicated by Groovy's behaviour, so I am tempted to mark this as "Not A Bug".  However, it maybe that there is a better example that highlights the problem?

Interestingly, the script can be compiled:
{quote}
|> groovyc build.gant
|>
{quote}
I wonder if there is a Groovy bug here?



> groovy.lang.MissingMethodException provides no information on location
> ----------------------------------------------------------------------
>
>                 Key: GANT-84
>                 URL: http://jira.codehaus.org/browse/GANT-84
>             Project: Gant
>          Issue Type: Improvement
>    Affects Versions: 1.6.1
>            Reporter: Bob Swift
>             Fix For: 1.8.0
>
>
> I often get messages like this which requires some effort to figure out what caused the problem.  If I monitor for the exception and get a stack trace, it still only narrows the search a bit.
> groovy.lang.MissingMethodException: No signature of method: java.lang.String.positive() is applicable for argument types: () values: {}
> Regular groovy seems to do better with given a location.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

<hr/>
<p>
To unsubscribe from this list please visit:
</p>
<p>
    <a href="http://xircles.codehaus.org/manage_email">http://xircles.codehaus.org/manage_email</a>


[gant-scm] [jira] Commented: (GANT-84) groovy.lang.MissingMethodException provides no information on location

by JIRA jira@codehaus.org :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/GANT-84?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=191725#action_191725 ]

Russel Winder commented on GANT-84:
-----------------------------------

Are this and GANT-78 expressions of the same problem?

> groovy.lang.MissingMethodException provides no information on location
> ----------------------------------------------------------------------
>
>                 Key: GANT-84
>                 URL: http://jira.codehaus.org/browse/GANT-84
>             Project: Gant
>          Issue Type: Improvement
>    Affects Versions: 1.6.1
>            Reporter: Bob Swift
>             Fix For: 1.8.0
>
>
> I often get messages like this which requires some effort to figure out what caused the problem.  If I monitor for the exception and get a stack trace, it still only narrows the search a bit.
> groovy.lang.MissingMethodException: No signature of method: java.lang.String.positive() is applicable for argument types: () values: {}
> Regular groovy seems to do better with given a location.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

<hr/>
<p>
To unsubscribe from this list please visit:
</p>
<p>
    <a href="http://xircles.codehaus.org/manage_email">http://xircles.codehaus.org/manage_email</a>


[gant-scm] [jira] Updated: (GANT-84) groovy.lang.MissingMethodException provides no information on location

by JIRA jira@codehaus.org :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/GANT-84?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Russel Winder updated GANT-84:
------------------------------

    Component/s: Core

> groovy.lang.MissingMethodException provides no information on location
> ----------------------------------------------------------------------
>
>                 Key: GANT-84
>                 URL: http://jira.codehaus.org/browse/GANT-84
>             Project: Gant
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 1.6.1
>            Reporter: Bob Swift
>             Fix For: 1.8.0
>
>
> I often get messages like this which requires some effort to figure out what caused the problem.  If I monitor for the exception and get a stack trace, it still only narrows the search a bit.
> groovy.lang.MissingMethodException: No signature of method: java.lang.String.positive() is applicable for argument types: () values: {}
> Regular groovy seems to do better with given a location.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

<hr/>
<p>
To unsubscribe from this list please visit:
</p>
<p>
    <a href="http://xircles.codehaus.org/manage_email">http://xircles.codehaus.org/manage_email</a>


[gant-scm] [jira] Resolved: (GANT-84) groovy.lang.MissingMethodException provides no information on location

by JIRA jira@codehaus.org :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/GANT-84?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Russel Winder resolved GANT-84.
-------------------------------

    Resolution: Fixed

This issue was rasied as GROOVY-3777 and has been fixed (for Groovy 1.6.5 and Groovy 1.7-beta-2), so marking this as resolved.

> groovy.lang.MissingMethodException provides no information on location
> ----------------------------------------------------------------------
>
>                 Key: GANT-84
>                 URL: http://jira.codehaus.org/browse/GANT-84
>             Project: Gant
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 1.6.1
>            Reporter: Bob Swift
>             Fix For: 1.8.0
>
>
> I often get messages like this which requires some effort to figure out what caused the problem.  If I monitor for the exception and get a stack trace, it still only narrows the search a bit.
> groovy.lang.MissingMethodException: No signature of method: java.lang.String.positive() is applicable for argument types: () values: {}
> Regular groovy seems to do better with given a location.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

<hr/>
<p>
To unsubscribe from this list please visit:
</p>
<p>
    <a href="http://xircles.codehaus.org/manage_email">http://xircles.codehaus.org/manage_email</a>


[gant-scm] [jira] Closed: (GANT-84) groovy.lang.MissingMethodException provides no information on location

by JIRA jira@codehaus.org :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/GANT-84?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Russel Winder closed GANT-84.
-----------------------------


> groovy.lang.MissingMethodException provides no information on location
> ----------------------------------------------------------------------
>
>                 Key: GANT-84
>                 URL: http://jira.codehaus.org/browse/GANT-84
>             Project: Gant
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 1.6.1
>            Reporter: Bob Swift
>             Fix For: 1.8.0
>
>
> I often get messages like this which requires some effort to figure out what caused the problem.  If I monitor for the exception and get a stack trace, it still only narrows the search a bit.
> groovy.lang.MissingMethodException: No signature of method: java.lang.String.positive() is applicable for argument types: () values: {}
> Regular groovy seems to do better with given a location.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

<hr/>
<p>
To unsubscribe from this list please visit:
</p>
<p>
    <a href="http://xircles.codehaus.org/manage_email">http://xircles.codehaus.org/manage_email</a>