[jira] [Commented] (NETBEANS-6096) Add support for Scala programming language

2021-10-05 Thread Sven Reimers (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-6096?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17424663#comment-17424663
 ] 

Sven Reimers commented on NETBEANS-6096:


Original code is here

https://github.com/dcaoyuan/nbscala

> Add support for Scala programming language
> --
>
> Key: NETBEANS-6096
> URL: https://issues.apache.org/jira/browse/NETBEANS-6096
> Project: NetBeans
>  Issue Type: New Feature
>Reporter: John Kostaras
>Priority: Major
>
> Apache NetBeans lacks support for Scala programming.
> The Scala plugin dates back to NetBeans. 6.9. It was available in this URL: 
> [http://plugins.netbeans.org/plugin/75542/nbscala] 
> If the source code cannot be found, then a decision needs to be made as 
> whether ANTLR4 or LSP is to be used.
>  *  [Scala ANTLR 
> grammar|https://github.com/antlr/grammars-v4/blob/master/scala/Scala.g4]
>  *  [Scala Textmate 
> bundle|https://github.com/sellmerfud/scala.tmbundle/blob/master/Syntaxes/Scala.tmLanguage]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Updated] (NETBEANS-5219) Update Groovy support to use Groovy 2.5.14

2021-01-06 Thread Sven Reimers (Jira)


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

Sven Reimers updated NETBEANS-5219:
---
Affects Version/s: (was: 11.2)
   12.2

> Update Groovy support to use Groovy 2.5.14
> --
>
> Key: NETBEANS-5219
> URL: https://issues.apache.org/jira/browse/NETBEANS-5219
> Project: NetBeans
>  Issue Type: Improvement
>  Components: groovy - Editor
>Affects Versions: 12.2
>Reporter: Sven Reimers
>Assignee: Sven Reimers
>Priority: Major
> Fix For: 12.3
>
>
> Groovy support should be based on latest stable Groovy release (2.5.14).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Updated] (NETBEANS-5219) Update Groovy support to use Groovy 2.5.14

2021-01-06 Thread Sven Reimers (Jira)


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

Sven Reimers updated NETBEANS-5219:
---
Fix Version/s: (was: 11.3)
   12.3

> Update Groovy support to use Groovy 2.5.14
> --
>
> Key: NETBEANS-5219
> URL: https://issues.apache.org/jira/browse/NETBEANS-5219
> Project: NetBeans
>  Issue Type: Improvement
>  Components: groovy - Editor
>Affects Versions: 11.2
>Reporter: Sven Reimers
>Assignee: Sven Reimers
>Priority: Major
> Fix For: 12.3
>
>
> Groovy support should be based on latest stable Groovy release (2.5.14).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Updated] (NETBEANS-5219) Update Groovy support to use Groovy 2.5.14

2021-01-06 Thread Sven Reimers (Jira)


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

Sven Reimers updated NETBEANS-5219:
---
Description: Groovy support should be based on latest stable Groovy release 
(2.5.14).  (was: Groovy support should be based on latest stable Groovy release 
(2.5.8).)

> Update Groovy support to use Groovy 2.5.14
> --
>
> Key: NETBEANS-5219
> URL: https://issues.apache.org/jira/browse/NETBEANS-5219
> Project: NetBeans
>  Issue Type: Improvement
>  Components: groovy - Editor
>Affects Versions: 11.2
>Reporter: Sven Reimers
>Assignee: Sven Reimers
>Priority: Major
> Fix For: 11.3
>
>
> Groovy support should be based on latest stable Groovy release (2.5.14).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Updated] (NETBEANS-5219) Update Groovy support to use Groovy 2.5.14

2021-01-06 Thread Sven Reimers (Jira)


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

Sven Reimers updated NETBEANS-5219:
---
Summary: Update Groovy support to use Groovy 2.5.14  (was: CLONE - Update 
Groovy support to use Groovy 2.5.14)

> Update Groovy support to use Groovy 2.5.14
> --
>
> Key: NETBEANS-5219
> URL: https://issues.apache.org/jira/browse/NETBEANS-5219
> Project: NetBeans
>  Issue Type: Improvement
>  Components: groovy - Editor
>Affects Versions: 11.2
>Reporter: Sven Reimers
>Assignee: Sven Reimers
>Priority: Major
> Fix For: 11.3
>
>
> Groovy support should be based on latest stable Groovy release (2.5.8).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Updated] (NETBEANS-5219) CLONE - Update Groovy support to use Groovy 2.5.14

2021-01-06 Thread Sven Reimers (Jira)


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

Sven Reimers updated NETBEANS-5219:
---
Summary: CLONE - Update Groovy support to use Groovy 2.5.14  (was: CLONE - 
Update Groovy support to use Groovy 2.5.8)

> CLONE - Update Groovy support to use Groovy 2.5.14
> --
>
> Key: NETBEANS-5219
> URL: https://issues.apache.org/jira/browse/NETBEANS-5219
> Project: NetBeans
>  Issue Type: Improvement
>  Components: groovy - Editor
>Affects Versions: 11.2
>Reporter: Sven Reimers
>Assignee: Sven Reimers
>Priority: Major
> Fix For: 11.3
>
>
> Groovy support should be based on latest stable Groovy release (2.5.8).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Created] (NETBEANS-5219) CLONE - Update Groovy support to use Groovy 2.5.8

2021-01-06 Thread Sven Reimers (Jira)
Sven Reimers created NETBEANS-5219:
--

 Summary: CLONE - Update Groovy support to use Groovy 2.5.8
 Key: NETBEANS-5219
 URL: https://issues.apache.org/jira/browse/NETBEANS-5219
 Project: NetBeans
  Issue Type: Improvement
  Components: groovy - Editor
Affects Versions: 11.2
Reporter: Sven Reimers
Assignee: Sven Reimers
 Fix For: 11.3


Groovy support should be based on latest stable Groovy release (2.5.8).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Created] (NETBEANS-4172) Update Groovy Support to 2.5.11

2020-04-14 Thread Sven Reimers (Jira)
Sven Reimers created NETBEANS-4172:
--

 Summary: Update Groovy Support to 2.5.11
 Key: NETBEANS-4172
 URL: https://issues.apache.org/jira/browse/NETBEANS-4172
 Project: NetBeans
  Issue Type: Improvement
  Components: groovy - Editor
Affects Versions: 11.3
Reporter: Sven Reimers
Assignee: Sven Reimers


Upgrade support libraries to groovy 2.5.11 release



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-3876) Using Groovy in projects is causing java.lang.NoClassDefFoundError

2020-03-22 Thread Sven Reimers (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-3876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17064424#comment-17064424
 ] 

Sven Reimers commented on NETBEANS-3876:


Thanks for your offer... hope the actual PR fixes the problem.. will come back 
to you if I have questions how to get Groovy 3 problems fixed...

> Using Groovy in projects is causing java.lang.NoClassDefFoundError
> --
>
> Key: NETBEANS-3876
> URL: https://issues.apache.org/jira/browse/NETBEANS-3876
> Project: NetBeans
>  Issue Type: Bug
>  Components: groovy - Editor
>Affects Versions: 11.3
> Environment: Windows 10
> openjdk version "14" 2020-03-17
> OpenJDK Runtime Environment AdoptOpenJDK (build 14+34-202002111235)
> OpenJDK 64-Bit Server VM AdoptOpenJDK (build 14+34-202002111235, mixed mode, 
> sharing)
>Reporter: Benjamin Graf
>Assignee: Sven Reimers
>Priority: Major
>  Labels: pull-request-available
> Fix For: 12.0
>
>
> Following Exception is throws in several use cases for projects using groovy 
> files. I can recognize it for following use cases:
> * internal code parsing of editor
> * while "Clean and Build" ant project
> {noformat}
> java.lang.NoClassDefFoundError: Could not initialize class 
> org.codehaus.groovy.vmplugin.v7.Java7
>   at 
> org.codehaus.groovy.vmplugin.VMPluginFactory.(VMPluginFactory.java:43)
>   at org.codehaus.groovy.ast.ClassHelper.makeCached(ClassHelper.java:141)
>   at org.codehaus.groovy.ast.ClassHelper.(ClassHelper.java:77)
>   at org.codehaus.groovy.classgen.Verifier.(Verifier.java:133)
>   at 
> org.codehaus.groovy.control.CompilationUnit.(CompilationUnit.java:170)
>   at 
> org.netbeans.modules.groovy.editor.compiler.CompilationUnit.(CompilationUnit.java:64)
>   at 
> org.netbeans.modules.groovy.editor.api.parser.GroovyParser.parseBuffer(GroovyParser.java:441)
>   at 
> org.netbeans.modules.groovy.editor.api.parser.GroovyParser.parse(GroovyParser.java:137)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callParse(TaskProcessor.java:598)
>   at 
> org.netbeans.modules.parsing.impl.SourceCache.getResult(SourceCache.java:228)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.getParserResult(ResultIterator.java:115)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$2.run(RepositoryUpdater.java:3171)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.indexEmbedding(RepositoryUpdater.java:3143)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doIndex(RepositoryUpdater.java:2862)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.access$800(RepositoryUpdater.java:2154)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2636)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2634)
>   at 
> org.netbeans.modules.parsing.impl.indexing.errors.TaskCache.refreshTransaction(TaskCache.java:540)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.index(RepositoryUpdater.java:2634)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5714)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5622)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$4.run(RepositoryUpdater.java:2127)
>   at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279

[jira] [Updated] (NETBEANS-3876) Using Groovy in projects is causing java.lang.NoClassDefFoundError

2020-03-22 Thread Sven Reimers (Jira)


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

Sven Reimers updated NETBEANS-3876:
---
Fix Version/s: 12.0

> Using Groovy in projects is causing java.lang.NoClassDefFoundError
> --
>
> Key: NETBEANS-3876
> URL: https://issues.apache.org/jira/browse/NETBEANS-3876
> Project: NetBeans
>  Issue Type: Bug
>  Components: groovy - Editor
>Affects Versions: 11.3
> Environment: Windows 10
> openjdk version "14" 2020-03-17
> OpenJDK Runtime Environment AdoptOpenJDK (build 14+34-202002111235)
> OpenJDK 64-Bit Server VM AdoptOpenJDK (build 14+34-202002111235, mixed mode, 
> sharing)
>Reporter: Benjamin Graf
>Assignee: Sven Reimers
>Priority: Major
>  Labels: pull-request-available
> Fix For: 12.0
>
>
> Following Exception is throws in several use cases for projects using groovy 
> files. I can recognize it for following use cases:
> * internal code parsing of editor
> * while "Clean and Build" ant project
> {noformat}
> java.lang.NoClassDefFoundError: Could not initialize class 
> org.codehaus.groovy.vmplugin.v7.Java7
>   at 
> org.codehaus.groovy.vmplugin.VMPluginFactory.(VMPluginFactory.java:43)
>   at org.codehaus.groovy.ast.ClassHelper.makeCached(ClassHelper.java:141)
>   at org.codehaus.groovy.ast.ClassHelper.(ClassHelper.java:77)
>   at org.codehaus.groovy.classgen.Verifier.(Verifier.java:133)
>   at 
> org.codehaus.groovy.control.CompilationUnit.(CompilationUnit.java:170)
>   at 
> org.netbeans.modules.groovy.editor.compiler.CompilationUnit.(CompilationUnit.java:64)
>   at 
> org.netbeans.modules.groovy.editor.api.parser.GroovyParser.parseBuffer(GroovyParser.java:441)
>   at 
> org.netbeans.modules.groovy.editor.api.parser.GroovyParser.parse(GroovyParser.java:137)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callParse(TaskProcessor.java:598)
>   at 
> org.netbeans.modules.parsing.impl.SourceCache.getResult(SourceCache.java:228)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.getParserResult(ResultIterator.java:115)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$2.run(RepositoryUpdater.java:3171)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.indexEmbedding(RepositoryUpdater.java:3143)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doIndex(RepositoryUpdater.java:2862)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.access$800(RepositoryUpdater.java:2154)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2636)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2634)
>   at 
> org.netbeans.modules.parsing.impl.indexing.errors.TaskCache.refreshTransaction(TaskCache.java:540)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.index(RepositoryUpdater.java:2634)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5714)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5622)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$4.run(RepositoryUpdater.java:2127)
>   at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2123)
>   at 
> org.netbeans.modules.parsing.impl.indexing.Rep

[jira] [Updated] (NETBEANS-4051) Groovy support is broken if IDE is running on JDK14

2020-03-22 Thread Sven Reimers (Jira)


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

Sven Reimers updated NETBEANS-4051:
---
Labels: pull-request-available  (was: )

> Groovy support is broken if IDE is running on JDK14
> ---
>
> Key: NETBEANS-4051
> URL: https://issues.apache.org/jira/browse/NETBEANS-4051
> Project: NetBeans
>  Issue Type: Bug
>  Components: groovy - Editor
>Affects Versions: 11.3
>Reporter: Sven Reimers
>Assignee: Sven Reimers
>Priority: Major
>  Labels: pull-request-available
> Fix For: 12.0
>
>
> Due to some issue with Groovy 2.5.9 support for Groovy code editing is broken 
> IDE is running on Java 14. Possible solution is an update to latest Groovy 
> 2.5.x version.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Assigned] (NETBEANS-3876) Using Groovy in projects is causing java.lang.NoClassDefFoundError

2020-03-22 Thread Sven Reimers (Jira)


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

Sven Reimers reassigned NETBEANS-3876:
--

Assignee: Sven Reimers

