[jira] [Commented] (NETBEANS-3263) renaming a method throws java.util.ConcurrentModificationException

2020-02-10 Thread Thomas Kellerer (Jira)


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

Thomas Kellerer commented on NETBEANS-3263:
---

I got this exception again with 11.3-beta2, after uninstalling nb-javac 
(disabling is not enough), it's working again
{noformat}
INFO [org.netbeans.modules.refactoring.spi.impl.ParametersPanel]: 
org.netbeans.modules.refactoring.api.AbstractRefactoring$ProgressL@586aa626 
called start multiple times
SEVERE [org.openide.util.Exceptions]
java.util.ConcurrentModificationException
at java.base/java.util.HashMap.computeIfAbsent(HashMap.java:1139)
at 
org.netbeans.modules.java.source.parsing.ParameterNameProviderImpl.getParameterName(ParameterNameProviderImpl.java:130)
at 
org.netbeans.modules.java.source.parsing.ParameterNameProviderImpl$1.invoke(ParameterNameProviderImpl.java:90)
at com.sun.proxy.$Proxy60.getParameterName(Unknown Source)
at 
com.sun.tools.javac.code.MissingInfoHandler.getParameterName(MissingInfoHandler.java:63)
at 
com.sun.tools.javac.code.Symbol$ParamSymbol.getSimpleName(Symbol.java:1746)
at 
com.sun.tools.javac.code.Symbol$ParamSymbol.getSimpleName(Symbol.java:1731)
at 
org.netbeans.modules.java.source.parsing.ParameterNameProviderImpl$2.lambda$visitMethod$0(ParameterNameProviderImpl.java:142)
at 
java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133)
at 
java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
at 
java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
at 
java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
at 
java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
at 
java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at 
java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578)
at 
org.netbeans.modules.java.source.parsing.ParameterNameProviderImpl$2.visitMethod(ParameterNameProviderImpl.java:142)
at 
org.netbeans.modules.java.source.parsing.ParameterNameProviderImpl$2.visitMethod(ParameterNameProviderImpl.java:138)
at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:914)
at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:91)
at com.sun.source.util.TreeScanner.scan(TreeScanner.java:106)
at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:114)
at com.sun.source.util.TreeScanner.visitClass(TreeScanner.java:188)
at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:822)
at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
at com.sun.source.util.TreeScanner.scan(TreeScanner.java:106)
at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:114)
at 
com.sun.source.util.TreeScanner.visitCompilationUnit(TreeScanner.java:145)
at 
com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:603)
at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
at 
org.netbeans.modules.java.source.parsing.ParameterNameProviderImpl.lambda$null$0(ParameterNameProviderImpl.java:146)
at 
org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:502)
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:452)
at 
org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:423)
at 
org.n

[jira] [Commented] (NETBEANS-3263) renaming a method throws java.util.ConcurrentModificationException

2020-01-20 Thread Thomas Kellerer (Jira)


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

Thomas Kellerer commented on NETBEANS-3263:
---

I still get an exception during refactoring with 11.2u1 (nb-javac version is 
2.0.1 - the latest one from the update center).

It seems to be different this time, because I can't reproduce it with the 
attached test project. However for legal reasons I can not attach the project 
where this happens (which is much bigger).

> renaming a method throws java.util.ConcurrentModificationException
> --
>
> Key: NETBEANS-3263
> URL: https://issues.apache.org/jira/browse/NETBEANS-3263
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Refactoring
>Affects Versions: 11.2
> Environment: Windows 10 64bit
> OpenJDK 12.0.1 (from AdoptOpenJDK)
>Reporter: Thomas Kellerer
>Priority: Major
> Attachments: ClassTwo.dump, RefactorTest.zip, messages.log, 
> messages.log.11.2u1, messages.log.2
>
>
> When trying to rename a method a ConcurrentModificationException is thrown.
> I have attached ZIP file with a small Maven project. When you open ClassOne 
> and try to rename the method {{getFoo()}} the exception is thrown.



--
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-3263) renaming a method throws java.util.ConcurrentModificationException

2019-12-01 Thread Neil C Smith (Jira)


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

Neil C Smith commented on NETBEANS-3263:


