You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by "qualishovt (via GitHub)" <gi...@apache.org> on 2023/03/10 21:26:39 UTC
[GitHub] [netbeans] qualishovt opened a new issue, #5650: Unexpected exception
qualishovt opened a new issue, #5650:
URL: https://github.com/apache/netbeans/issues/5650
### Apache NetBeans version
Apache NetBeans 17
### What happened
java.lang.NullPointerException: Cannot invoke "java.util.Collection.toArray()" because "c" is null
at java.base/java.util.ArrayList.<init>(ArrayList.java:181)
at org.netbeans.modules.web.indent.api.support.IndenterFormattingContext.getAndClearChanges(IndenterFormattingContext.java:85)
at org.netbeans.modules.web.indent.api.support.AbstractIndenter.reindent(AbstractIndenter.java:203)
at org.netbeans.modules.html.editor.indent.HtmlIndentTask.reindent(HtmlIndentTask.java:49)
at de.funfried.netbeans.plugins.external.formatter.ui.editor.ExternalFormatterIndentTaskFactory.formatWithNetBeansIndenter(ExternalFormatterIndentTaskFactory.java:151)
at de.funfried.netbeans.plugins.external.formatter.ui.editor.ExternalFormatterIndentTaskFactory$2.reindent(ExternalFormatterIndentTaskFactory.java:96)
at org.netbeans.modules.editor.indent.TaskHandler$MimeItem.runTask(TaskHandler.java:548)
at org.netbeans.modules.editor.indent.TaskHandler.runTasks(TaskHandler.java:309)
at org.netbeans.modules.editor.indent.IndentImpl.reformat(IndentImpl.java:349)
at org.netbeans.modules.editor.indent.api.Reformat.reformat(Reformat.java:129)
at org.netbeans.editor.ActionFactory$FormatAction$1$1.run(ActionFactory.java:1862)
at org.netbeans.editor.GuardedDocument.runAtomicAsUser(GuardedDocument.java:335)
at org.netbeans.editor.ActionFactory$FormatAction$1.run(ActionFactory.java:1841)
at org.netbeans.modules.progress.ui.RunOffEDTImpl$1.run(RunOffEDTImpl.java:146)
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:287)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
### How to reproduce
_No response_
### Did this work correctly in an earlier version?
No / Don't know
### Operating System
Windows 11
### JDK
18
### Apache NetBeans packaging
Apache NetBeans provided installer
### Anything else
_No response_
### Are you willing to submit a pull request?
No
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] funfried commented on issue #5650: Unexpected exception
Posted by "funfried (via GitHub)" <gi...@apache.org>.
funfried commented on issue #5650:
URL: https://github.com/apache/netbeans/issues/5650#issuecomment-1681162786
I fixed this issue within my plugin, therefore this ticket can be closed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] junichi11 closed issue #5650: Unexpected exception
Posted by "junichi11 (via GitHub)" <gi...@apache.org>.
junichi11 closed issue #5650: Unexpected exception
URL: https://github.com/apache/netbeans/issues/5650
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] OndroMih commented on issue #5650: Unexpected exception
Posted by "OndroMih (via GitHub)" <gi...@apache.org>.
OndroMih commented on issue #5650:
URL: https://github.com/apache/netbeans/issues/5650#issuecomment-1645770986
This happens for me in Netbeans 18, Ubuntu Linux, Java 17. I reproduced it with the following steps:
* installed the External Code Formatters plugin. No need to configure anything in Options.
* On any project (I tried a Java maven web project), select the project root directory, click Source in the top menu, then Format, then OK
* Formatting starts but stops almost immediately, with this error in the Notifications window
When I uninstall the External Code Formatters plugin, all works.
Maybe it's better to raise this in the plugin project? https://github.com/funfried/externalcodeformatter_for_netbeans
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists