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

Junichi Yamamoto commented on NETBEANS-5968:
--------------------------------------------

Could you please provide your exact steps to reproduce it with an example code?

> yaml support component hung while transforming json content in non-json yaml
> ----------------------------------------------------------------------------
>
>                 Key: NETBEANS-5968
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-5968
>             Project: NetBeans
>          Issue Type: Bug
>          Components: yaml - Editor
>    Affects Versions: 12.4
>            Reporter: ED
>            Priority: Major
>
> <record>
>  <date>2021-09-01T19:00:38</date>
>  <millis>1630515638668</millis>
>  <sequence>12667</sequence>
>  <logger>org.openide.util.Exceptions</logger>
>  <level>1001</level>
>  <thread>73</thread>
>  <param>/home/ericdegenetais/.netbeans/12.4/var/log/heapdump.hprof</param>
>  <exception>
>  <message>java.lang.OutOfMemoryError: Java heap space</message>
>  <frame>
>  <class>java.util.Arrays</class>
>  <method>copyOf</method>
>  <line>3689</line>
>  <file>jrt:/java.base/java/util/Arrays.class</file>
>  </frame>
>  <frame>
>  <class>java.util.ArrayList</class>
>  <method>grow</method>
>  <line>238</line>
>  <file>jrt:/java.base/java/util/ArrayList.class</file>
>  </frame>
>  <frame>
>  <class>java.util.ArrayList</class>
>  <method>grow</method>
>  <line>243</line>
>  <file>jrt:/java.base/java/util/ArrayList.class</file>
>  </frame>
>  <frame>
>  <class>java.util.ArrayList</class>
>  <method>add</method>
>  <line>486</line>
>  <file>jrt:/java.base/java/util/ArrayList.class</file>
>  </frame>
>  <frame>
>  <class>java.util.ArrayList</class>
>  <method>add</method>
>  <line>499</line>
>  <file>jrt:/java.base/java/util/ArrayList.class</file>
>  </frame>
>  <frame>
>  <class>org.netbeans.modules.languages.yaml.YamlParser$2$1</class>
>  <method>parserException</method>
>  <line>285</line>
>  <file>${netBeansDir}modules/org-netbeans-modules-languages-yaml.jar</file>
>  </frame>
>  <frame>
>  <class>org.jvyamlb.ParserImpl$ProductionEnvironment</class>
>  <method>produce</method>
>  <line>407</line>
>  <file>${netBeansDir}modules/ext/jvyamlb-0.2.6.jar</file>
>  </frame>
>  <frame>
>  
> <class>org.jvyamlb.PositioningParserImpl$PositioningProductionEnvironment</class>
>  <method>produce</method>
>  <line>143</line>
>  <file>${netBeansDir}modules/ext/jvyamlb-0.2.6.jar</file>
>  </frame>
>  <frame>
>  <class>org.jvyamlb.ParserImpl</class>
>  <method>parseStreamNext</method>
>  <line>834</line>
>  <file>${netBeansDir}modules/ext/jvyamlb-0.2.6.jar</file>
>  </frame>
>  <frame>
>  <class>org.jvyamlb.ParserImpl</class>
>  <method>peekEvent</method>
>  <line>781</line>
>  <file>${netBeansDir}modules/ext/jvyamlb-0.2.6.jar</file>
>  </frame>
>  <frame>
>  <class>org.jvyamlb.ComposerImpl</class>
>  <method>composeNode</method>
>  <line>161</line>
>  <file>${netBeansDir}modules/ext/jvyamlb-0.2.6.jar</file>
>  </frame>
>  <frame>
>  <class>org.jvyamlb.ComposerImpl</class>
>  <method>composeDocument</method>
>  <line>78</line>
>  <file>${netBeansDir}modules/ext/jvyamlb-0.2.6.jar</file>
>  </frame>
>  <frame>
>  <class>org.jvyamlb.ComposerImpl</class>
>  <method>getNode</method>
>  <line>54</line>
>  <file>${netBeansDir}modules/ext/jvyamlb-0.2.6.jar</file>
>  </frame>
>  <frame>
>  <class>org.jvyamlb.ComposerImpl$NodeIterator</class>
>  <method>next</method>
>  <line>59</line>
>  <file>${netBeansDir}modules/ext/jvyamlb-0.2.6.jar</file>
>  </frame>
>  <frame>
>  <class>org.netbeans.modules.languages.yaml.YamlParser</class>
>  <method>parse</method>
>  <line>308</line>
>  <file>${netBeansDir}modules/org-netbeans-modules-languages-yaml.jar</file>
>  </frame>
>  <frame>
>  <class>org.netbeans.modules.languages.yaml.YamlParser</class>
>  <method>parse</method>
>  <line>404</line>
>  <file>${netBeansDir}modules/org-netbeans-modules-languages-yaml.jar</file>
>  </frame>
>  <frame>
>  <class>org.netbeans.modules.parsing.impl.TaskProcessor</class>
>  <method>callParse</method>
>  <line>598</line>
>  <file>${netBeansDir}modules/org-netbeans-modules-parsing-api.jar</file>
>  </frame>
>  <frame>
>  <class>org.netbeans.modules.parsing.impl.SourceCache</class>
>  <method>getResult</method>
>  <line>228</line>
>  <file>${netBeansDir}modules/org-netbeans-modules-parsing-api.jar</file>
>  </frame>
>  <frame>
>  
> <class>org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer</class>
>  <method>run</method>
>  <line>775</line>
>  <file>${netBeansDir}modules/org-netbeans-modules-parsing-api.jar</file>
>  </frame>
>  <frame>
>  <class>org.openide.util.lookup.Lookups</class>
>  <method>executeWith</method>
>  <line>279</line>
>  
> <file>/usr/hispeed/ericdegenetais/netbeans-12.4/netbeans/platform/lib/org-openide-util-lookup.jar</file>
>  </frame>
>  <frame>
>  
> <class>org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer</class>
>  <method>execute</method>
>  <line>702</line>
>  <file>${netBeansDir}modules/org-netbeans-modules-parsing-api.jar</file>
>  </frame>
>  <frame>
>  <class>org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob</class>
>  <method>run</method>
>  <line>663</line>
>  <file>${netBeansDir}modules/org-netbeans-modules-parsing-api.jar</file>
>  </frame>
>  <frame>
>  <class>java.util.concurrent.Executors$RunnableAdapter</class>
>  <method>call</method>
>  <line>515</line>
>  
> <file>jrt:/java.base/java/util/concurrent/Executors$RunnableAdapter.class</file>
>  </frame>
>  <frame>
>  <class>java.util.concurrent.FutureTask</class>
>  <method>run</method>
>  <line>264</line>
>  <file>jrt:/java.base/java/util/concurrent/FutureTask.class</file>
>  </frame>
>  <frame>
>  <class>org.openide.util.RequestProcessor$Task</class>
>  <method>run</method>
>  <line>1418</line>
>  
> <file>/usr/hispeed/ericdegenetais/netbeans-12.4/netbeans/platform/lib/org-openide-util.jar</file>
>  </frame>
>  <frame>
>  <class>org.netbeans.modules.openide.util.GlobalLookup</class>
>  <method>execute</method>
>  <line>45</line>
>  
> <file>/usr/hispeed/ericdegenetais/netbeans-12.4/netbeans/platform/lib/org-openide-util-lookup.jar</file>
>  </frame>
>  <frame>
>  <class>org.openide.util.lookup.Lookups</class>
>  <method>executeWith</method>
>  <line>278</line>
>  
> <file>/usr/hispeed/ericdegenetais/netbeans-12.4/netbeans/platform/lib/org-openide-util-lookup.jar</file>
>  </frame>
>  <frame>
>  <class>org.openide.util.RequestProcessor$Processor</class>
>  <method>run</method>
>  <line>2033</line>
>  
> <file>/usr/hispeed/ericdegenetais/netbeans-12.4/netbeans/platform/lib/org-openide-util.jar</file>
>  </frame>
>  </exception>
> </record>
> <record>
>  <date>2021-09-01T19:42:38</date>
>  <millis>1630518158770</millis>
>  <sequence>6924</sequence>
>  <level>700</level>
>  <thread>79</thread>
>  <message>UI_USER_CONFIGURATION</message>
>  <key>UI_USER_CONFIGURATION</key>
>  <catalog>org.netbeans.modules.uihandler.Bundle</catalog>
>  <param>Linux, 4.19.0-17-amd64, amd64</param>
>  <param>OpenJDK 64-Bit Server VM, 11.0.12+7-post-Debian-2deb10u1, OpenJDK 
> Runtime Environment, 11.0.12+7-post-Debian-2deb10u1</param>
>  <param>Apache NetBeans IDE 12.4</param>
>  <param></param>
>  <param>OutOfMemoryError: Java heap space</param>
>  <param>Pasted json code in a *.yaml file. Rewrote it as non-json yaml by 
> hand.</param>
>  <param>*********</param>
> </record>



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

Reply via email to