> Using Groovy in projects is causing java.lang.NoClassDefFoundError
> --
>
> Key: NETBEANS-3876
> URL: https://issues.apache.org/jira/browse/NETBEANS-3876
> Project: NetBeans
>  Issue Type: Bug
>  Components: groovy - Editor
>Affects Versions: 11.3
> Environment: Windows 10
> openjdk version "14" 2020-03-17
> OpenJDK Runtime Environment AdoptOpenJDK (build 14+34-202002111235)
> OpenJDK 64-Bit Server VM AdoptOpenJDK (build 14+34-202002111235, mixed mode, 
> sharing)
>Reporter: Benjamin Graf
>Assignee: Sven Reimers
>Priority: Major
>
> Following Exception is throws in several use cases for projects using groovy 
> files. I can recognize it for following use cases:
> * internal code parsing of editor
> * while "Clean and Build" ant project
> {noformat}
> java.lang.NoClassDefFoundError: Could not initialize class 
> org.codehaus.groovy.vmplugin.v7.Java7
>   at 
> org.codehaus.groovy.vmplugin.VMPluginFactory.(VMPluginFactory.java:43)
>   at org.codehaus.groovy.ast.ClassHelper.makeCached(ClassHelper.java:141)
>   at org.codehaus.groovy.ast.ClassHelper.(ClassHelper.java:77)
>   at org.codehaus.groovy.classgen.Verifier.(Verifier.java:133)
>   at 
> org.codehaus.groovy.control.CompilationUnit.(CompilationUnit.java:170)
>   at 
> org.netbeans.modules.groovy.editor.compiler.CompilationUnit.(CompilationUnit.java:64)
>   at 
> org.netbeans.modules.groovy.editor.api.parser.GroovyParser.parseBuffer(GroovyParser.java:441)
>   at 
> org.netbeans.modules.groovy.editor.api.parser.GroovyParser.parse(GroovyParser.java:137)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callParse(TaskProcessor.java:598)
>   at 
> org.netbeans.modules.parsing.impl.SourceCache.getResult(SourceCache.java:228)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.getParserResult(ResultIterator.java:115)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$2.run(RepositoryUpdater.java:3171)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.indexEmbedding(RepositoryUpdater.java:3143)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doIndex(RepositoryUpdater.java:2862)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.access$800(RepositoryUpdater.java:2154)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2636)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2634)
>   at 
> org.netbeans.modules.parsing.impl.indexing.errors.TaskCache.refreshTransaction(TaskCache.java:540)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.index(RepositoryUpdater.java:2634)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5714)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5622)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$4.run(RepositoryUpdater.java:2127)
>   at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2123)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2104)
>   a

[jira] [Updated] (NETBEANS-3876) Using Groovy in projects is causing java.lang.NoClassDefFoundError

2020-03-22 Thread Sven Reimers (Jira)


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

Sven Reimers updated NETBEANS-3876:
---
Labels: pull-request-available  (was: )

> Using Groovy in projects is causing java.lang.NoClassDefFoundError
> --
>
> Key: NETBEANS-3876
> URL: https://issues.apache.org/jira/browse/NETBEANS-3876
> Project: NetBeans
>  Issue Type: Bug
>  Components: groovy - Editor
>Affects Versions: 11.3
> Environment: Windows 10
> openjdk version "14" 2020-03-17
> OpenJDK Runtime Environment AdoptOpenJDK (build 14+34-202002111235)
> OpenJDK 64-Bit Server VM AdoptOpenJDK (build 14+34-202002111235, mixed mode, 
> sharing)
>Reporter: Benjamin Graf
>Assignee: Sven Reimers
>Priority: Major
>  Labels: pull-request-available
>
> Following Exception is throws in several use cases for projects using groovy 
> files. I can recognize it for following use cases:
> * internal code parsing of editor
> * while "Clean and Build" ant project
> {noformat}
> java.lang.NoClassDefFoundError: Could not initialize class 
> org.codehaus.groovy.vmplugin.v7.Java7
>   at 
> org.codehaus.groovy.vmplugin.VMPluginFactory.(VMPluginFactory.java:43)
>   at org.codehaus.groovy.ast.ClassHelper.makeCached(ClassHelper.java:141)
>   at org.codehaus.groovy.ast.ClassHelper.(ClassHelper.java:77)
>   at org.codehaus.groovy.classgen.Verifier.(Verifier.java:133)
>   at 
> org.codehaus.groovy.control.CompilationUnit.(CompilationUnit.java:170)
>   at 
> org.netbeans.modules.groovy.editor.compiler.CompilationUnit.(CompilationUnit.java:64)
>   at 
> org.netbeans.modules.groovy.editor.api.parser.GroovyParser.parseBuffer(GroovyParser.java:441)
>   at 
> org.netbeans.modules.groovy.editor.api.parser.GroovyParser.parse(GroovyParser.java:137)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callParse(TaskProcessor.java:598)
>   at 
> org.netbeans.modules.parsing.impl.SourceCache.getResult(SourceCache.java:228)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.getParserResult(ResultIterator.java:115)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$2.run(RepositoryUpdater.java:3171)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.indexEmbedding(RepositoryUpdater.java:3143)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doIndex(RepositoryUpdater.java:2862)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.access$800(RepositoryUpdater.java:2154)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2636)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2634)
>   at 
> org.netbeans.modules.parsing.impl.indexing.errors.TaskCache.refreshTransaction(TaskCache.java:540)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.index(RepositoryUpdater.java:2634)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5714)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5622)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$4.run(RepositoryUpdater.java:2127)
>   at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2123)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpd

[jira] [Created] (NETBEANS-4051) Groovy support is broken if IDE is running on JDK14

2020-03-21 Thread Sven Reimers (Jira)
Sven Reimers created NETBEANS-4051:
--

 Summary: Groovy support is broken if IDE is running on JDK14
 Key: NETBEANS-4051
 URL: https://issues.apache.org/jira/browse/NETBEANS-4051
 Project: NetBeans
  Issue Type: Bug
  Components: groovy - Editor
Affects Versions: 11.3
Reporter: Sven Reimers
Assignee: Sven Reimers
 Fix For: 12.0


Due to some issue with Groovy 2.5.9 support for Groovy code editing is broken 
IDE is running on Java 14. Possible solution is an update to latest Groovy 
2.5.x version.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-3876) Using Groovy in projects is causing java.lang.NoClassDefFoundError

2020-02-28 Thread Sven Reimers (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-3876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17048019#comment-17048019
 ] 

Sven Reimers commented on NETBEANS-3876:


Will try to provide a PR to update to either 2.5.10 or even better 3.0.x for 
NetBeans 12..

> Using Groovy in projects is causing java.lang.NoClassDefFoundError
> --
>
> Key: NETBEANS-3876
> URL: https://issues.apache.org/jira/browse/NETBEANS-3876
> Project: NetBeans
>  Issue Type: Bug
>  Components: groovy - Editor
>Affects Versions: 11.3
> Environment: Windows 10
> openjdk version "14" 2020-03-17
> OpenJDK Runtime Environment AdoptOpenJDK (build 14+34-202002111235)
> OpenJDK 64-Bit Server VM AdoptOpenJDK (build 14+34-202002111235, mixed mode, 
> sharing)
>Reporter: Benjamin Graf
>Priority: Major
>
> Following Exception is throws in several use cases for projects using groovy 
> files. I can recognize it for following use cases:
> * internal code parsing of editor
> * while "Clean and Build" ant project
> {noformat}
> java.lang.NoClassDefFoundError: Could not initialize class 
> org.codehaus.groovy.vmplugin.v7.Java7
>   at 
> org.codehaus.groovy.vmplugin.VMPluginFactory.(VMPluginFactory.java:43)
>   at org.codehaus.groovy.ast.ClassHelper.makeCached(ClassHelper.java:141)
>   at org.codehaus.groovy.ast.ClassHelper.(ClassHelper.java:77)
>   at org.codehaus.groovy.classgen.Verifier.(Verifier.java:133)
>   at 
> org.codehaus.groovy.control.CompilationUnit.(CompilationUnit.java:170)
>   at 
> org.netbeans.modules.groovy.editor.compiler.CompilationUnit.(CompilationUnit.java:64)
>   at 
> org.netbeans.modules.groovy.editor.api.parser.GroovyParser.parseBuffer(GroovyParser.java:441)
>   at 
> org.netbeans.modules.groovy.editor.api.parser.GroovyParser.parse(GroovyParser.java:137)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callParse(TaskProcessor.java:598)
>   at 
> org.netbeans.modules.parsing.impl.SourceCache.getResult(SourceCache.java:228)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.getParserResult(ResultIterator.java:115)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$2.run(RepositoryUpdater.java:3171)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.indexEmbedding(RepositoryUpdater.java:3143)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doIndex(RepositoryUpdater.java:2862)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.access$800(RepositoryUpdater.java:2154)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2636)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2634)
>   at 
> org.netbeans.modules.parsing.impl.indexing.errors.TaskCache.refreshTransaction(TaskCache.java:540)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.index(RepositoryUpdater.java:2634)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5714)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5622)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$4.run(RepositoryUpdater.java:2127)
>   at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2123)
>   at 
> org.netbeans.modules.parsing.imp

[jira] [Commented] (NETBEANS-3896) Profiling method calls does not work with JDK newer than 1.8

2020-02-18 Thread Sven Reimers (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-3896?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17039399#comment-17039399
 ] 

Sven Reimers commented on NETBEANS-3896:


Can you provide the corresponding hs_err.pid files?

> Profiling method calls does not work with JDK newer than 1.8
> 
>
> Key: NETBEANS-3896
> URL: https://issues.apache.org/jira/browse/NETBEANS-3896
> Project: NetBeans
>  Issue Type: Bug
>  Components: profiler - Base
>Affects Versions: 11.2, 11.3
>Reporter: matteodg
>Priority: Major
> Fix For: 11.3
>
> Attachments: AdoptOpenJDK-11.0.6.10-hotspot.txt, 
> AdoptOpenJDK-11.0.6.10-openj9-0.18.1.txt, AdoptOpenJDK-13.0.2_8_hotspot.txt, 
> AdoptOpenJDK-13.0.2_8_openj9-0.18.0.txt, OpenJDK-11+28.txt, OpenJDK-13.0.2.txt
>
>
> Profiling methods calls a Java application (and even a Netbeans Platform 
> Application) with a JDK newer than 1.8 does not work.
> I collected different results using:
>  * OpenJDK 11+28
>  * OpenJDK 13.0.2
>  * AdoptOpenJDK 11.0.6_10-hotspot
>  * AdoptOpenJDK 11.0.6_10-openJ9-0.18.1
>  * AdoptOpenJDK 13.0.2_8-hotspot
>  * AdoptOpenJDK 13.0.2_8-openJ9-0.18.0
> and all fail (different error between hotspot-based and openJ9-based). I'm 
> going to attach all outputs from those JDKs.
> I tested with NetBeans 11.2 and 11.3-beta3 as well.
> Profiling with object memory does work instead.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Created] (NETBEANS-3668) Update Groovy support to use Groovy 2.5.8

2020-01-06 Thread Sven Reimers (Jira)
Sven Reimers created NETBEANS-3668:
--

 Summary: Update Groovy support to use Groovy 2.5.8
 Key: NETBEANS-3668
 URL: https://issues.apache.org/jira/browse/NETBEANS-3668
 Project: NetBeans
  Issue Type: Improvement
  Components: groovy - Editor
Affects Versions: 11.2
Reporter: Sven Reimers
Assignee: Sven Reimers
 Fix For: 11.3


Groovy support should be based on latest stable Groovy release (2.5.8).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Assigned] (NETBEANS-1996) Reference to Groovy in Java editor not recognized

2019-01-28 Thread Sven Reimers (JIRA)


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

Sven Reimers reassigned NETBEANS-1996:
--

Assignee: Sven Reimers

> Reference to Groovy in Java editor not recognized 
> --
>
> Key: NETBEANS-1996
> URL: https://issues.apache.org/jira/browse/NETBEANS-1996
> Project: NetBeans
>  Issue Type: Task
>  Components: groovy - Code, groovy - Editor
> Environment: Mac OSX, Apache NetBeans 10, running on JDK 11 and also 
> when running on JDK 8.
>Reporter: Geertjan Wielenga
>Assignee: Sven Reimers
>Priority: Major
>
> In the below tutorial...
> https://netbeans.apache.org/kb/docs/java/groovy-quickstart.html tutorial
> ...the reference to the Groovy class, in the Java source file, is not 
> recognized in the Java Editor, i.e., the below is underlined in red:
> GreetingProvider provider = new GreetingProvider();
> It used to be the case, in a NetBeans past, that that Groovy reference was 
> recognized without a problem, and code completion worked too on the 
> reference. Somehow somewhere something is now broken.



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Comment Edited] (NETBEANS-1359) Profiling the IDE hangs when saving snapshot

2018-10-25 Thread Sven Reimers (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16664043#comment-16664043
 ] 

Sven Reimers edited comment on NETBEANS-1359 at 10/25/18 5:17 PM:
--

http://mail.openjdk.java.net/pipermail/serviceability-dev/2018-October/025729.html

Fix available for JDK12, fix tested is working, waiting for integration into 12 
and backport to 11.


was (Author: sreimers):
http://mail.openjdk.java.net/pipermail/serviceability-dev/2018-October/025729.html

Fix available for JDK11, fix tested is working, waiting for integration into 12 
and backport to 11.

> Profiling the IDE hangs when saving snapshot
> 
>
> Key: NETBEANS-1359
> URL: https://issues.apache.org/jira/browse/NETBEANS-1359
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - JDK Problems
>Affects Versions: 10.0
>Reporter: Glenn Holmer
>Assignee: Glenn Holmer
>Priority: Blocker
>  Labels: netcat
> Attachments: stacktrace.txt
>
>
> 1) Click "Profile the IDE" icon in the Performance toolbar to start profiling 
> the IDE.
> 2) Open some projects, files within them, etc. to create some activity for 
> the profiler.
> 3) Click the icon again (which is now labelled "Stop IDE Profiling and Take a 
> Snapshot").
> This last action should create and open a profiler snapshot, but the "Saving 
> snapshot" progress bar in the status area of NetBeans never goes anywhere and 
> a snapshot is not opened.
>  



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-1359) Profiling the IDE hangs when saving snapshot

