[GitHub] groovy pull request #810: fixed for NullPointerException in MissingMethodExc...

2018-10-12 Thread qxo
GitHub user qxo opened a pull request:

https://github.com/apache/groovy/pull/810

fixed for NullPointerException in MissingMethodException

fixed for NullPointerException in MissingMethodException (when type is null)

```
Caused by: java.lang.NullPointerException
at groovy.lang.MissingMethodException.getMessage 
(MissingMethodException.java:60)
at java.lang.Throwable.getLocalizedMessage (Throwable.java:391)
at java.lang.Throwable.toString (Throwable.java:480)
at java.lang.String.valueOf (String.java:2994)
at org.fusesource.jansi.FilterPrintStream.println 
(FilterPrintStream.java:238)
at java.lang.Throwable$WrappedPrintStream.println (Throwable.java:748)
at java.lang.Throwable.printStackTrace (Throwable.java:655)
at java.lang.Throwable.printStackTrace (Throwable.java:643)
at java_lang_Throwable$printStackTrace.call (Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall 
(CallSiteArray.java:47)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call 
(AbstractCallSite.java:116)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call 
(AbstractCallSite.java:128)
```

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/qxo/groovy fix4MissingMethodNullType

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/groovy/pull/810.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #810


commit 3bf0245cff043d788fc9028bfe2af3103ea0c56d
Author: qxo <49526356@...>
Date:   2018-10-13T01:21:30Z

fixed for NullPointerException in MissingMethodException (when type is null)
```
Caused by: java.lang.NullPointerException
at groovy.lang.MissingMethodException.getMessage 
(MissingMethodException.java:60)
at java.lang.Throwable.getLocalizedMessage (Throwable.java:391)
at java.lang.Throwable.toString (Throwable.java:480)
at java.lang.String.valueOf (String.java:2994)
at org.fusesource.jansi.FilterPrintStream.println 
(FilterPrintStream.java:238)
at java.lang.Throwable$WrappedPrintStream.println (Throwable.java:748)
at java.lang.Throwable.printStackTrace (Throwable.java:655)
at java.lang.Throwable.printStackTrace (Throwable.java:643)
at java_lang_Throwable$printStackTrace.call (Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall 
(CallSiteArray.java:47)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call 
(AbstractCallSite.java:116)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call 
(AbstractCallSite.java:128)
```




---


[jira] [Commented] (GROOVY-8842) Refine highlighting source code in groovy console editor

2018-10-12 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/GROOVY-8842?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16648363#comment-16648363
 ] 

ASF GitHub Bot commented on GROOVY-8842:


GitHub user danielsun1106 opened a pull request:

https://github.com/apache/groovy/pull/809

GROOVY-8842: Refine highlighting source code in groovy console editor



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/danielsun1106/groovy smart-editor

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/groovy/pull/809.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #809


commit fa538f0d08793152cc1310762fcbf833fd5bc303
Author: danielsun1106 
Date:   2018-10-12T19:35:34Z

GROOVY-8842: Refine highlighting source code in groovy console editor




> Refine highlighting source code in groovy console editor
> 
>
> Key: GROOVY-8842
> URL: https://issues.apache.org/jira/browse/GROOVY-8842
> Project: Groovy
>  Issue Type: Improvement
>Reporter: Daniel Sun
>Assignee: Daniel Sun
>Priority: Major
> Fix For: 3.0.0-alpha-4
>
>
> Implement a source code highlighter based on Parrot's lexer, the new 
> highlighter should be smarter. e.g.
> It can show different colors in GString `"abc${'123' + 123}def${a + b}"`



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (GROOVY-8842) Refine highlighting source code in groovy console editor

2018-10-12 Thread Daniel Sun (JIRA)


 [ 
https://issues.apache.org/jira/browse/GROOVY-8842?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Sun updated GROOVY-8842:
---
Description: 
Implement a source code highlighter based on Parrot's lexer, the new 
highlighter should be smarter. e.g.

It can show different colors in GString `"abc${'123' + 123}def${a + b}"`


> Refine highlighting source code in groovy console editor
> 
>
> Key: GROOVY-8842
> URL: https://issues.apache.org/jira/browse/GROOVY-8842
> Project: Groovy
>  Issue Type: Improvement
>Reporter: Daniel Sun
>Assignee: Daniel Sun
>Priority: Major
> Fix For: 3.0.0-alpha-4
>
>
> Implement a source code highlighter based on Parrot's lexer, the new 
> highlighter should be smarter. e.g.
> It can show different colors in GString `"abc${'123' + 123}def${a + b}"`



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[GitHub] groovy pull request #809: GROOVY-8842: Refine highlighting source code in gr...

2018-10-12 Thread danielsun1106
GitHub user danielsun1106 opened a pull request:

https://github.com/apache/groovy/pull/809

GROOVY-8842: Refine highlighting source code in groovy console editor



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/danielsun1106/groovy smart-editor

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/groovy/pull/809.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #809


commit fa538f0d08793152cc1310762fcbf833fd5bc303
Author: danielsun1106 
Date:   2018-10-12T19:35:34Z

GROOVY-8842: Refine highlighting source code in groovy console editor




---


[jira] [Created] (GROOVY-8842) Refine highlighting source code in groovy console editor

2018-10-12 Thread Daniel Sun (JIRA)
Daniel Sun created GROOVY-8842:
--

 Summary: Refine highlighting source code in groovy console editor
 Key: GROOVY-8842
 URL: https://issues.apache.org/jira/browse/GROOVY-8842
 Project: Groovy
  Issue Type: Improvement
Reporter: Daniel Sun
Assignee: Daniel Sun
 Fix For: 3.0.0-alpha-4






--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Closed] (GROOVY-8841) Released version 2.5.3 is not available in Maven central