[~ebresie] this should be fixed in NB 11.2 update 1 which will ship to users 
tomorrow.  See vote thread on dev@ if you need the fix sooner than that!

> renaming a method throws java.util.ConcurrentModificationException
> --
>
> Key: NETBEANS-3263
> URL: https://issues.apache.org/jira/browse/NETBEANS-3263
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Refactoring
>Affects Versions: 11.2
> Environment: Windows 10 64bit
> OpenJDK 12.0.1 (from AdoptOpenJDK)
>Reporter: Thomas Kellerer
>Priority: Major
> Attachments: ClassTwo.dump, RefactorTest.zip, messages.log, 
> messages.log.2
>
>
> When trying to rename a method a ConcurrentModificationException is thrown.
> I have attached ZIP file with a small Maven project. When you open ClassOne 
> and try to rename the method {{getFoo()}} the exception is thrown.



--
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-3263) renaming a method throws java.util.ConcurrentModificationException

2019-12-01 Thread Eric Bresie (Jira)


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

Eric Bresie commented on NETBEANS-3263:
---

[Javac 
guide|https://docs.oracle.com/javase/9/tools/javac.htm#JSWOR-GUID-AEEC9F07-CB49-4E96-8BC7-BCC2C7F725C9]
 also mentions the interfaces are in javax] also mentions the interfaces are in 
javax.tools as well.

> renaming a method throws java.util.ConcurrentModificationException
> --
>
> Key: NETBEANS-3263
> URL: https://issues.apache.org/jira/browse/NETBEANS-3263
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Refactoring
>Affects Versions: 11.2
> Environment: Windows 10 64bit
> OpenJDK 12.0.1 (from AdoptOpenJDK)
>Reporter: Thomas Kellerer
>Priority: Major
> Attachments: ClassTwo.dump, RefactorTest.zip, messages.log, 
> messages.log.2
>
>
> When trying to rename a method a ConcurrentModificationException is thrown.
> I have attached ZIP file with a small Maven project. When you open ClassOne 
> and try to rename the method {{getFoo()}} the exception is thrown.



--
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-3263) renaming a method throws java.util.ConcurrentModificationException

2019-12-01 Thread Eric Bresie (Jira)


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

Eric Bresie commented on NETBEANS-3263:
---

Is this in any way an issue starting with java 9 which may be impacted by 
things as mentioned on the [com.sun.tools.javac 
javadoc|https://docs.oracle.com/javase/9/docs/api/com/sun/tools/javac/package-summary.html]
 and the [jdk.compiler 
module|https://docs.oracle.com/javase/9/docs/api/jdk.compiler-summary.html]?

> renaming a method throws java.util.ConcurrentModificationException
> --
>
> Key: NETBEANS-3263
> URL: https://issues.apache.org/jira/browse/NETBEANS-3263
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Refactoring
>Affects Versions: 11.2
> Environment: Windows 10 64bit
> OpenJDK 12.0.1 (from AdoptOpenJDK)
>Reporter: Thomas Kellerer
>Priority: Major
> Attachments: ClassTwo.dump, RefactorTest.zip, messages.log, 
> messages.log.2
>
>
> When trying to rename a method a ConcurrentModificationException is thrown.
> I have attached ZIP file with a small Maven project. When you open ClassOne 
> and try to rename the method {{getFoo()}} the exception is thrown.



--
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-3263) renaming a method throws java.util.ConcurrentModificationException

2019-12-01 Thread Eric Bresie (Jira)


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

Eric Bresie commented on NETBEANS-3263:
---

Just curious is there a separate nb-javac ticket already related to this or 
should this one just be labeled or component added to be an nb-javac item?

> renaming a method throws java.util.ConcurrentModificationException
> --
>
> Key: NETBEANS-3263
> URL: https://issues.apache.org/jira/browse/NETBEANS-3263
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Refactoring
>Affects Versions: 11.2
> Environment: Windows 10 64bit
> OpenJDK 12.0.1 (from AdoptOpenJDK)
>Reporter: Thomas Kellerer
>Priority: Major
> Attachments: ClassTwo.dump, RefactorTest.zip, messages.log, 
> messages.log.2
>
>
> When trying to rename a method a ConcurrentModificationException is thrown.
> I have attached ZIP file with a small Maven project. When you open ClassOne 
> and try to rename the method {{getFoo()}} the exception is thrown.



--
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-3263) renaming a method throws java.util.ConcurrentModificationException