2018-10-25 Thread Sven Reimers (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16664043#comment-16664043
 ] 

Sven Reimers commented on NETBEANS-1359:


http://mail.openjdk.java.net/pipermail/serviceability-dev/2018-October/025729.html

Fix available for JDK11, fix tested is working, waiting for integration into 12 
and backport to 11.

> Profiling the IDE hangs when saving snapshot
> 
>
> Key: NETBEANS-1359
> URL: https://issues.apache.org/jira/browse/NETBEANS-1359
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - JDK Problems
>Affects Versions: 10.0
>Reporter: Glenn Holmer
>Assignee: Glenn Holmer
>Priority: Blocker
>  Labels: netcat
> Attachments: stacktrace.txt
>
>
> 1) Click "Profile the IDE" icon in the Performance toolbar to start profiling 
> the IDE.
> 2) Open some projects, files within them, etc. to create some activity for 
> the profiler.
> 3) Click the icon again (which is now labelled "Stop IDE Profiling and Take a 
> Snapshot").
> This last action should create and open a profiler snapshot, but the "Saving 
> snapshot" progress bar in the status area of NetBeans never goes anywhere and 
> a snapshot is not opened.
>  



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-1359) Profiling the IDE hangs when saving snapshot

2018-10-21 Thread Sven Reimers (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16658456#comment-16658456
 ] 

Sven Reimers commented on NETBEANS-1359:


Sent to JDK mailing list, see 
http://mail.openjdk.java.net/pipermail/serviceability-dev/2018-October/025639.html
 for details.

> Profiling the IDE hangs when saving snapshot
> 
>
> Key: NETBEANS-1359
> URL: https://issues.apache.org/jira/browse/NETBEANS-1359
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - JDK Problems
>Affects Versions: 10.0
>Reporter: Glenn Holmer
>Assignee: Glenn Holmer
>Priority: Blocker
>  Labels: netcat
> Attachments: stacktrace.txt
>
>
> 1) Click "Profile the IDE" icon in the Performance toolbar to start profiling 
> the IDE.
> 2) Open some projects, files within them, etc. to create some activity for 
> the profiler.
> 3) Click the icon again (which is now labelled "Stop IDE Profiling and Take a 
> Snapshot").
> This last action should create and open a profiler snapshot, but the "Saving 
> snapshot" progress bar in the status area of NetBeans never goes anywhere and 
> a snapshot is not opened.
>  



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-1359) Profiling the IDE hangs when saving snapshot

2018-10-21 Thread Sven Reimers (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16658454#comment-16658454
 ] 

Sven Reimers commented on NETBEANS-1359:


After applying the proposed fix I get this
{code}
java.lang.reflect.InvocationTargetException
at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at 
org.netbeans.modules.sampler.SamplesOutputStream.toCompositeData(SamplesOutputStream.java:178)
at 
org.netbeans.modules.sampler.SamplesOutputStream.access$400(SamplesOutputStream.java:44)
at 
org.netbeans.modules.sampler.SamplesOutputStream$Sample.writeToStream(SamplesOutputStream.java:285)
at 
org.netbeans.modules.sampler.SamplesOutputStream$Sample.access$300(SamplesOutputStream.java:253)
at 
org.netbeans.modules.sampler.SamplesOutputStream.close(SamplesOutputStream.java:202)
at org.netbeans.modules.sampler.Sampler.stopSampling(Sampler.java:231)
at org.netbeans.modules.sampler.Sampler.stop(Sampler.java:207)
at 
org.netbeans.core.ui.sampler.SelfSamplerAction$1.doInBackground(SelfSamplerAction.java:90)
at java.desktop/javax.swing.SwingWorker$1.call(SwingWorker.java:304)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.desktop/javax.swing.SwingWorker.run(SwingWorker.java:343)
at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:835)
Caused by: java.lang.AssertionError: 
javax.management.openmbean.OpenDataException: Argument value of wrong type for 
item lockInfo: value false, type 
javax.management.openmbean.CompositeType(name=java.lang.management.LockInfo,items=((itemName=className,itemType=javax.management.openmbean.SimpleType(name=java.lang.String)),(itemName=identityHashCode,itemType=javax.management.openmbean.SimpleType(name=java.lang.Integer
at 
java.management/sun.management.ThreadInfoCompositeData.getCompositeData(ThreadInfoCompositeData.java:135)
at 
java.management/sun.management.ThreadInfoCompositeData.toCompositeData(ThreadInfoCompositeData.java:72)
... 18 more
Caused by: javax.management.openmbean.OpenDataException: Argument value of 
wrong type for item lockInfo: value false, type 
javax.management.openmbean.CompositeType(name=java.lang.management.LockInfo,items=((itemName=className,itemType=javax.management.openmbean.SimpleType(name=java.lang.String)),(itemName=identityHashCode,itemType=javax.management.openmbean.SimpleType(name=java.lang.Integer
at 
java.management/javax.management.openmbean.CompositeDataSupport.(CompositeDataSupport.java:235)
at 
java.management/javax.management.openmbean.CompositeDataSupport.(CompositeDataSupport.java:118)
at 
java.management/sun.management.ThreadInfoCompositeData.getCompositeData(ThreadInfoCompositeData.java:130)
... 19 more
{code}
Seems the sequence of values is broken for ThreadInfoCompoositeData also.

> Profiling the IDE hangs when saving snapshot
> 
>
> Key: NETBEANS-1359
> URL: https://issues.apache.org/jira/browse/NETBEANS-1359
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - JDK Problems
>Affects Versions: 10.0
>Reporter: Glenn Holmer
>Assignee: Glenn Holmer
>Priority: Blocker
>  Labels: netcat
> Attachments: stacktrace.txt
>
>
> 1) Click "Profile the IDE" icon in the Performance toolbar to start profiling 
> the IDE.
> 2) Open some projects, files within them, etc. to create some activity for 
> the profiler.
> 3) Click the icon again (which is now labelled "Stop IDE Profiling and Take a 
> Snapshot").
> This last action should create and open a profiler snapshot, but the "Saving 
> snapshot" progress bar in the status area of NetBeans never goes anywhere and 
> a snapshot is not opened.
>  



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-1359) Profiling the IDE hangs when saving snapshot

2018-10-21 Thread Sven Reimers (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16658320#comment-16658320
 ] 

Sven Reimers commented on NETBEANS-1359:


Looks like another problem in JDK code. See 
http://mail.openjdk.java.net/pipermail/serviceability-dev/2018-October/025636.html
 for details.

> Profiling the IDE hangs when saving snapshot
> 
>
> Key: NETBEANS-1359
> URL: https://issues.apache.org/jira/browse/NETBEANS-1359
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - JDK Problems
>Affects Versions: 10.0
>Reporter: Glenn Holmer
>Assignee: Glenn Holmer
>Priority: Blocker
>  Labels: netcat
> Attachments: stacktrace.txt
>
>
> 1) Click "Profile the IDE" icon in the Performance toolbar to start profiling 
> the IDE.
> 2) Open some projects, files within them, etc. to create some activity for 
> the profiler.
> 3) Click the icon again (which is now labelled "Stop IDE Profiling and Take a 
> Snapshot").
> This last action should create and open a profiler snapshot, but the "Saving 
> snapshot" progress bar in the status area of NetBeans never goes anywhere and 
> a snapshot is not opened.
>  



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-1359) Profiling the IDE hangs when saving snapshot

2018-10-21 Thread Sven Reimers (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16658301#comment-16658301
 ] 

Sven Reimers commented on NETBEANS-1359:


Can confirm that the symptom is not gone. But the exception changed. I now see
{code}
java.lang.reflect.InvocationTargetException
at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at 
org.netbeans.modules.sampler.SamplesOutputStream.toCompositeData(SamplesOutputStream.java:178)
at 
org.netbeans.modules.sampler.SamplesOutputStream.access$400(SamplesOutputStream.java:44)
at 
org.netbeans.modules.sampler.SamplesOutputStream$Sample.writeToStream(SamplesOutputStream.java:285)
at 
org.netbeans.modules.sampler.SamplesOutputStream$Sample.access$300(SamplesOutputStream.java:253)
at 
org.netbeans.modules.sampler.SamplesOutputStream.close(SamplesOutputStream.java:202)
at org.netbeans.modules.sampler.Sampler.stopSampling(Sampler.java:231)
at org.netbeans.modules.sampler.Sampler.stop(Sampler.java:207)
at 
org.netbeans.core.ui.sampler.SelfSamplerAction$1.doInBackground(SelfSamplerAction.java:90)
at java.desktop/javax.swing.SwingWorker$1.call(SwingWorker.java:304)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.desktop/javax.swing.SwingWorker.run(SwingWorker.java:343)
at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:835)
Caused by: java.lang.IllegalArgumentException: Argument compositeType cannot be 
null.
at 
java.management/javax.management.openmbean.CompositeDataSupport.(CompositeDataSupport.java:206)
at 
java.management/javax.management.openmbean.CompositeDataSupport.(CompositeDataSupport.java:118)
at 
java.management/sun.management.ThreadInfoCompositeData.getCompositeData(ThreadInfoCompositeData.java:130)
at 
java.management/sun.management.ThreadInfoCompositeData.toCompositeData(ThreadInfoCompositeData.java:72)
... 18 more
{code}
with JDK12-ea+16

> Profiling the IDE hangs when saving snapshot
> 
>
> Key: NETBEANS-1359
> URL: https://issues.apache.org/jira/browse/NETBEANS-1359
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - JDK Problems
>Affects Versions: 10.0
>Reporter: Glenn Holmer
>Assignee: Glenn Holmer
>Priority: Blocker
>  Labels: netcat
> Attachments: stacktrace.txt
>
>
> 1) Click "Profile the IDE" icon in the Performance toolbar to start profiling 
> the IDE.
> 2) Open some projects, files within them, etc. to create some activity for 
> the profiler.
> 3) Click the icon again (which is now labelled "Stop IDE Profiling and Take a 
> Snapshot").
> This last action should create and open a profiler snapshot, but the "Saving 
> snapshot" progress bar in the status area of NetBeans never goes anywhere and 
> a snapshot is not opened.
>  



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Comment Edited] (NETBEANS-1359) Profiling the IDE hangs when saving snapshot

2018-10-20 Thread Sven Reimers (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16657859#comment-16657859
 ] 

Sven Reimers edited comment on NETBEANS-1359 at 10/20/18 1:42 PM:
--

Understood. AFAIK I read the code the toCompositeData is called only for 
writing the collected ThreadInfo to the sample output stream. On the read part 
I see
{code:java}
CompositeData infoData;
ThreadInfo thread;

try {
infoData = (CompositeData) in.readObject();
} catch (ClassNotFoundException ex) {
throw new RuntimeException(ex);
}
thread = ThreadInfo.from(infoData);
{code}
So it seems we are using the structure of the CompositeData as an API here, 
which changed between JDK10 and JDK11 so reading a .npss written from an IDE 
run with 8,9,10 and read by an IDE running on 11+ will definitely fail? Do we 
rely on implementation details all the way down (looking at the IBM mechanics). 
Seems there is more involved here, e.g. definition of new .npss format and some 
more compatibility logic? [~jlahoda] What do you think?


was (Author: sreimers):
Understood. AFAIK I read the code the toCompositeData is called only for 
writing the collected ThreadInfo to the sample output stream. On the read part 
I see
{code:java}
CompositeData infoData;
ThreadInfo thread;

try {
infoData = (CompositeData) in.readObject();
} catch (ClassNotFoundException ex) {
throw new RuntimeException(ex);
}
thread = ThreadInfo.from(infoData);
{code}
So it seems the structure of the CompositeData is an API here, which changed 
between JDK10 and JDK11 so reading a .npss written from an IDE run with 8,9,10 
and read by an IDE running on 11+ will definitely fail? Seems there is more 
involved here, e.g. definition of new .npss format and some more compatibility 
logic? [~jlahoda] What do you think?

> Profiling the IDE hangs when saving snapshot
> 
>
> Key: NETBEANS-1359
> URL: https://issues.apache.org/jira/browse/NETBEANS-1359
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - JDK Problems
>Affects Versions: 10.0
>Reporter: Glenn Holmer
>Assignee: Glenn Holmer
>Priority: Blocker
>  Labels: netcat
> Attachments: stacktrace.txt
>
>
> 1) Click "Profile the IDE" icon in the Performance toolbar to start profiling 
> the IDE.
> 2) Open some projects, files within them, etc. to create some activity for 
> the profiler.
> 3) Click the icon again (which is now labelled "Stop IDE Profiling and Take a 
> Snapshot").
> This last action should create and open a profiler snapshot, but the "Saving 
> snapshot" progress bar in the status area of NetBeans never goes anywhere and 
> a snapshot is not opened.
>  



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-1359) Profiling the IDE hangs when saving snapshot

2018-10-20 Thread Sven Reimers (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16657861#comment-16657861
 ] 

Sven Reimers commented on NETBEANS-1359:


I had a look and there is {code}ThreadInfo.from(CompositeData 
compositeDate){code} but not {code}ThreadInfo.toCompositeData(){code}.

Will ask on jdk mailinglist.

> Profiling the IDE hangs when saving snapshot
> 
>
> Key: NETBEANS-1359
> URL: https://issues.apache.org/jira/browse/NETBEANS-1359
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - JDK Problems
>Affects Versions: 10.0
>Reporter: Glenn Holmer
>Assignee: Glenn Holmer
>Priority: Blocker
>  Labels: netcat
> Attachments: stacktrace.txt
>
>
> 1) Click "Profile the IDE" icon in the Performance toolbar to start profiling 
> the IDE.
> 2) Open some projects, files within them, etc. to create some activity for 
> the profiler.
> 3) Click the icon again (which is now labelled "Stop IDE Profiling and Take a 
> Snapshot").
> This last action should create and open a profiler snapshot, but the "Saving 
> snapshot" progress bar in the status area of NetBeans never goes anywhere and 
> a snapshot is not opened.
>  



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-1359) Profiling the IDE hangs when saving snapshot