2018-10-12 Thread JIRA


 [ 
https://issues.apache.org/jira/browse/GROOVY-8841?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Cédric Champeau closed GROOVY-8841.
---
Resolution: Fixed

This is not a bug, 2.5.3 is not released yet

> Released version 2.5.3 is not available in Maven central
> 
>
> Key: GROOVY-8841
> URL: https://issues.apache.org/jira/browse/GROOVY-8841
> Project: Groovy
>  Issue Type: Bug
>Affects Versions: 2.5.3
>Reporter: Vimal David
>Priority: Major
>
> Released version 2.5.3 is not available in Maven central. While using the 
> latest released version in [GMavenPlus|https://github.com/groovy/GMavenPlus] 
> I got the following 
> [error|https://travis-ci.org/groovy/GMavenPlus/builds/440694867?utm_source=github_status_medium=notification]:
> {code:java}
> [ERROR] Failed to execute goal on project gmavenplus-plugin: Could not 
> resolve dependencies for project 
> org.codehaus.gmavenplus:gmavenplus-plugin:maven-plugin:1.6.2-SNAPSHOT: The 
> following artifacts could not be resolved: 
> org.codehaus.groovy:groovy:jar:indy:2.5.3, 
> org.codehaus.groovy:groovy-ant:jar:indy:2.5.3, 
> org.codehaus.groovy:groovy-groovydoc:jar:indy:2.5.3: Could not find artifact 
> org.codehaus.groovy:groovy:jar:indy:2.5.3 in central 
> (http://repo.maven.apache.org/maven2) 
> {code}
> Further, I checked the [maven 
> central|https://search.maven.org/search?q=g:org.codehaus.groovy%20AND%20a:groovy=gav]
>  as well and the version 2.5.3 is not available.
> In addition to that, the project 
> [README.adoc|https://github.com/apache/groovy/blob/master/README.adoc] file 
> need to be updated and the latest artifact has to be deployed to 
> [Bintray|https://bintray.com/groovy/maven/groovy] as well.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (GROOVY-8841) Released version 2.5.3 is not available in Maven central

2018-10-12 Thread Vimal David (JIRA)
Vimal David created GROOVY-8841:
---

 Summary: Released version 2.5.3 is not available in Maven central
 Key: GROOVY-8841
 URL: https://issues.apache.org/jira/browse/GROOVY-8841
 Project: Groovy
  Issue Type: Bug
Affects Versions: 2.5.3
Reporter: Vimal David


Released version 2.5.3 is not available in Maven central. While using the 
latest released version in [GMavenPlus|https://github.com/groovy/GMavenPlus] I 
got the following 
[error|https://travis-ci.org/groovy/GMavenPlus/builds/440694867?utm_source=github_status_medium=notification].
 

{code}
[ERROR] Failed to execute goal on project gmavenplus-plugin: Could not resolve 
dependencies for project 
org.codehaus.gmavenplus:gmavenplus-plugin:maven-plugin:1.6.2-SNAPSHOT: The 
following artifacts could not be resolved: 
org.codehaus.groovy:groovy:jar:indy:2.5.3, 
org.codehaus.groovy:groovy-ant:jar:indy:2.5.3, 
org.codehaus.groovy:groovy-groovydoc:jar:indy:2.5.3: Could not find artifact 
org.codehaus.groovy:groovy:jar:indy:2.5.3 in central 
(http://repo.maven.apache.org/maven2) 
{code}

Further, I checked the [maven 
central|https://search.maven.org/search?q=g:org.codehaus.groovy%20AND%20a:groovy=gav]
 as well and the version 2.5.3 is not available. 

In addition to that, the project 
[README.adoc|https://github.com/apache/groovy/blob/master/README.adoc] file 
need to be updated and the latest artifact has to be deployed to 
[Bintray|https://bintray.com/groovy/maven/groovy] as well.  




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)