2019-10-21 Thread Neil C Smith (Jira)


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

Neil C Smith commented on NETBEANS-3263:


The other "workaround" appears to be to temporarily drop the source level of 
the project down to 8 to do the renaming (was initially wondering why it works 
in another project).

> renaming a method throws java.util.ConcurrentModificationException
> --
>
> Key: NETBEANS-3263
> URL: https://issues.apache.org/jira/browse/NETBEANS-3263
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Refactoring
>Affects Versions: 11.2
> Environment: Windows 10 64bit
> OpenJDK 12.0.1 (from AdoptOpenJDK)
>Reporter: Thomas Kellerer
>Priority: Major
> Attachments: ClassTwo.dump, RefactorTest.zip, messages.log, 
> messages.log.2
>
>
> When trying to rename a method a ConcurrentModificationException is thrown.
> I have attached ZIP file with a small Maven project. When you open ClassOne 
> and try to rename the method {{getFoo()}} the exception is thrown.



--
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-3263) renaming a method throws java.util.ConcurrentModificationException

2019-10-21 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-3263:
-

Yes, but didn’t we already establish this? There is a problem to be fixed in 
nb-javac and you have a workaround: don’t use nb-javac.

> renaming a method throws java.util.ConcurrentModificationException
> --
>
> Key: NETBEANS-3263
> URL: https://issues.apache.org/jira/browse/NETBEANS-3263
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Refactoring
>Affects Versions: 11.2
> Environment: Windows 10 64bit
> OpenJDK 12.0.1 (from AdoptOpenJDK)
>Reporter: Thomas Kellerer
>Priority: Major
> Attachments: ClassTwo.dump, RefactorTest.zip, messages.log, 
> messages.log.2
>
>
> When trying to rename a method a ConcurrentModificationException is thrown.
> I have attached ZIP file with a small Maven project. When you open ClassOne 
> and try to rename the method {{getFoo()}} the exception is thrown.



--
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-3263) renaming a method throws java.util.ConcurrentModificationException

2019-10-21 Thread Thomas Kellerer (Jira)


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

Thomas Kellerer commented on NETBEANS-3263:
---

Just to confirm: the same thing happens with a clean userdir:

*without* nb-javac -->rename works

After installing nb-javac (into the clean userdir) --> rename breaks again.

 

> renaming a method throws java.util.ConcurrentModificationException
> --
>
> Key: NETBEANS-3263
> URL: https://issues.apache.org/jira/browse/NETBEANS-3263
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Refactoring
>Affects Versions: 11.2
> Environment: Windows 10 64bit
> OpenJDK 12.0.1 (from AdoptOpenJDK)
>Reporter: Thomas Kellerer
>Priority: Major
> Attachments: ClassTwo.dump, RefactorTest.zip, messages.log, 
> messages.log.2
>
>
> When trying to rename a method a ConcurrentModificationException is thrown.
> I have attached ZIP file with a small Maven project. When you open ClassOne 
> and try to rename the method {{getFoo()}} the exception is thrown.



--
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-3263) renaming a method throws java.util.ConcurrentModificationException

2019-10-21 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-3263:
-

I would recommend, since there is a workaround for this issue, and we’ll be 
sure to identify and fix the problem in nb-javac, that you change your -1 vote 
in the Maven thread (wrong place for that vote, should be in the main thread 
for the source and convenience binary, but that’s beside the point).

> renaming a method throws java.util.ConcurrentModificationException
> --
>
> Key: NETBEANS-3263
> URL: https://issues.apache.org/jira/browse/NETBEANS-3263
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Refactoring
>Affects Versions: 11.2
> Environment: Windows 10 64bit
> OpenJDK 12.0.1 (from AdoptOpenJDK)
>Reporter: Thomas Kellerer
>Priority: Major
> Attachments: ClassTwo.dump, RefactorTest.zip, messages.log, 
> messages.log.2
>
>
> When trying to rename a method a ConcurrentModificationException is thrown.
> I have attached ZIP file with a small Maven project. When you open ClassOne 
> and try to rename the method {{getFoo()}} the exception is thrown.