2018-10-20 Thread Sven Reimers (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16657859#comment-16657859
 ] 

Sven Reimers commented on NETBEANS-1359:


Understood. AFAIK I read the code the toCompositeData is called only for 
writing the collected ThreadInfo to the sample output stream. On the read part 
I see
{code:java}
CompositeData infoData;
ThreadInfo thread;

try {
infoData = (CompositeData) in.readObject();
} catch (ClassNotFoundException ex) {
throw new RuntimeException(ex);
}
thread = ThreadInfo.from(infoData);
{code}
So it seems the structure of the CompositeData is an API here, which changed 
between JDK10 and JDK11 so reading a .npss written from an IDE run with 8,9,10 
and read by an IDE running on 11+ will definitely fail? Seems there is more 
involved here, e.g. definition of new .npss format and some more compatibility 
logic? [~jlahoda] What do you think?

> Profiling the IDE hangs when saving snapshot
> 
>
> Key: NETBEANS-1359
> URL: https://issues.apache.org/jira/browse/NETBEANS-1359
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - JDK Problems
>Affects Versions: 10.0
>Reporter: Glenn Holmer
>Assignee: Glenn Holmer
>Priority: Blocker
>  Labels: netcat
> Attachments: stacktrace.txt
>
>
> 1) Click "Profile the IDE" icon in the Performance toolbar to start profiling 
> the IDE.
> 2) Open some projects, files within them, etc. to create some activity for 
> the profiler.
> 3) Click the icon again (which is now labelled "Stop IDE Profiling and Take a 
> Snapshot").
> This last action should create and open a profiler snapshot, but the "Saving 
> snapshot" progress bar in the status area of NetBeans never goes anywhere and 
> a snapshot is not opened.
>  



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Updated] (NETBEANS-1478) Try to us javax.management API stead of sun.management.ThreadInfoCompositeData packages in self sampling

2018-10-20 Thread Sven Reimers (JIRA)


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

Sven Reimers updated NETBEANS-1478:
---
Summary: Try to us  javax.management API stead of 
sun.management.ThreadInfoCompositeData packages in self sampling  (was: Try to 
us  javax.management API stead of sun.* packages in self sampling)

> Try to us  javax.management API stead of 
> sun.management.ThreadInfoCompositeData packages in self sampling
> -
>
> Key: NETBEANS-1478
> URL: https://issues.apache.org/jira/browse/NETBEANS-1478
> Project: NetBeans
>  Issue Type: Improvement
>  Components: platform - Other
>Affects Versions: 10.0
>Reporter: Sven Reimers
>Assignee: Sven Reimers
>Priority: Major
>
> As pointed out in NETBEANS-1359 self sampling should try to not use internal 
> sun.management but instead official java.management API.
> {code:java}
> private static final String[][] methods = new String[][]{
>   {"sun.management.ThreadInfoCompositeData", "toCompositeData"}, // NOI18N 
> Sun JVM
>   {"com.ibm.lang.management.ManagementUtils", "toThreadInfoCompositeData"} // 
> NOI18N IBM J9
> };{code}



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Updated] (NETBEANS-1478) Try to us javax.management API stead of sun.* packages in self sampling

2018-10-20 Thread Sven Reimers (JIRA)


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

Sven Reimers updated NETBEANS-1478:
---
Description: 
As pointed out in NETBEANS-1359 self sampling should try to not use internal 
sun.management but instead official java.management API.
{code:java}
private static final String[][] methods = new String[][]{
  {"sun.management.ThreadInfoCompositeData", "toCompositeData"}, // NOI18N Sun 
JVM
  {"com.ibm.lang.management.ManagementUtils", "toThreadInfoCompositeData"} // 
NOI18N IBM J9
};{code}

  was:AS pointed out in NETBEANS-1359 


> Try to us  javax.management API stead of sun.* packages in self sampling
> 
>
> Key: NETBEANS-1478
> URL: https://issues.apache.org/jira/browse/NETBEANS-1478
> Project: NetBeans
>  Issue Type: Improvement
>  Components: platform - Other
>Affects Versions: 10.0
>Reporter: Sven Reimers
>Assignee: Sven Reimers
>Priority: Major
>
> As pointed out in NETBEANS-1359 self sampling should try to not use internal 
> sun.management but instead official java.management API.
> {code:java}
> private static final String[][] methods = new String[][]{
>   {"sun.management.ThreadInfoCompositeData", "toCompositeData"}, // NOI18N 
> Sun JVM
>   {"com.ibm.lang.management.ManagementUtils", "toThreadInfoCompositeData"} // 
> NOI18N IBM J9
> };{code}



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Updated] (NETBEANS-1478) Try to us javax.management API stead of sun.* packages in self sampling

2018-10-20 Thread Sven Reimers (JIRA)


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

Sven Reimers updated NETBEANS-1478:
---
Description: AS pointed out in NETBEANS-1359 

> Try to us  javax.management API stead of sun.* packages in self sampling
> 
>
> Key: NETBEANS-1478
> URL: https://issues.apache.org/jira/browse/NETBEANS-1478
> Project: NetBeans
>  Issue Type: Improvement
>  Components: platform - Other
>Affects Versions: 10.0
>Reporter: Sven Reimers
>Assignee: Sven Reimers
>Priority: Major
>
> AS pointed out in NETBEANS-1359 



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Updated] (NETBEANS-1478) Try to us javax.management API stead of sun.* packages in self sampling

2018-10-20 Thread Sven Reimers (JIRA)


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

Sven Reimers updated NETBEANS-1478:
---
Component/s: platform - Other

> Try to us  javax.management API stead of sun.* packages in self sampling
> 
>
> Key: NETBEANS-1478
> URL: https://issues.apache.org/jira/browse/NETBEANS-1478
> Project: NetBeans
>  Issue Type: Improvement
>  Components: platform - Other
>Affects Versions: 10.0
>Reporter: Sven Reimers
>Priority: Major
>




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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Assigned] (NETBEANS-1478) Try to us javax.management API stead of sun.* packages in self sampling

2018-10-20 Thread Sven Reimers (JIRA)


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

Sven Reimers reassigned NETBEANS-1478:
--

Assignee: Sven Reimers

> Try to us  javax.management API stead of sun.* packages in self sampling
> 
>
> Key: NETBEANS-1478
> URL: https://issues.apache.org/jira/browse/NETBEANS-1478
> Project: NetBeans
>  Issue Type: Improvement
>  Components: platform - Other
>Affects Versions: 10.0
>Reporter: Sven Reimers
>Assignee: Sven Reimers
>Priority: Major
>




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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Updated] (NETBEANS-1478) Try to us javax.management API stead of sun.* packages in self sampling

2018-10-20 Thread Sven Reimers (JIRA)


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

Sven Reimers updated NETBEANS-1478:
---
Affects Version/s: 10.0

> Try to us  javax.management API stead of sun.* packages in self sampling
> 
>
> Key: NETBEANS-1478
> URL: https://issues.apache.org/jira/browse/NETBEANS-1478
> Project: NetBeans
>  Issue Type: Improvement
>Affects Versions: 10.0
>Reporter: Sven Reimers
>Priority: Major
>




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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Updated] (NETBEANS-1478) Try to us javax.management API stead of sun.* packages in self sampling

2018-10-20 Thread Sven Reimers (JIRA)


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

Sven Reimers updated NETBEANS-1478:
---
Summary: Try to us  javax.management API stead of sun.* packages in self 
sampling  (was: Do use )

> Try to us  javax.management API stead of sun.* packages in self sampling
> 
>
> Key: NETBEANS-1478
> URL: https://issues.apache.org/jira/browse/NETBEANS-1478
> Project: NetBeans
>  Issue Type: Improvement
>Reporter: Sven Reimers
>Priority: Major
>




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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Created] (NETBEANS-1478) Do use

2018-10-20 Thread Sven Reimers (JIRA)
Sven Reimers created NETBEANS-1478:
--

 Summary: Do use 
 Key: NETBEANS-1478
 URL: https://issues.apache.org/jira/browse/NETBEANS-1478
 Project: NetBeans
  Issue Type: Improvement
Reporter: Sven Reimers






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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Comment Edited] (NETBEANS-1359) Profiling the IDE hangs when saving snapshot

2018-10-20 Thread Sven Reimers (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16657841#comment-16657841
 ] 

Sven Reimers edited comment on NETBEANS-1359 at 10/20/18 12:23 PM:
---

Fixed is in JDK12-ea b16 and fixed in for upcoming 11.0.2 (back port of fix 
handled in  [JDK-8212674|https://bugs.openjdk.java.net/browse/JDK-8212674].)

Anyone willing to try the fix?


was (Author: sreimers):
Fixed is in JDK12-ea b16 and fixed in for upcoming 11.0.2 (sse)  
[JDK-8212674|https://bugs.openjdk.java.net/browse/JDK-8212674].

Anyone willing to try the fix?

> Profiling the IDE hangs when saving snapshot
> 
>
> Key: NETBEANS-1359
> URL: https://issues.apache.org/jira/browse/NETBEANS-1359
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - JDK Problems
>Affects Versions: 10.0
>Reporter: Glenn Holmer
>Assignee: Glenn Holmer
>Priority: Blocker
>  Labels: netcat
> Attachments: stacktrace.txt
>
>
> 1) Click "Profile the IDE" icon in the Performance toolbar to start profiling 
> the IDE.
> 2) Open some projects, files within them, etc. to create some activity for 
> the profiler.
> 3) Click the icon again (which is now labelled "Stop IDE Profiling and Take a 
> Snapshot").
> This last action should create and open a profiler snapshot, but the "Saving 
> snapshot" progress bar in the status area of NetBeans never goes anywhere and 
> a snapshot is not opened.
>  



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-1359) Profiling the IDE hangs when saving snapshot

2018-10-20 Thread Sven Reimers (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16657841#comment-16657841
 ] 

Sven Reimers commented on NETBEANS-1359:


Fixed is in JDK12-ea b16 and fixed in for upcoming 11.0.2 
[JDK-8212674|https://bugs.openjdk.java.net/browse/JDK-8212674].

Anyone willing to try the fix?

> Profiling the IDE hangs when saving snapshot
> 
>
> Key: NETBEANS-1359
> URL: https://issues.apache.org/jira/browse/NETBEANS-1359
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - JDK Problems
>Affects Versions: 10.0
>Reporter: Glenn Holmer
>Assignee: Glenn Holmer
>Priority: Blocker
>  Labels: netcat
> Attachments: stacktrace.txt
>
>
> 1) Click "Profile the IDE" icon in the Performance toolbar to start profiling 
> the IDE.
> 2) Open some projects, files within them, etc. to create some activity for 
> the profiler.
> 3) Click the icon again (which is now labelled "Stop IDE Profiling and Take a 
> Snapshot").
> This last action should create and open a profiler snapshot, but the "Saving 
> snapshot" progress bar in the status area of NetBeans never goes anywhere and 
> a snapshot is not opened.
>  



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Comment Edited] (NETBEANS-1359) Profiling the IDE hangs when saving snapshot

2018-10-20 Thread Sven Reimers (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16657841#comment-16657841
 ] 

Sven Reimers edited comment on NETBEANS-1359 at 10/20/18 12:22 PM:
---

Fixed is in JDK12-ea b16 and fixed in for upcoming 11.0.2 (sse)  
[JDK-8212674|https://bugs.openjdk.java.net/browse/JDK-8212674].

Anyone willing to try the fix?


was (Author: sreimers):
Fixed is in JDK12-ea b16 and fixed in for upcoming 11.0.2 
[JDK-8212674|https://bugs.openjdk.java.net/browse/JDK-8212674].

Anyone willing to try the fix?

> Profiling the IDE hangs when saving snapshot
> 
>
> Key: NETBEANS-1359
> URL: https://issues.apache.org/jira/browse/NETBEANS-1359
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - JDK Problems
>Affects Versions: 10.0
>Reporter: Glenn Holmer
>Assignee: Glenn Holmer
>Priority: Blocker
>  Labels: netcat
> Attachments: stacktrace.txt
>
>
> 1) Click "Profile the IDE" icon in the Performance toolbar to start profiling 
> the IDE.
> 2) Open some projects, files within them, etc. to create some activity for 
> the profiler.
> 3) Click the icon again (which is now labelled "Stop IDE Profiling and Take a 
> Snapshot").
> This last action should create and open a profiler snapshot, but the "Saving 
> snapshot" progress bar in the status area of NetBeans never goes anywhere and 
> a snapshot is not opened.
>  



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-1359) Profiling the IDE hangs when saving snapshot

2018-10-15 Thread Sven Reimers (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16650634#comment-16650634
 ] 

Sven Reimers commented on NETBEANS-1359:


Confirmed JDK bug [https://bugs.openjdk.java.net/browse/JDK-8212197].

> Profiling the IDE hangs when saving snapshot
> 
>
> Key: NETBEANS-1359
> URL: https://issues.apache.org/jira/browse/NETBEANS-1359
> Project: NetBeans
>  Issue Type: Bug
>  Components: profiler - IDE
>Affects Versions: 10.0
>Reporter: Glenn Holmer
>Assignee: Glenn Holmer
>Priority: Major
> Attachments: stacktrace.txt
>
>
> 1) Click "Profile the IDE" icon in the Performance toolbar to start profiling 
> the IDE.
> 2) Open some projects, files within them, etc. to create some activity for 
> the profiler.
> 3) Click the icon again (which is now labelled "Stop IDE Profiling and Take a 
> Snapshot").
> This last action should create and open a profiler snapshot, but the "Saving 
> snapshot" progress bar in the status area of NetBeans never goes anywhere and 
> a snapshot is not opened.
>  



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-1359) Profiling the IDE hangs when saving snapshot

