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

Vadim Pakhnushev updated IGNITE-24978:
--------------------------------------
    Description: 
On some specific configuration of agents the {{HighlighterTest.hoconHighlight}} 
fails with
{noformat}
java.lang.NullPointerException: Cannot invoke "String.hashCode()" because 
"<local4>" is null
  at 
org.apache.ignite.internal.cli.commands.treesitter.parser.HoconTokenType.fromNode(HoconTokenType.java:34)
  at 
org.apache.ignite.internal.cli.commands.treesitter.parser.Indexer.index(Indexer.java:83)
  at 
org.apache.ignite.internal.cli.commands.treesitter.parser.Indexer.indexHocon(Indexer.java:54)
  at 
org.apache.ignite.internal.cli.commands.treesitter.highlighter.HoconAnsiHighlighter.highlight(HoconAnsiHighlighter.java:51)
  at 
org.apache.ignite.internal.cli.commands.treesitter.highlighter.HighlighterTest.hoconHighlight(HighlighterTest.java:51)
{noformat}
The root cause is unknown, it's not reproducible locally.

It seems that there were no such failures after updating the library to version 
0.25.3 in May 2025

  was:
On some specific configuration of agents the {{HighlighterTest.hoconHighlight}} 
fails with
{noformat}
java.lang.NullPointerException: Cannot invoke "String.hashCode()" because 
"<local4>" is null
  at 
org.apache.ignite.internal.cli.commands.treesitter.parser.HoconTokenType.fromNode(HoconTokenType.java:34)
  at 
org.apache.ignite.internal.cli.commands.treesitter.parser.Indexer.index(Indexer.java:83)
  at 
org.apache.ignite.internal.cli.commands.treesitter.parser.Indexer.indexHocon(Indexer.java:54)
  at 
org.apache.ignite.internal.cli.commands.treesitter.highlighter.HoconAnsiHighlighter.highlight(HoconAnsiHighlighter.java:51)
  at 
org.apache.ignite.internal.cli.commands.treesitter.highlighter.HighlighterTest.hoconHighlight(HighlighterTest.java:51)
{noformat}
The root cause is unknown, it's not reproducible locally.


> Remove tree-sitter ignore
> -------------------------
>
>                 Key: IGNITE-24978
>                 URL: https://issues.apache.org/jira/browse/IGNITE-24978
>             Project: Ignite
>          Issue Type: Bug
>          Components: cli
>            Reporter: Vadim Pakhnushev
>            Assignee: Vadim Pakhnushev
>            Priority: Major
>              Labels: ignite-3
>
> On some specific configuration of agents the 
> {{HighlighterTest.hoconHighlight}} fails with
> {noformat}
> java.lang.NullPointerException: Cannot invoke "String.hashCode()" because 
> "<local4>" is null
>   at 
> org.apache.ignite.internal.cli.commands.treesitter.parser.HoconTokenType.fromNode(HoconTokenType.java:34)
>   at 
> org.apache.ignite.internal.cli.commands.treesitter.parser.Indexer.index(Indexer.java:83)
>   at 
> org.apache.ignite.internal.cli.commands.treesitter.parser.Indexer.indexHocon(Indexer.java:54)
>   at 
> org.apache.ignite.internal.cli.commands.treesitter.highlighter.HoconAnsiHighlighter.highlight(HoconAnsiHighlighter.java:51)
>   at 
> org.apache.ignite.internal.cli.commands.treesitter.highlighter.HighlighterTest.hoconHighlight(HighlighterTest.java:51)
> {noformat}
> The root cause is unknown, it's not reproducible locally.
> It seems that there were no such failures after updating the library to 
> version 0.25.3 in May 2025



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to