--
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-3263) renaming a method throws java.util.ConcurrentModificationException

2019-10-21 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-3263:
-

nb-javac is the NetBeans fork of the Java compiler. It provides several 
NetBeans-specific enhancements but if you’re able to work without it, that 
would be preferable, ultimately we want to move away from it completely.

> renaming a method throws java.util.ConcurrentModificationException
> --
>
> Key: NETBEANS-3263
> URL: https://issues.apache.org/jira/browse/NETBEANS-3263
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Refactoring
>Affects Versions: 11.2
> Environment: Windows 10 64bit
> OpenJDK 12.0.1 (from AdoptOpenJDK)
>Reporter: Thomas Kellerer
>Priority: Major
> Attachments: ClassTwo.dump, RefactorTest.zip, messages.log, 
> messages.log.2
>
>
> When trying to rename a method a ConcurrentModificationException is thrown.
> I have attached ZIP file with a small Maven project. When you open ClassOne 
> and try to rename the method {{getFoo()}} the exception is thrown.



--
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-3263) renaming a method throws java.util.ConcurrentModificationException

2019-10-21 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-3263:
-

Ah, I see you did that, great. Now we have narrowed the problem to nb-javac, 
the fix must be done there.

> renaming a method throws java.util.ConcurrentModificationException
> --
>
> Key: NETBEANS-3263
> URL: https://issues.apache.org/jira/browse/NETBEANS-3263
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Refactoring
>Affects Versions: 11.2
> Environment: Windows 10 64bit
> OpenJDK 12.0.1 (from AdoptOpenJDK)
>Reporter: Thomas Kellerer
>Priority: Major
> Attachments: ClassTwo.dump, RefactorTest.zip, messages.log, 
> messages.log.2
>
>
> When trying to rename a method a ConcurrentModificationException is thrown.
> I have attached ZIP file with a small Maven project. When you open ClassOne 
> and try to rename the method {{getFoo()}} the exception is thrown.



--
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-3263) renaming a method throws java.util.ConcurrentModificationException

2019-10-21 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-3263:
-

Can you start NetBeans with a fresh user directory and do not install nb-javac 
and then try to reproduce the issue? Can you do this and then discuss other 
approaches and questions after that?

> renaming a method throws java.util.ConcurrentModificationException
> --
>
> Key: NETBEANS-3263
> URL: https://issues.apache.org/jira/browse/NETBEANS-3263
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Refactoring
>Affects Versions: 11.2
> Environment: Windows 10 64bit
> OpenJDK 12.0.1 (from AdoptOpenJDK)
>Reporter: Thomas Kellerer
>Priority: Major
> Attachments: ClassTwo.dump, RefactorTest.zip, messages.log, 
> messages.log.2
>
>
> When trying to rename a method a ConcurrentModificationException is thrown.
> I have attached ZIP file with a small Maven project. When you open ClassOne 
> and try to rename the method {{getFoo()}} the exception is thrown.



--
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-3263) renaming a method throws java.util.ConcurrentModificationException

2019-10-21 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-3263:
-

When I uninstall nb-javac, the problem cannot be reproduced.

Please try and confirm.

> renaming a method throws java.util.ConcurrentModificationException
> --
>
> Key: NETBEANS-3263
> URL: https://issues.apache.org/jira/browse/NETBEANS-3263
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Refactoring
>Affects Versions: 11.2
> Environment: Windows 10 64bit
> OpenJDK 12.0.1 (from AdoptOpenJDK)
>Reporter: Thomas Kellerer
>Priority: Major
> Attachments: ClassTwo.dump, RefactorTest.zip, messages.log
>
>
> When trying to rename a method a ConcurrentModificationException is thrown.
> I have attached ZIP file with a small Maven project. When you open ClassOne 
> and try to rename the method {{getFoo()}} the exception is thrown.



--
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-3263) renaming a method throws java.util.ConcurrentModificationException

2019-10-21 Thread Thomas Kellerer (Jira)


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

Thomas Kellerer commented on NETBEANS-3263:
---