2018-10-14 Thread Sven Reimers (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16649511#comment-16649511
 ] 

Sven Reimers commented on NETBEANS-1359:


Asked on jdk-dev for clarification 
http://mail.openjdk.java.net/pipermail/jdk-dev/2018-October/002107.html

> Profiling the IDE hangs when saving snapshot
> 
>
> Key: NETBEANS-1359
> URL: https://issues.apache.org/jira/browse/NETBEANS-1359
> Project: NetBeans
>  Issue Type: Bug
>  Components: profiler - IDE
>Affects Versions: 10.0
>Reporter: Glenn Holmer
>Assignee: Glenn Holmer
>Priority: Major
> Attachments: stacktrace.txt
>
>
> 1) Click "Profile the IDE" icon in the Performance toolbar to start profiling 
> the IDE.
> 2) Open some projects, files within them, etc. to create some activity for 
> the profiler.
> 3) Click the icon again (which is now labelled "Stop IDE Profiling and Take a 
> Snapshot").
> This last action should create and open a profiler snapshot, but the "Saving 
> snapshot" progress bar in the status area of NetBeans never goes anywhere and 
> a snapshot is not opened.
>  



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-1359) Profiling the IDE hangs when saving snapshot

2018-10-14 Thread Sven Reimers (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16649443#comment-16649443
 ] 

Sven Reimers commented on NETBEANS-1359:


Here is some first analysis. 

there was a big change in StackTraceElementCompositeData. The exception we are 
seeing (and what I saw in my debugging session) indicates that the sequences, 
which shall be synchronized are indeed broken in JDK 11 (onwards?)

{code}

// CONTENTS OF THIS ARRAY MUST BE SYNCHRONIZED WITH
 // STACK_TRACE_ELEMENT_ATTRIBUTES!

final Object[] stackTraceElementItemValues = {
 ste.getClassLoaderName(),
 ste.getModuleName(),
 ste.getModuleVersion(),
 ste.getClassName(),
 ste.getMethodName(),
 ste.getFileName(),
 ste.getLineNumber(),
 ste.isNativeMethod(),
 };

...

 

private static final String[] V5_ATTRIBUTES = {
 CLASS_NAME,
 METHOD_NAME,
 FILE_NAME,
 LINE_NUMBER,
 NATIVE_METHOD,
 };

private static final String[] V9_ATTRIBUTES = {
 CLASS_LOADER_NAME,
 MODULE_NAME,
 MODULE_VERSION,
 };

private static final String[] STACK_TRACE_ELEMENT_ATTRIBUTES =
 Stream.of(V5_ATTRIBUTES, V9_ATTRIBUTES).flatMap(Arrays::stream)
 .toArray(String[]::new);

{code}

 

As far as I can see the synchronization is broken -> 
{code:java}
Stream.of(V5_ATTRIBUTES, V9_ATTRIBUTES){code}
should be
{code:java}
Stream.of(V9_ATTRIBUTES,V5_ATTRIBUTES){code}
to make the sequence correct.

Digging further...

> Profiling the IDE hangs when saving snapshot
> 
>
> Key: NETBEANS-1359
> URL: https://issues.apache.org/jira/browse/NETBEANS-1359
> Project: NetBeans
>  Issue Type: Bug
>  Components: profiler - IDE
>Affects Versions: 10.0
>Reporter: Glenn Holmer
>Assignee: Glenn Holmer
>Priority: Major
> Attachments: stacktrace.txt
>
>
> 1) Click "Profile the IDE" icon in the Performance toolbar to start profiling 
> the IDE.
> 2) Open some projects, files within them, etc. to create some activity for 
> the profiler.
> 3) Click the icon again (which is now labelled "Stop IDE Profiling and Take a 
> Snapshot").
> This last action should create and open a profiler snapshot, but the "Saving 
> snapshot" progress bar in the status area of NetBeans never goes anywhere and 
> a snapshot is not opened.
>  



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Created] (NETBEANS-1295) Enable Groovy cluster in default cluster configuration

2018-09-24 Thread Sven Reimers (JIRA)
Sven Reimers created NETBEANS-1295:
--

 Summary: Enable Groovy cluster in default cluster configuration
 Key: NETBEANS-1295
 URL: https://issues.apache.org/jira/browse/NETBEANS-1295
 Project: NetBeans
  Issue Type: Improvement
Reporter: Sven Reimers
Assignee: Sven Reimers


Groovy cluster shall be enabled as part of default cluster config



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Created] (NETBEANS-1294) Fix code completion tests for Groovy

2018-09-24 Thread Sven Reimers (JIRA)
Sven Reimers created NETBEANS-1294:
--

 Summary: Fix code completion tests for Groovy
 Key: NETBEANS-1294
 URL: https://issues.apache.org/jira/browse/NETBEANS-1294
 Project: NetBeans
  Issue Type: Improvement
  Components: groovy - Editor
Reporter: Sven Reimers
Assignee: Sven Reimers


Due to upgrading and other fixes Groovy code completion tests are out of sync
 * filter unnecessary packages (e.g. apple is only visible on OS X)
 * upgrade golden files



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Created] (NETBEANS-1293) Enhance Groovy code completion

2018-09-24 Thread Sven Reimers (JIRA)
Sven Reimers created NETBEANS-1293:
--

 Summary: Enhance Groovy code completion
 Key: NETBEANS-1293
 URL: https://issues.apache.org/jira/browse/NETBEANS-1293
 Project: NetBeans
  Issue Type: Improvement
  Components: groovy - Editor
Reporter: Sven Reimers
Assignee: Sven Reimers


* Initial stab at flow typing
 * Better support for property completion (using meta class)
 * Robustness
 * Logic fixes



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Created] (NETBEANS-1292) Add basic infrastructure and example hint

2018-09-24 Thread Sven Reimers (JIRA)
Sven Reimers created NETBEANS-1292:
--

 Summary: Add basic infrastructure and example hint
 Key: NETBEANS-1292
 URL: https://issues.apache.org/jira/browse/NETBEANS-1292
 Project: NetBeans
  Issue Type: Improvement
  Components: groovy - Editor
Reporter: Sven Reimers
Assignee: Sven Reimers


Goal is to provide a basic starting point how to add rules based on the AST, 
which can be configured using the configuration for hints.

An example hint should be removed unused import.



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Updated] (NETBEANS-1228) Upgrade Groovy support to use groovy 2.5.2

2018-09-24 Thread Sven Reimers (JIRA)


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

Sven Reimers updated NETBEANS-1228:
---
Labels: pull-request-available  (was: )

> Upgrade Groovy support to use groovy 2.5.2
> --
>
> Key: NETBEANS-1228
> URL: https://issues.apache.org/jira/browse/NETBEANS-1228
> Project: NetBeans
>  Issue Type: Improvement
>  Components: groovy - Code
>Affects Versions: 9.0
>Reporter: Sven Reimers
>Assignee: Sven Reimers
>Priority: Major
>  Labels: pull-request-available
>
> Upgrade Groovy support to use latest stable Groovy 2.5.2. Modules needed from 
> Apache Groovy:
>  * groovy
>  * groovy-ant



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-1228) Upgrade Groovy support to use groovy 2.5.2

2018-09-24 Thread Sven Reimers (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16625676#comment-16625676
 ] 

Sven Reimers commented on NETBEANS-1228:


PR is available

https://github.com/apache/incubator-netbeans/pull/898

> Upgrade Groovy support to use groovy 2.5.2
> --
>
> Key: NETBEANS-1228
> URL: https://issues.apache.org/jira/browse/NETBEANS-1228
> Project: NetBeans
>  Issue Type: Improvement
>  Components: groovy - Code
>Affects Versions: 9.0
>Reporter: Sven Reimers
>Assignee: Sven Reimers
>Priority: Major
>
> Upgrade Groovy support to use latest stable Groovy 2.5.2. Modules needed from 
> Apache Groovy:
>  * groovy
>  * groovy-ant



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Issue Comment Deleted] (NETBEANS-1288) Support for Groovy Traits

2018-09-24 Thread Sven Reimers (JIRA)


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

Sven Reimers updated NETBEANS-1288:
---
Comment: was deleted

(was: PR available: https://github.com/apache/incubator-netbeans/pull/898)

> Support for Groovy Traits
> -
>
> Key: NETBEANS-1288
> URL: https://issues.apache.org/jira/browse/NETBEANS-1288
> Project: NetBeans
>  Issue Type: Improvement
>  Components: groovy - Editor
>Reporter: Sven Reimers
>Assignee: Sven Reimers
>Priority: Major
>




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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-1288) Support for Groovy Traits

2018-09-24 Thread Sven Reimers (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16625664#comment-16625664
 ] 

Sven Reimers commented on NETBEANS-1288:


PR available: https://github.com/apache/incubator-netbeans/pull/898

> Support for Groovy Traits
> -
>
> Key: NETBEANS-1288
> URL: https://issues.apache.org/jira/browse/NETBEANS-1288
> Project: NetBeans
>  Issue Type: Improvement
>  Components: groovy - Editor
>Reporter: Sven Reimers
>Assignee: Sven Reimers
>Priority: Major
>




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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Created] (NETBEANS-1288) Support for Groovy Traits

2018-09-23 Thread Sven Reimers (JIRA)
Sven Reimers created NETBEANS-1288:
--

 Summary: Support for Groovy Traits
 Key: NETBEANS-1288
 URL: https://issues.apache.org/jira/browse/NETBEANS-1288
 Project: NetBeans
  Issue Type: Improvement
  Components: groovy - Editor
Reporter: Sven Reimers
Assignee: Sven Reimers






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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Created] (NETBEANS-1228) Upgrade Groovy support to use groovy 2.5.2

2018-09-07 Thread Sven Reimers (JIRA)
Sven Reimers created NETBEANS-1228:
--

 Summary: Upgrade Groovy support to use groovy 2.5.2
 Key: NETBEANS-1228
 URL: https://issues.apache.org/jira/browse/NETBEANS-1228
 Project: NetBeans
  Issue Type: Improvement
  Components: groovy - Code
Affects Versions: 9.0
Reporter: Sven Reimers
Assignee: Sven Reimers


Upgrade Groovy support to use latest stable Groovy 2.5.2. Modules needed from 
Apache Groovy:
 * groovy
 * groovy-ant



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Created] (NETBEANS-1126) Support Spock as a test framework

2018-08-09 Thread Sven Reimers (JIRA)
Sven Reimers created NETBEANS-1126:
--

 Summary: Support Spock as a test framework
 Key: NETBEANS-1126
 URL: https://issues.apache.org/jira/browse/NETBEANS-1126
 Project: NetBeans
  Issue Type: Improvement
  Components: groovy - Code
Reporter: Sven Reimers


Create a plugin fully supporting Spock 
([https://github.com/spockframework/spock)] as test framework within NetBeans.



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-775) Netbeans ignores git hooks

2018-07-03 Thread Sven Reimers (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16531897#comment-16531897
 ] 

Sven Reimers commented on NETBEANS-775:
---

Looks we need to be a bit patient - work is going on in  
https://bugs.eclipse.org/bugs/show_bug.cgi?id=299315

> Netbeans ignores git hooks
> --
>
> Key: NETBEANS-775
> URL: https://issues.apache.org/jira/browse/NETBEANS-775
> Project: NetBeans
>  Issue Type: Improvement
>  Components: versioncontrol - Git
>Affects Versions: 8.2
>Reporter: Jonathan Nessier
>Priority: Minor
>  Labels: features
>
> Git hooks are a main part of the git client but Netbeans ignores them.
> More about this missing feature can be found here:
>  * [https://netbeans.org/bugzilla/show_bug.cgi?id=211451]
>  * [https://netbeans.org/bugzilla/show_bug.cgi?id=268448]
>  * [https://netbeans.org/bugzilla/show_bug.cgi?id=258012]
> For me it is a critical missing feature. And it seems to be missed from other 
> folks too.



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-956) Position / Color of SplashScreen ProgressBar/Text is broken with new branding

2018-06-25 Thread Sven Reimers (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16522807#comment-16522807
 ] 

Sven Reimers commented on NETBEANS-956:
---

PR for master https://github.com/apache/incubator-netbeans/pull/602

> Position / Color of SplashScreen ProgressBar/Text is broken with new branding
> -
>
> Key: NETBEANS-956
> URL: https://issues.apache.org/jira/browse/NETBEANS-956
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - UI
>Affects Versions: 9.0
>Reporter: Sven Reimers
>Assignee: Sven Reimers
>Priority: Major
>  Labels: branding, pull-request-available
> Attachments: NewProgressBarAndTextBranding.png, 
> fix-progress-bar-and-text.diff
>
>  Time Spent: 50m
>  Remaining Estimate: 0h
>
> With change of the splash screen the other bits and pieces do not fit that 
> well anymore.
> Attached is a diff and a screenshot of a probable solution.



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-956) Position / Color of SplashScreen ProgressBar/Text is broken with new branding

2018-06-21 Thread Sven Reimers (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16519730#comment-16519730
 ] 

Sven Reimers commented on NETBEANS-956:
---

Ok. Will do..

> Position / Color of SplashScreen ProgressBar/Text is broken with new branding
> -
>
> Key: NETBEANS-956
> URL: https://issues.apache.org/jira/browse/NETBEANS-956
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - UI
>Affects Versions: 9.0
>Reporter: Sven Reimers
>Assignee: Sven Reimers
>Priority: Major
>  Labels: branding, pull-request-available
> Attachments: NewProgressBarAndTextBranding.png, 
> fix-progress-bar-and-text.diff
>
>  Time Spent: 50m
>  Remaining Estimate: 0h
>
> With change of the splash screen the other bits and pieces do not fit that 
> well anymore.
> Attached is a diff and a screenshot of a probable solution.



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-963) java.lang.AssertionError: Debugger lock taken in AWT Event Queue!

2018-06-17 Thread Sven Reimers (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16515163#comment-16515163
 ] 

Sven Reimers commented on NETBEANS-963:
---

Tried to reproduce, but all was ok.

Looked at the code and it seems that there is a fallback path where the thread 
the method is called is used for acquiring the lock - not the current debugger 
thread).

