This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
NetBeans trunk build from yesterday. jdk1.6. linux 2.6.18. gnome. My velocity templates are registered as html files and are edited accordingly in netbeans. A few of my templates contain javascript. When I try to open these files the IDE throttles and i must force kill it. At the command line netbeans logs during the throttle: INFO [org.netbeans.modules.html.editor.coloring.EmbeddingUpdater]: Embedding for text/javascript created [5918 - 6192]. INFO [org.netbeans.modules.html.editor.coloring.EmbeddingUpdater]: Embedding for text/javascript created [5918 - 6192]. INFO [org.netbeans.modules.html.editor.coloring.EmbeddingUpdater]: Embedding for text/javascript created [5918 - 6192]. INFO [org.netbeans.modules.html.editor.coloring.EmbeddingUpdater]: Embedding for text/javascript created [5918 - 6192]. INFO [org.netbeans.modules.html.editor.coloring.EmbeddingUpdater]: Embedding for text/javascript created [5918 - 6192]. INFO [org.netbeans.modules.html.editor.coloring.EmbeddingUpdater]: Embedding for text/javascript created [5918 - 6192]. INFO [org.netbeans.modules.html.editor.coloring.EmbeddingUpdater]: Embedding for text/javascript created [15757 - 16042]. INFO [org.netbeans.modules.html.editor.coloring.EmbeddingUpdater]: Embedding for text/javascript created [15757 - 16042]. INFO [org.netbeans.modules.html.editor.coloring.EmbeddingUpdater]: Embedding for text/javascript created [15757 - 16042]. INFO [org.netbeans.modules.html.editor.coloring.EmbeddingUpdater]: Embedding for text/javascript created [15757 - 16042]. INFO [org.netbeans.modules.html.editor.coloring.EmbeddingUpdater]: Embedding for text/javascript created [15757 - 16042]. INFO [org.netbeans.modules.html.editor.coloring.EmbeddingUpdater]: Embedding for text/javascript created [15757 - 16042]. and on and on... One examples of the javascript is: <script type="text/javascript"><!-- var focusControl = document.forms["sf"].elements["q"]; if (focusControl.type != "hidden" && !focusControl.disabled) { focusControl.focus(); } // --> </script>
Can you please attach at least of the files causing the problem? If I understand it right the CPU is on 100% after the html file is opened right? Could you do some threaddumps during the load? Thanks in advance.
Cannot reproduce, please can you attach a steps to reproduce or a sample .html file? For now marking as incomplete.
The user hasn't provided the requested steps to reproduce so far, moreover there have been done some performance fixes in JSP editor recently, so I belive the problem is already fixed. Closing as fixed, please reopen and add the steps to reproduce if you can still reproduce on a latest build.
verified I cannot reproduce neither NetBeans IDE Dev (Build 200707031200)