When I (only) de-active nb-javac I get a java.lang.AssertionError (see attached 
file messages.log.2

When I completely de-install nb-javac I don't get the exception.

 

 

> renaming a method throws java.util.ConcurrentModificationException
> --
>
> Key: NETBEANS-3263
> URL: https://issues.apache.org/jira/browse/NETBEANS-3263
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Refactoring
>Affects Versions: 11.2
> Environment: Windows 10 64bit
> OpenJDK 12.0.1 (from AdoptOpenJDK)
>Reporter: Thomas Kellerer
>Priority: Major
> Attachments: ClassTwo.dump, RefactorTest.zip, messages.log, 
> messages.log.2
>
>
> When trying to rename a method a ConcurrentModificationException is thrown.
> I have attached ZIP file with a small Maven project. When you open ClassOne 
> and try to rename the method {{getFoo()}} the exception is thrown.



--
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-3263) renaming a method throws java.util.ConcurrentModificationException

2019-10-21 Thread Thomas Kellerer (Jira)


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

Thomas Kellerer commented on NETBEANS-3263:
---

What are the downsides of removing nb-javac?

> renaming a method throws java.util.ConcurrentModificationException
> --
>
> Key: NETBEANS-3263
> URL: https://issues.apache.org/jira/browse/NETBEANS-3263
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Refactoring
>Affects Versions: 11.2
> Environment: Windows 10 64bit
> OpenJDK 12.0.1 (from AdoptOpenJDK)
>Reporter: Thomas Kellerer
>Priority: Major
> Attachments: ClassTwo.dump, RefactorTest.zip, messages.log, 
> messages.log.2
>
>
> When trying to rename a method a ConcurrentModificationException is thrown.
> I have attached ZIP file with a small Maven project. When you open ClassOne 
> and try to rename the method {{getFoo()}} the exception is thrown.



--
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-3263) renaming a method throws java.util.ConcurrentModificationException

2019-10-21 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-3263:
-

I can reproduce and a similar bug is 
https://issues.apache.org/jira/browse/NETBEANS-3257.

My environment:

Product Version: Apache NetBeans IDE 11.2
Java: 12.0.1; Java HotSpot(TM) 64-Bit Server VM 12.0.1+12
Runtime: Java(TM) SE Runtime Environment 12.0.1+12
System: Mac OS X version 10.13.6 running on x86_64; UTF-8; en_NL (nb)

The error:

Annotation: An error occurred during parsing of 
'/Users/geertjanwielenga/Downloads/RefactorTest/src/main/java/com/test/refactortest/ClassTwo.java'.
 Please report a bug against java/source and attach dump file 
'/Users/geertjanwielenga/Library/Application 
Support/NetBeans/11.2-vc1/var/log/ClassTwo.dump'.
Annotation: An error occurred during parsing of 
'/Users/geertjanwielenga/Downloads/RefactorTest/src/main/java/com/test/refactortest/ClassTwo.java'.
 Please report a bug against java/source and attach dump file 
'/Users/geertjanwielenga/Library/Application 
Support/NetBeans/11.2-vc1/var/log/ClassTwo.dump'.
An error occurred during parsing of 
'/Users/geertjanwielenga/Downloads/RefactorTest/src/main/java/com/test/refactortest/ClassTwo.java'.
 Please report a bug against java/source and attach dump file 
'/Users/geertjanwielenga/Library/Application 
Support/NetBeans/11.2-vc1/var/log/ClassTwo.dump'.
An error occurred during parsing of 
'/Users/geertjanwielenga/Downloads/RefactorTest/src/main/java/com/test/refactortest/ClassTwo.java'.
 Please report a bug against java/source and attach dump file 