Not sure why this happens in your case.

Since the release will not have assertions enabled - this is probably not a 
blocker.

> java.lang.AssertionError: Debugger lock taken in AWT Event Queue!
> -
>
> Key: NETBEANS-963
> URL: https://issues.apache.org/jira/browse/NETBEANS-963
> Project: NetBeans
>  Issue Type: Bug
>  Components: debugger - Java
>Affects Versions: 9.0
> Environment: Linux; Release Build 316
>Reporter: Peter Nabbefeld
>Priority: Blocker
>
> When I've selected the "String Value" column in Variables view of the Java 
> debugger, the following exception is thrown even if I just move the cursor 
> over the string value.
> This does only happen for object values; primitive values do not seem to be 
> affected.
> Probably it's related to tooltips, as those are shown for primitive values, 
> while object values throw an exception.
> As this makes it impossible to show and review large strings and thus makes 
> debugging harder, I've set the status to "Blocker".
>  
> java.lang.AssertionError: Debugger lock taken in AWT Event Queue!
>     at 
> org.netbeans.modules.debugger.jpda.JPDADebuggerImpl$DebuggerReentrantReadWriteLock$DebuggerReadLock.lock(JPDADebuggerImpl.java:2675)
>     at 
> org.netbeans.modules.debugger.jpda.models.JPDAThreadImpl$ThreadReentrantReadWriteLock$ThreadWriteLock.lock(JPDAThreadImpl.java:2555)
>     at 
> org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.invokeMethod(JPDADebuggerImpl.java:1066)
>     at 
> org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.invokeMethod(JPDADebuggerImpl.java:1008)
>     at 
> org.netbeans.modules.debugger.jpda.models.AbstractObjectVariable.getToStringValue(AbstractObjectVariable.java:496)
>     at 
> org.netbeans.modules.debugger.jpda.models.AbstractObjectVariable.getToStringValue(AbstractObjectVariable.java:460)
>     at 
> org.netbeans.modules.debugger.jpda.models.AbstractObjectVariable.getToStringValue(AbstractObjectVariable.java:424)
>     at 
> org.netbeans.modules.debugger.jpda.ui.models.VariablesTableModel.getValueAt(VariablesTableModel.java:108)
>     at 
> org.netbeans.spi.viewmodel.Models$DelegatingTableModel.getValueAt(Models.java:2249)
>     at 
> org.netbeans.modules.debugger.jpda.ui.models.NumericDisplayFilter.getValueAt(NumericDisplayFilter.java:112)
>     at 
> org.netbeans.spi.viewmodel.Models$CompoundTableModel.getValueAt(Models.java:1439)
>     at 
> org.netbeans.modules.debugger.jpda.ui.models.VariablesTreeModelFilter.getValueAt(VariablesTreeModelFilter.java:530)
>     at 
> org.netbeans.spi.viewmodel.Models$CompoundTableModel.getValueAt(Models.java:1439)
>     at 
> org.netbeans.modules.debugger.jpda.ui.models.PendingActionsFilter.getValueAt(PendingActionsFilter.java:108)
>     at 
> org.netbeans.spi.viewmodel.Models$CompoundTableModel.getValueAt(Models.java:1439)
>     at 
> org.netbeans.spi.viewmodel.Models$CompoundTableModel.getValueAt(Models.java:1441)
>     at 
> org.netbeans.spi.viewmodel.Models$CompoundTableModel.getValueAt(Models.java:1441)
>     at 
> org.netbeans.spi.viewmodel.Models$CompoundModel.getValueAt(Models.java:4566)
>     at 
> org.netbeans.modules.viewmodel.TreeModelNode$MyProperty.updateShortDescription(TreeModelNode.java:2102)
>     at 
> org.netbeans.modules.viewmodel.TreeModelNode$MyProperty.getShortDescription(TreeModelNode.java:2084)
>     at 
> org.openide.explorer.view.SheetCell.getTableCellRendererComponent(SheetCell.java:276)
>     at 
> org.openide.explorer.view.SheetCell$OutlineSheetCell.getTableCellRendererComponent(SheetCell.java:737)
>     at 
> org.netbeans.modules.viewmodel.DelegatingCellRenderer.getTableCellRendererComponent(DelegatingCellRenderer.java:66)
>     at java.desktop/javax.swing.JTable.prepareRenderer(JTable.java:5758)
>     at org.netbeans.swing.outline.Outline.getToolTipText(Outline.java:393)
>     at 
> java.desktop/javax.swing.ToolTipManager$insideTimerAction.actionPerformed(ToolTipManager.java:675)
>     at java.desktop/javax.swing.Timer.fireActionPerformed(Timer.java:317)
>     at java.desktop/javax.swing.Timer$DoPostEvent.run(Timer.java:249)
>     at 
> java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
>     at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:764)
>     at java.desktop/java.awt.EventQueue.access$500(EventQueue.java:97)
>     at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:71

[jira] [Commented] (NETBEANS-956) Position / Color of SplashScreen ProgressBar/Text is broken with new branding

2018-06-13 Thread Sven Reimers (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16511626#comment-16511626
 ] 

Sven Reimers commented on NETBEANS-956:
---

PR available for release90 branch - 
https://github.com/apache/incubator-netbeans/pull/589

> Position / Color of SplashScreen ProgressBar/Text is broken with new branding
> -
>
> Key: NETBEANS-956
> URL: https://issues.apache.org/jira/browse/NETBEANS-956
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - UI
>Affects Versions: 9.0
>Reporter: Sven Reimers
>Assignee: Sven Reimers
>Priority: Major
>  Labels: branding
> Attachments: NewProgressBarAndTextBranding.png, 
> fix-progress-bar-and-text.diff
>
>
> With change of the splash screen the other bits and pieces do not fit that 
> well anymore.
> Attached is a diff and a screenshot of a probable solution.



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-956) Position / Color of SplashScreen ProgressBar/Text is broken with new branding

2018-06-13 Thread Sven Reimers (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16511620#comment-16511620
 ] 

Sven Reimers commented on NETBEANS-956:
---

Hmmm frosted glass effect ... I have to dig out my copy of "Filthy Rich 
Clients" ;)

> Position / Color of SplashScreen ProgressBar/Text is broken with new branding
> -
>
> Key: NETBEANS-956
> URL: https://issues.apache.org/jira/browse/NETBEANS-956
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - UI
>Affects Versions: 9.0
>Reporter: Sven Reimers
>Assignee: Sven Reimers
>Priority: Major
>  Labels: branding
> Attachments: NewProgressBarAndTextBranding.png, 
> fix-progress-bar-and-text.diff
>
>
> With change of the splash screen the other bits and pieces do not fit that 
> well anymore.
> Attached is a diff and a screenshot of a probable solution.



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-956) Position / Color of SplashScreen ProgressBar/Text is broken with new branding

2018-06-13 Thread Sven Reimers (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16511599#comment-16511599
 ] 

Sven Reimers commented on NETBEANS-956:
---

There is a rectangle defined for the progress bar and another one for the text. 
We can shrink the rectangle for the text without any problem, the messages will 
just be shortened and an ellipse (...) added at the end.

I tried to move both things to the left under the logo, but it felt really bad.

> Position / Color of SplashScreen ProgressBar/Text is broken with new branding
> -
>
> Key: NETBEANS-956
> URL: https://issues.apache.org/jira/browse/NETBEANS-956
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - UI
>Affects Versions: 9.0
>Reporter: Sven Reimers
>Assignee: Sven Reimers
>Priority: Major
>  Labels: branding
> Attachments: NewProgressBarAndTextBranding.png, 
> fix-progress-bar-and-text.diff
>
>
> With change of the splash screen the other bits and pieces do not fit that 
> well anymore.
> Attached is a diff and a screenshot of a probable solution.



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Created] (NETBEANS-956) Position / Color of SplashScreen ProgressBar/Text is broken with new branding

2018-06-13 Thread Sven Reimers (JIRA)
Sven Reimers created NETBEANS-956:
-

 Summary: Position / Color of SplashScreen ProgressBar/Text is 
broken with new branding
 Key: NETBEANS-956
 URL: https://issues.apache.org/jira/browse/NETBEANS-956
 Project: NetBeans
  Issue Type: Bug
  Components: ide - UI
Affects Versions: 9.0
Reporter: Sven Reimers
Assignee: Sven Reimers
 Attachments: NewProgressBarAndTextBranding.png, 
fix-progress-bar-and-text.diff

With change of the splash screen the other bits and pieces do not fit that well 
anymore.

Attached is a diff and a screenshot of a probable solution.



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Created] (NETBEANS-923) Add throws clause triggers exception in editor

2018-06-05 Thread Sven Reimers (JIRA)
Sven Reimers created NETBEANS-923:
-

 Summary: Add throws clause triggers exception in editor
 Key: NETBEANS-923
 URL: https://issues.apache.org/jira/browse/NETBEANS-923
 Project: NetBeans
  Issue Type: Bug
  Components: java - Hints
Affects Versions: 9.0
Reporter: Sven Reimers


Using the hint to add a throws clause to the main method results in the 
following exception:
{code:java}
java.lang.IllegalArgumentException: Copying to 773 is greater then its size 
(770).
at org.netbeans.modules.java.source.save.CasualDiff.copyTo(CasualDiff.java:5797)
at org.netbeans.modules.java.source.save.CasualDiff.copyTo(CasualDiff.java:5776)
at 
org.netbeans.modules.java.source.save.CasualDiff.diffClassDef(CasualDiff.java:1092)
at 
org.netbeans.modules.java.source.save.CasualDiff.diffTreeImpl0(CasualDiff.java:5250)
at 
org.netbeans.modules.java.source.save.CasualDiff.diffTreeImpl(CasualDiff.java:5144)
at 
org.netbeans.modules.java.source.save.CasualDiff.diffTree(CasualDiff.java:5071)
at 
org.netbeans.modules.java.source.save.CasualDiff.diffTree(CasualDiff.java:5042)
at 
org.netbeans.modules.java.source.save.CasualDiff.diffList(CasualDiff.java:3878)
at 
org.netbeans.modules.java.source.save.CasualDiff.diffTopLevel(CasualDiff.java:574)
at 
org.netbeans.modules.java.source.save.CasualDiff.diffTreeImpl0(CasualDiff.java:5223)
at 
org.netbeans.modules.java.source.save.CasualDiff.diffTreeImpl(CasualDiff.java:5144)
at 
org.netbeans.modules.java.source.save.CasualDiff.diffTree(CasualDiff.java:5071)
at 
org.netbeans.modules.java.source.save.CasualDiff.diffTree(CasualDiff.java:5054)
at org.netbeans.modules.java.source.save.CasualDiff.diff(CasualDiff.java:342)
at 
org.netbeans.api.java.source.WorkingCopy.processCurrentCompilationUnit(WorkingCopy.java:907)
at org.netbeans.api.java.source.WorkingCopy.getChanges(WorkingCopy.java:1319)
at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:675)
at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:662)
at org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:501)
at 
org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
at 
org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)
at 
org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)
at 
org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
at 
org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
at 
org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
at 
org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
at 
org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
at org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
at 
org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)
at 
org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:451)
at 
org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:422)
at 
org.netbeans.api.java.source.JavaSource.runModificationTask(JavaSource.java:683)
at 
org.netbeans.modules.java.hints.errors.UncaughtException$AddThrowsClauseHintImpl.implement(UncaughtException.java:494)
[catch] at org.netbeans.modules.editor.hints.HintsUI$1.run(HintsUI.java:835)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
{code}



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Created] (NETBEANS-882) Exception running under JDK 11

2018-05-29 Thread Sven Reimers (JIRA)
Sven Reimers created NETBEANS-882:
-

 Summary: Exception running under JDK 11
 Key: NETBEANS-882
 URL: https://issues.apache.org/jira/browse/NETBEANS-882
 Project: NetBeans
  Issue Type: Bug
Reporter: Sven Reimers


Installed some modules and got this - no code no nothing done..
{code:java}
javax.management.openmbean.OpenDataException: Argument value of wrong type for 
item lineNumber: value java.lang.ref.Reference, type 
javax.management.openmbean.SimpleType(name=java.lang.Integer)
at 
java.management/javax.management.openmbean.CompositeDataSupport.(CompositeDataSupport.java:235)
at 
java.management/javax.management.openmbean.CompositeDataSupport.(CompositeDataSupport.java:118)
at 
java.management/sun.management.StackTraceElementCompositeData.getCompositeData(StackTraceElementCompositeData.java:91)
Caused: java.lang.AssertionError
at 
java.management/sun.management.StackTraceElementCompositeData.getCompositeData(StackTraceElementCompositeData.java:96)
at 
java.management/sun.management.StackTraceElementCompositeData.toCompositeData(StackTraceElementCompositeData.java:74)
at 
java.management/sun.management.ThreadInfoCompositeData.getCompositeData(ThreadInfoCompositeData.java:82)
at 
java.management/sun.management.ThreadInfoCompositeData.toCompositeData(ThreadInfoCompositeData.java:72)
Caused: java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at 
org.netbeans.modules.sampler.SamplesOutputStream.toCompositeData(SamplesOutputStream.java:178)
Caused: java.lang.RuntimeException
at 
org.netbeans.modules.sampler.SamplesOutputStream.toCompositeData(SamplesOutputStream.java:184)
at 
org.netbeans.modules.sampler.SamplesOutputStream.access$400(SamplesOutputStream.java:44)
at 
org.netbeans.modules.sampler.SamplesOutputStream$Sample.writeToStream(SamplesOutputStream.java:285)
at 
org.netbeans.modules.sampler.SamplesOutputStream$Sample.access$300(SamplesOutputStream.java:253)
at 
org.netbeans.modules.sampler.SamplesOutputStream.close(SamplesOutputStream.java:202)
at org.netbeans.modules.sampler.Sampler.stopSampling(Sampler.java:231)
at org.netbeans.modules.sampler.Sampler.stopAndWriteTo(Sampler.java:197)
[catch] at 
org.netbeans.core.TimableEventQueue$1R.run(TimableEventQueue.java:223)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
at 
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033){code}



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-783) Exception during CodeCompletion

2018-05-12 Thread Sven Reimers (JIRA)

[ 
https://issues.apache.org/jira/browse/NETBEANS-783?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16473178#comment-16473178
 ] 

Sven Reimers commented on NETBEANS-783:
---

Happen with JavaEE modules installed from Update Center and in module-info.java 
file (e..g. req->)

> Exception during CodeCompletion
> ---
>
> Key: NETBEANS-783
> URL: https://issues.apache.org/jira/browse/NETBEANS-783
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Editor
>Reporter: Sven Reimers
>Priority: Major
>
> Running on JDK 8 using JDK11 as platform for a modular project I got the 
> following exception
> {code:java}
> java.lang.IllegalArgumentException
> at com.sun.tools.javac.util.JCDiagnostic.(JCDiagnostic.java:588)
> at com.sun.tools.javac.util.JCDiagnostic$Factory.create(JCDiagnostic.java:283)
> at com.sun.tools.javac.util.JCDiagnostic$Factory.error(JCDiagnostic.java:111)
> at com.sun.tools.javac.util.AbstractLog.error(AbstractLog.java:147)
> at com.sun.tools.javac.util.AbstractLog.error(AbstractLog.java:137)
> at com.sun.tools.javac.parser.JavacParser.error(JavacParser.java:4295)
> at 
> com.sun.tools.javac.parser.JavacParser.reportSyntaxError(JavacParser.java:410)
> at 
> com.sun.tools.javac.parser.JavacParser.reportSyntaxError(JavacParser.java:397)
> at 
> com.sun.tools.javac.parser.JavacParser.moduleDirectiveList(JavacParser.java:3384)
> at com.sun.tools.javac.parser.JavacParser.moduleDecl(JavacParser.java:3304)
> at 
> com.sun.tools.javac.parser.JavacParser.parseCompilationUnit(JavacParser.java:3262)
> at 
> org.netbeans.lib.nbjavac.services.NBParserFactory$NBJavacParser.parseCompilationUnit(NBParserFactory.java:136)
> at com.sun.tools.javac.main.JavaCompiler.parse(JavaCompiler.java:648)
> at 
> com.sun.tools.javac.main.JavaCompiler.parseAndGetName(JavaCompiler.java:1873)
> at 
> com.sun.tools.javac.main.JavaCompiler.readModuleName(JavaCompiler.java:1857)
> at com.sun.tools.javac.code.ModuleFinder.readModule(ModuleFinder.java:233)
> at 
> com.sun.tools.javac.code.ModuleFinder.findSingleModule(ModuleFinder.java:209)
> at 
> com.sun.tools.javac.comp.Modules.setCompilationUnitModules(Modules.java:474)
> at com.sun.tools.javac.comp.Modules.enter(Modules.java:284)
> at com.sun.tools.javac.comp.Modules.initModules(Modules.java:247)
> at com.sun.tools.javac.main.JavaCompiler.initModules(JavaCompiler.java:1114)
> at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:374)
> at com.sun.tools.javac.api.JavacTaskImpl.ensureEntered(JavacTaskImpl.java:619)
> at 
> com.sun.tools.javac.model.JavacElements.ensureEntered(JavacElements.java:878)
> at 
> com.sun.tools.javac.model.JavacElements.doGetTypeElement(JavacElements.java:169)
> at 
> com.sun.tools.javac.model.JavacElements.getTypeElement(JavacElements.java:158)
> at 
> com.sun.tools.javac.model.JavacElements.getTypeElement(JavacElements.java:83)
> at 
> org.netbeans.modules.java.source.parsing.CompilationInfoImpl.toPhase(CompilationInfoImpl.java:357)
> at 
> org.netbeans.api.java.source.CompilationController.toPhase(CompilationController.java:84)
> at 
> org.netbeans.modules.j2ee.metadata.model.api.support.annotation.AnnotationModelHelper.runCallable(AnnotationModelHelper.java:230)
> at 
> org.netbeans.modules.j2ee.metadata.model.api.support.annotation.AnnotationModelHelper.access$100(AnnotationModelHelper.java:54)
> at 
> org.netbeans.modules.j2ee.metadata.model.api.support.annotation.AnnotationModelHelper$2.run(AnnotationModelHelper.java:159)
> at 
> org.netbeans.modules.j2ee.metadata.model.api.support.annotation.AnnotationModelHelper$2.run(AnnotationModelHelper.java:156)
> at org.netbeans.modules.java.source.parsing.MimeTask.run(MimeTask.java:60)
> at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
> at 
> org.netbeans.modules.parsing.api.ParserManager$MimeTaskAction.run(ParserManager.java:357)
> at 
> org.netbeans.modules.parsing.api.ParserManager$MimeTaskAction.run(ParserManager.java:340)
> at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
> at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
> at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
> at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
> at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
> at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
> at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
> at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:311)
> at 
> org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource

[jira] [Created] (NETBEANS-783) Exception during CodeCompletion

2018-05-12 Thread Sven Reimers (JIRA)
Sven Reimers created NETBEANS-783:
-

 Summary: Exception during CodeCompletion
 Key: NETBEANS-783
 URL: https://issues.apache.org/jira/browse/NETBEANS-783
 Project: NetBeans
  Issue Type: Bug
  Components: java - Editor
Reporter: Sven Reimers


Running on JDK 8 using JDK11 as platform for a modular project I got the 
following exception
{code:java}
java.lang.IllegalArgumentException
at com.sun.tools.javac.util.JCDiagnostic.(JCDiagnostic.java:588)
at com.sun.tools.javac.util.JCDiagnostic$Factory.create(JCDiagnostic.java:283)
at com.sun.tools.javac.util.JCDiagnostic$Factory.error(JCDiagnostic.java:111)
at com.sun.tools.javac.util.AbstractLog.error(AbstractLog.java:147)
at com.sun.tools.javac.util.AbstractLog.error(AbstractLog.java:137)
at com.sun.tools.javac.parser.JavacParser.error(JavacParser.java:4295)
at 
com.sun.tools.javac.parser.JavacParser.reportSyntaxError(JavacParser.java:410)
at 
com.sun.tools.javac.parser.JavacParser.reportSyntaxError(JavacParser.java:397)
at 
com.sun.tools.javac.parser.JavacParser.moduleDirectiveList(JavacParser.java:3384)
at com.sun.tools.javac.parser.JavacParser.moduleDecl(JavacParser.java:3304)
at 
com.sun.tools.javac.parser.JavacParser.parseCompilationUnit(JavacParser.java:3262)
at 
org.netbeans.lib.nbjavac.services.NBParserFactory$NBJavacParser.parseCompilationUnit(NBParserFactory.java:136)
at com.sun.tools.javac.main.JavaCompiler.parse(JavaCompiler.java:648)
at com.sun.tools.javac.main.JavaCompiler.parseAndGetName(JavaCompiler.java:1873)
at com.sun.tools.javac.main.JavaCompiler.readModuleName(JavaCompiler.java:1857)
at com.sun.tools.javac.code.ModuleFinder.readModule(ModuleFinder.java:233)
at com.sun.tools.javac.code.ModuleFinder.findSingleModule(ModuleFinder.java:209)
at com.sun.tools.javac.comp.Modules.setCompilationUnitModules(Modules.java:474)
at com.sun.tools.javac.comp.Modules.enter(Modules.java:284)
at com.sun.tools.javac.comp.Modules.initModules(Modules.java:247)
at com.sun.tools.javac.main.JavaCompiler.initModules(JavaCompiler.java:1114)
at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:374)
at com.sun.tools.javac.api.JavacTaskImpl.ensureEntered(JavacTaskImpl.java:619)
at com.sun.tools.javac.model.JavacElements.ensureEntered(JavacElements.java:878)
at 
com.sun.tools.javac.model.JavacElements.doGetTypeElement(JavacElements.java:169)
at 
com.sun.tools.javac.model.JavacElements.getTypeElement(JavacElements.java:158)
at com.sun.tools.javac.model.JavacElements.getTypeElement(JavacElements.java:83)
at 
org.netbeans.modules.java.source.parsing.CompilationInfoImpl.toPhase(CompilationInfoImpl.java:357)
at 
org.netbeans.api.java.source.CompilationController.toPhase(CompilationController.java:84)
at 
org.netbeans.modules.j2ee.metadata.model.api.support.annotation.AnnotationModelHelper.runCallable(AnnotationModelHelper.java:230)
at 
org.netbeans.modules.j2ee.metadata.model.api.support.annotation.AnnotationModelHelper.access$100(AnnotationModelHelper.java:54)
at 
org.netbeans.modules.j2ee.metadata.model.api.support.annotation.AnnotationModelHelper$2.run(AnnotationModelHelper.java:159)
at 
org.netbeans.modules.j2ee.metadata.model.api.support.annotation.AnnotationModelHelper$2.run(AnnotationModelHelper.java:156)
at org.netbeans.modules.java.source.parsing.MimeTask.run(MimeTask.java:60)
at 
org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
at 
org.netbeans.modules.parsing.api.ParserManager$MimeTaskAction.run(ParserManager.java:357)
at 
org.netbeans.modules.parsing.api.ParserManager$MimeTaskAction.run(ParserManager.java:340)
at 
org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
at 
org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
at 
org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
at 
org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
at 
org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
at org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
at 
org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:311)
at 
org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:430)
at 
org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:422)
at 
org.netbeans.modules.j2ee.metadata.model.api.support.annotation.AnnotationModelHelper.runJavaSourceTask(AnnotationModelHelper.java:156)
at 
org.netbeans.modules.j2ee.metadata.model.api.support.annotation.AnnotationModelHelper.runJavaSourceTask(AnnotationModelHelper.java:124)
at 
org.netbeans.modules.j2ee.persistenceapi.metadata.orm.annotation.EntityMappingsMetadataModelImpl.runReadAction(EntityMappingsMet

[jira] [Commented] (NETBEANS-620) profiling SQL queries doesn't work under JDK 10

2018-05-08 Thread Sven Reimers (JIRA)

[ 
https://issues.apache.org/jira/browse/NETBEANS-620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16467347#comment-16467347
 ] 

Sven Reimers commented on NETBEANS-620:
---

Is the PR merged?

> profiling SQL queries doesn't work under JDK 10
> ---
>
> Key: NETBEANS-620
> URL: https://issues.apache.org/jira/browse/NETBEANS-620
> Project: NetBeans
>  Issue Type: Bug
>  Components: profiler - Base
>Affects Versions: 9.0
> Environment: I tested under NetBeans 9.0 build 395 with a project 
> that uses a Postgres database.
>Reporter: Glenn Holmer
>Assignee: Sven Reimers
>Priority: Blocker
>  Labels: BLOCKER, pull-request-available
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> Profiler's SQL query profiling feature does not work under JDK 10:
> 1) Create or open a project that uses JDBC queries to a database.
> 2) Click the profiler icon in the toolbar.
> 3) In the Profiler button dropdown, select "SQL Queries".
> 4) Click the gear icon at the right of the profiler toolbar and select "All 
> queries".
> 5) Click the "Profile" button to start profiling.
> The program runs, but no SQL query data are returned. This works fine under 
> JDK 8.



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Assigned] (NETBEANS-620) profiling SQL queries doesn't work under JDK 10

2018-05-06 Thread Sven Reimers (JIRA)

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

Sven Reimers reassigned NETBEANS-620:
-

Assignee: Sven Reimers

> profiling SQL queries doesn't work under JDK 10
> ---
>
> Key: NETBEANS-620
> URL: https://issues.apache.org/jira/browse/NETBEANS-620
> Project: NetBeans
>  Issue Type: Bug
>  Components: profiler - Base
>Affects Versions: 9.0
> Environment: I tested under NetBeans 9.0 build 395 with a project 
> that uses a Postgres database.
>Reporter: Glenn Holmer
>Assignee: Sven Reimers
>Priority: Blocker
>  Labels: BLOCKER
>
> Profiler's SQL query profiling feature does not work under JDK 10:
> 1) Create or open a project that uses JDBC queries to a database.
> 2) Click the profiler icon in the toolbar.
> 3) In the Profiler button dropdown, select "SQL Queries".
> 4) Click the gear icon at the right of the profiler toolbar and select "All 
> queries".
> 5) Click the "Profile" button to start profiling.
> The program runs, but no SQL query data are returned. This works fine under 
> JDK 8.



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-620) profiling SQL queries doesn't work under JDK 10

2018-05-04 Thread Sven Reimers (JIRA)

[ 
https://issues.apache.org/jira/browse/NETBEANS-620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16464326#comment-16464326
 ] 

Sven Reimers commented on NETBEANS-620:
---

Further details. It seems that the problem is that in JdbcGraphBuilder line 417
{code:java}
ClassRepository.lookupClass(STATEMENT_INTERFACE, 0){code}
is called but the original detected super interface for the loaded subclass was 
in
{code:java}
ClassRepository.lookupClass(STATEMENT_INTERFACE, 2){code}
So it seems that with 10 (or 9 did not try this out) there is not only 
classLoaderId 0 but in my sample at least up to id 2 ..

Anyone able to explain? Will keep digging.