'/Users/geertjanwielenga/Library/Application 
Support/NetBeans/11.2-vc1/var/log/ClassTwo.dump'.
Caused: java.lang.AssertionError
at com.sun.tools.javac.util.Assert.error(Assert.java:155)
at com.sun.tools.javac.util.Assert.checkNonNull(Assert.java:62)
at 
com.sun.tools.javac.comp.Modules.setCompilationUnitModules(Modules.java:559)
at com.sun.tools.javac.comp.Modules.enter(Modules.java:287)
at com.sun.tools.javac.comp.Modules.enter(Modules.java:268)
at com.sun.tools.javac.comp.Modules.initModules(Modules.java:259)
at 
com.sun.tools.javac.main.JavaCompiler.initModules(JavaCompiler.java:1126)
at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:393)
at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:327)
at 
org.netbeans.modules.java.source.parsing.JavacParser.moveToPhase(JavacParser.java:660)
at 
org.netbeans.modules.java.source.parsing.CompilationInfoImpl.toPhase(CompilationInfoImpl.java:361)
at 
org.netbeans.api.java.source.CompilationController.toPhase(CompilationController.java:84)
at 
org.netbeans.api.java.source.WorkingCopy.toPhase(WorkingCopy.java:193)
at 
org.netbeans.modules.refactoring.java.spi.RefactoringVisitor.setWorkingCopy(RefactoringVisitor.java:110)
at 
org.netbeans.modules.refactoring.java.spi.JavaRefactoringPlugin$TransformTask.run(JavaRefactoringPlugin.java:425)
at 
org.netbeans.modules.refactoring.java.spi.JavaRefactoringPlugin$TransformTask.run(JavaRefactoringPlugin.java:408)
at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:673)
at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:663)
at 
org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:502)
at 
org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
at 
org.netbeans.modules.parsing.api.ParserManager$MultiUserTaskAction.run(ParserManager.java:166)
at 
org.netbeans.modules.parsing.api.ParserManager$MultiUserTaskAction.run(ParserManager.java:138)
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:83)
at 
org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:452)
at 
org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:423)
at 
org.netbeans.api.java.source.JavaSource.runModificationTask(JavaSource.java:684)
at 
org.netbeans.modules.refactoring.java.spi.JavaRefactoringP

[jira] [Commented] (NETBEANS-3263) renaming a method throws java.util.ConcurrentModificationException

2019-10-21 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-3263:
-

Can you try without nb-javac to see if that makes a difference?

> renaming a method throws java.util.ConcurrentModificationException
> --
>
> Key: NETBEANS-3263
> URL: https://issues.apache.org/jira/browse/NETBEANS-3263
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Refactoring
>Affects Versions: 11.2
> Environment: Windows 10 64bit
> OpenJDK 12.0.1 (from AdoptOpenJDK)
>Reporter: Thomas Kellerer
>Priority: Major
> Attachments: ClassTwo.dump, RefactorTest.zip, messages.log
>
>
> When trying to rename a method a ConcurrentModificationException is thrown.
> I have attached ZIP file with a small Maven project. When you open ClassOne 
> and try to rename the method {{getFoo()}} the exception is thrown.



--
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-3263) renaming a method throws java.util.ConcurrentModificationException

2019-10-21 Thread Thomas Kellerer (Jira)


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

Thomas Kellerer commented on NETBEANS-3263:
---

As logged in messages.log:

*  Product Version = Apache NetBeans IDE 11.2
* Operating System = Windows 10 version 10.0 running on amd64
* Java; VM; Vendor = 12.0.1; OpenJDK 64-Bit Server VM 12.0.1+12; AdoptOpenJDK
* Runtime = OpenJDK Runtime Environment 12.0.1+12

> renaming a method throws java.util.ConcurrentModificationException
> --
>
> Key: NETBEANS-3263
> URL: https://issues.apache.org/jira/browse/NETBEANS-3263
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Refactoring
>Affects Versions: 11.2
>Reporter: Thomas Kellerer
>Priority: Major
> Attachments: ClassTwo.dump, RefactorTest.zip, messages.log
>
>
> When trying to rename a method a ConcurrentModificationException is thrown.
> I have attached ZIP file with a small Maven project. When you open ClassOne 
> and try to rename the method {{getFoo()}} the exception is thrown.



--
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-3263) renaming a method throws java.util.ConcurrentModificationException

2019-10-21 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-3263:
-

Which operating system? Which JDK? With or without nb-javac?

> renaming a method throws java.util.ConcurrentModificationException
> --
>
> Key: NETBEANS-3263
> URL: https://issues.apache.org/jira/browse/NETBEANS-3263
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Refactoring
>Affects Versions: 11.2
>Reporter: Thomas Kellerer
>Priority: Major
> Attachments: ClassTwo.dump, RefactorTest.zip, messages.log
>
>
> When trying to rename a method a ConcurrentModificationException is thrown.
> I have attached ZIP file with a small Maven project. When you open ClassOne 
> and try to rename the method {{getFoo()}} the exception is thrown.



--
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