> profiling SQL queries doesn't work under JDK 10
> ---
>
> Key: NETBEANS-620
> URL: https://issues.apache.org/jira/browse/NETBEANS-620
> Project: NetBeans
>  Issue Type: Bug
>  Components: profiler - Base
>Affects Versions: 9.0
> Environment: I tested under NetBeans 9.0 build 395 with a project 
> that uses a Postgres database.
>Reporter: Glenn Holmer
>Priority: Blocker
>  Labels: BLOCKER
>
> Profiler's SQL query profiling feature does not work under JDK 10:
> 1) Create or open a project that uses JDBC queries to a database.
> 2) Click the profiler icon in the toolbar.
> 3) In the Profiler button dropdown, select "SQL Queries".
> 4) Click the gear icon at the right of the profiler toolbar and select "All 
> queries".
> 5) Click the "Profile" button to start profiling.
> The program runs, but no SQL query data are returned. This works fine under 
> JDK 8.



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-620) profiling SQL queries doesn't work under JDK 10

2018-05-04 Thread Sven Reimers (JIRA)

[ 
https://issues.apache.org/jira/browse/NETBEANS-620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16464286#comment-16464286
 ] 

Sven Reimers commented on NETBEANS-620:
---

I did a bit of debugging and it seems the culprit is that the SQLProfiling 
tries to filter on methods called on subclasses of java.sql.Statement and 
java.sql.Connection (see lines 234 and 253 in 
org.netbeans.lib.profiler.results.jdbc.JdbcGraphBuilder). Here the problem 
starts. For this detection the ClassRepository is queried to check if theClass 
is a subclass of Statement or Connection. But the Repository gives a back an 
empty list for clazz.getSubclasses() (line 419 in 
org.netbeans.lib.profiler.results.jdbc.JdbcGraphBuilder). 

So it seems the initialization has failed somehow (this works on Java 8).  Any 
pointers appreciated. Digging deeper.

> profiling SQL queries doesn't work under JDK 10
> ---
>
> Key: NETBEANS-620
> URL: https://issues.apache.org/jira/browse/NETBEANS-620
> Project: NetBeans
>  Issue Type: Bug
>  Components: profiler - Base
>Affects Versions: 9.0
> Environment: I tested under NetBeans 9.0 build 395 with a project 
> that uses a Postgres database.
>Reporter: Glenn Holmer
>Priority: Blocker
>  Labels: BLOCKER
>
> Profiler's SQL query profiling feature does not work under JDK 10:
> 1) Create or open a project that uses JDBC queries to a database.
> 2) Click the profiler icon in the toolbar.
> 3) In the Profiler button dropdown, select "SQL Queries".
> 4) Click the gear icon at the right of the profiler toolbar and select "All 
> queries".
> 5) Click the "Profile" button to start profiling.
> The program runs, but no SQL query data are returned. This works fine under 
> JDK 8.



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-444) Can't use apple.laf.AquaLookAndFeel on Java 10 anymore

2018-04-23 Thread Sven Reimers (JIRA)

[ 
https://issues.apache.org/jira/browse/NETBEANS-444?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16448722#comment-16448722
 ] 

Sven Reimers commented on NETBEANS-444:
---

PR is here: https://github.com/apache/incubator-netbeans/pull/516

> Can't use apple.laf.AquaLookAndFeel on Java 10 anymore
> --
>
> Key: NETBEANS-444
> URL: https://issues.apache.org/jira/browse/NETBEANS-444
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 9.0
>Reporter: Kirill Grouchnikov
>Assignee: Sven Reimers
>Priority: Major
>  Labels: pull-request-available
> Fix For: 9.0
>
>
> [https://github.com/apache/incubator-netbeans/blob/master/o.n.upgrader/src/org/netbeans/util/Util.java#L78]
>  stack-traces on Java 10+44
>  
> See [https://bugs.openjdk.java.net/browse/JDK-8185683] that has removed 
> access to that class and [http://jdk.java.net/10/release-notes#JDK-8185683] 
> for the release notes



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Updated] (NETBEANS-444) Can't use apple.laf.AquaLookAndFeel on Java 10 anymore

2018-04-22 Thread Sven Reimers (JIRA)

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

Sven Reimers updated NETBEANS-444:
--
Labels: pull-request-available  (was: )

> Can't use apple.laf.AquaLookAndFeel on Java 10 anymore
> --
>
> Key: NETBEANS-444
> URL: https://issues.apache.org/jira/browse/NETBEANS-444
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 9.0
>Reporter: Kirill Grouchnikov
>Assignee: Sven Reimers
>Priority: Major
>  Labels: pull-request-available
>
> [https://github.com/apache/incubator-netbeans/blob/master/o.n.upgrader/src/org/netbeans/util/Util.java#L78]
>  stack-traces on Java 10+44
>  
> See [https://bugs.openjdk.java.net/browse/JDK-8185683] that has removed 
> access to that class and [http://jdk.java.net/10/release-notes#JDK-8185683] 
> for the release notes



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Assigned] (NETBEANS-444) Can't use apple.laf.AquaLookAndFeel on Java 10 anymore

2018-04-22 Thread Sven Reimers (JIRA)

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

Sven Reimers reassigned NETBEANS-444:
-

Assignee: Sven Reimers

> Can't use apple.laf.AquaLookAndFeel on Java 10 anymore
> --
>
> Key: NETBEANS-444
> URL: https://issues.apache.org/jira/browse/NETBEANS-444
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 9.0
>Reporter: Kirill Grouchnikov
>Assignee: Sven Reimers
>Priority: Major
>
> [https://github.com/apache/incubator-netbeans/blob/master/o.n.upgrader/src/org/netbeans/util/Util.java#L78]
>  stack-traces on Java 10+44
>  
> See [https://bugs.openjdk.java.net/browse/JDK-8185683] that has removed 
> access to that class and [http://jdk.java.net/10/release-notes#JDK-8185683] 
> for the release notes



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-444) Can't use apple.laf.AquaLookAndFeel on Java 10 anymore

2018-04-22 Thread Sven Reimers (JIRA)

[ 
https://issues.apache.org/jira/browse/NETBEANS-444?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16447352#comment-16447352
 ] 

Sven Reimers commented on NETBEANS-444:
---

Am I correct to assume that the minimum Java required to run NetBeans is 8?

> Can't use apple.laf.AquaLookAndFeel on Java 10 anymore
> --
>
> Key: NETBEANS-444
> URL: https://issues.apache.org/jira/browse/NETBEANS-444
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 9.0
>Reporter: Kirill Grouchnikov
>Priority: Major
>
> [https://github.com/apache/incubator-netbeans/blob/master/o.n.upgrader/src/org/netbeans/util/Util.java#L78]
>  stack-traces on Java 10+44
>  
> See [https://bugs.openjdk.java.net/browse/JDK-8185683] that has removed 
> access to that class and [http://jdk.java.net/10/release-notes#JDK-8185683] 
> for the release notes



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Created] (NETBEANS-682) Sorting threads by name does not work

2018-04-17 Thread Sven Reimers (JIRA)
Sven Reimers created NETBEANS-682:
-

 Summary: Sorting threads by name does not work
 Key: NETBEANS-682
 URL: https://issues.apache.org/jira/browse/NETBEANS-682
 Project: NetBeans
  Issue Type: Bug
  Components: debugger - Java
Affects Versions: 9.0
Reporter: Sven Reimers


In debugging view sorting by name is without function.



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Created] (NETBEANS-681) Sorting threads by suspend / running does not work

2018-04-17 Thread Sven Reimers (JIRA)
Sven Reimers created NETBEANS-681:
-

 Summary: Sorting threads by suspend / running does not work
 Key: NETBEANS-681
 URL: https://issues.apache.org/jira/browse/NETBEANS-681
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 9.0
Reporter: Sven Reimers


In debugging view sorting threads is not working



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-444) Can't use apple.laf.AquaLookAndFeel on Java 10 anymore

2018-03-14 Thread Sven Reimers (JIRA)

[ 
https://issues.apache.org/jira/browse/NETBEANS-444?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16399506#comment-16399506
 ] 

Sven Reimers commented on NETBEANS-444:
---

Just tried and fixed the stack trace coming up, but it seems this is only the 
tip of the iceberg.

A simple grep shows the following occurrences. Seems we need a more broad fix 
to get apple ui working on different Java versions..
{code:java}
core.startup/test/unit/src/org/netbeans/core/startup/CLIOptionsTest.java: 
assertEquals("Must be MacOS", CLIOptions.uiClass, 
Class.forName("apple.laf.AquaLookAndFeel"));
core.startup/src/org/netbeans/core/startup/CLIOptions.java: ui = 
"apple.laf.AquaLookAndFeel";
core.windows/src/org/netbeans/core/windows/options/LafPanel.java: || (isAqua && 
li.getClassName().contains("apple.laf.AquaLookAndFeel")) ) { //NOI18N
core.windows/src/org/netbeans/core/windows/options/LafPanel.java: || (isAqua && 
li.getClassName().contains("apple.laf.AquaLookAndFeel")) ) { //NOI18N
ide/launcher/macosx/NetBeansLauncher/NBPreferences.m:NSString 
*look_and_feels[]={@"apple.laf.AquaLookAndFeel",@"javax.swing.plaf.metal.MetalLookAndFeel"};
nbi/engine/src/org/netbeans/installer/utils/UiUtils.java: AQUA("aqua", "Aqua", 
"apple.laf.AquaLookAndFeel"),
o.n.bootstrap/arch.xml: Aqua is translated to apple.laf.AquaLookAndFeel
o.n.swing.plaf/src/org/netbeans/swing/plaf/Startup.java: uiClassName = 
"apple.laf.AquaLookAndFeel";
openide.explorer/src/org/openide/explorer/propertysheet/PropUtils.java: if 
("apple.laf.AquaLookAndFeel".equals(UIManager.getLookAndFeel().getClass().getName()))
 {{code}
 

> Can't use apple.laf.AquaLookAndFeel on Java 10 anymore
> --
>
> Key: NETBEANS-444
> URL: https://issues.apache.org/jira/browse/NETBEANS-444
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 9.0
>Reporter: Kirill Grouchnikov
>Priority: Major
>
> [https://github.com/apache/incubator-netbeans/blob/master/o.n.upgrader/src/org/netbeans/util/Util.java#L78]
>  stack-traces on Java 10+44
>  
> See [https://bugs.openjdk.java.net/browse/JDK-8185683] that has removed 
> access to that class and [http://jdk.java.net/10/release-notes#JDK-8185683] 
> for the release notes



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-241) Migrate Exception Reporter to Apache

2018-03-11 Thread Sven Reimers (JIRA)

[ 
https://issues.apache.org/jira/browse/NETBEANS-241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16394661#comment-16394661
 ] 

Sven Reimers commented on NETBEANS-241:
---

Source code located at 
[http://hg.netbeans.org/main/misc/file/tip/logger/uihandlerserver/]

Other details are linked from [http://statistics.netbeans.org/analytics/]

Hope this helps..

> Migrate Exception Reporter to Apache
> 
>
> Key: NETBEANS-241
> URL: https://issues.apache.org/jira/browse/NETBEANS-241
> Project: NetBeans
>  Issue Type: Improvement
>  Components: ide - Logger
>Reporter: Gili
>Priority: Major
>
> Expected behavior: Exception Reporter should file bugs in the new Apache JIRA 
> issue tracker instead of the old Bugzilla system.
> It's not clear (to me at least) what metadata you need to store outside of 
> individual bug reports, so that needs to be fleshed out because Apache might 
> have provide the necessary infrastructure to host it.
> This issue is related to NETBEANS-164



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-416) Excessive CPU usage

2018-02-25 Thread Sven Reimers (JIRA)

[ 
https://issues.apache.org/jira/browse/NETBEANS-416?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16376024#comment-16376024
 ] 

Sven Reimers commented on NETBEANS-416:
---

I just had a brief look at the profiling output. It looks like the CPU time is 
spent doing something in MasterFS, so probably something changed on disk and 
NetBeans was picking this up. Not sure if this intended if NetBeans is in the 
background. So my first quick idea is to check if you have something sitting on 
a slow filesystem (or even an antivirus watching NetBeans cache directories 
etc.).

Anyone out there with more knowledge about the filesystem watching that is 
implemented in NetBeans? Would there be any additional benefit to investigate 
if moving to newer Java 8 API's may help?

> Excessive CPU usage
> ---
>
> Key: NETBEANS-416
> URL: https://issues.apache.org/jira/browse/NETBEANS-416
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 8.2
> Environment: Windows 10 Pro 64bit
>Reporter: Acs
>Priority: Major
> Attachments: 2018-02-22 14_34_52-Task Manager.png, selfsampler.npss
>
>
> Hey,
> Something I have noticed in Netbeans is that from time to time Netbeans CPU 
> usage will go up to around 20% and most of the times I have Netbeans in the 
> background so I am not doing anything in Netbeans.
> Please fix this as this is a huge annoyance.
> Edit: To further explain why this is a huge annoyance: Netbeans will trigger 
> my laptop fans with the usage of CPU when it's not doing anything.
> Please someone analyze the profiler and tell me if I have a plugin that is 
> doing this or this is netbeans.
> I am really considering changing IDEs because of t his.
>  
>  



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Created] (NETBEANS-298) Warning profiling a JDK9 based process

2018-01-20 Thread Sven Reimers (JIRA)
Sven Reimers created NETBEANS-298:
-

 Summary: Warning profiling a JDK9 based process
 Key: NETBEANS-298
 URL: https://issues.apache.org/jira/browse/NETBEANS-298
 Project: NetBeans
  Issue Type: Bug
  Components: profiler - Engine
Affects Versions: 9.0
Reporter: Sven Reimers


This is not yet a real problem but may become more of an issue with upcoming 
jdk versions.
{code:java}
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by 
org.netbeans.lib.profiler.server.ClassLoaderManager to method 
java.lang.ClassLoader.findLoadedClass(java.lang.String)
WARNING: Please consider reporting this to the maintainers of 
org.netbeans.lib.profiler.server.ClassLoaderManager
WARNING: Use --illegal-access=warn to enable warnings of further illegal 
reflective access operations
WARNING: All illegal access operations will be denied in a future release{code}



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists