You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2022/03/08 13:43:01 UTC

[GitHub] [netbeans] wumpz opened a new issue #3732: Netbeans freezes while editing a file and resizing its components

wumpz opened a new issue #3732:
URL: https://github.com/apache/netbeans/issues/3732


   ### Apache NetBeans version
   
   Apache NetBeans 13
   
   ### What happened
   
   Complete freeze, Memory got to max (I think). This exception was multiple times at the end of my log:
   
   ```
   INFO [org.netbeans.ui.indexing]: Indexing started, time from last indexing 84.816 ms.
   INFO [org.netbeans.ui.indexing]: Indexing finished, indexing took 15 ms.
   WARNING [org.netbeans.TopSecurityManager]: use of system property netbeans.user has been obsoleted in favor of InstalledFileLocator/Places at org.netbeans.modules.websvc.saas.model.SaasServicesModel.<clinit>(SaasServicesModel.java:46)
   INFO [org.netbeans.modules.gradle.loaders.GradleProjectLoaderImpl]: Load aiming EVALUATED for Unloaded Gradle Project: GradleFiles[projectDir=D:\work\NetBeansProjects\gradleproject1, rootDir=D:\work\NetBeansProjects\gradleproject1]
   INFO [org.netbeans.core.netigso.Netigso]: bundle org.eclipse.osgi@3.9.1.v20140110-1610 256
   INFO [org.netbeans.core.netigso.Netigso]: bundle org.eclipse.osgi@3.9.1.v20140110-1610 stopped
   INFO [null]: Last record repeated again.
   SEVERE [global]
   java.lang.IllegalArgumentException: Zero length string passed to TextLayout constructor.
   	at java.desktop/java.awt.font.TextLayout.<init>(TextLayout.java:382)
   	at org.netbeans.modules.editor.lib2.view.DocumentViewOp.createTextLayout(DocumentViewOp.java:1397)
   	at org.netbeans.modules.editor.lib2.view.HighlightsView.createPartTextLayout(HighlightsView.java:173)
   	at org.netbeans.modules.editor.lib2.view.HighlightsViewPart.getTextLayout(HighlightsViewPart.java:135)
   	at org.netbeans.modules.editor.lib2.view.HighlightsViewPart.getPreferredSpan(HighlightsViewPart.java:79)
   	at org.netbeans.modules.editor.lib2.view.WrapInfoUpdater.createFragment(WrapInfoUpdater.java:548)
   	at org.netbeans.modules.editor.lib2.view.WrapInfoUpdater.initWrapInfo(WrapInfoUpdater.java:152)
   	at org.netbeans.modules.editor.lib2.view.ParagraphViewChildren.buildWrapLines(ParagraphViewChildren.java:371)
   	at org.netbeans.modules.editor.lib2.view.ParagraphViewChildren.updateLayout(ParagraphViewChildren.java:365)
   	at org.netbeans.modules.editor.lib2.view.ParagraphView.updateLayoutAndScheduleRepaint(ParagraphView.java:254)
   	at org.netbeans.modules.editor.lib2.view.ParagraphView.checkLayoutUpdate(ParagraphView.java:240)
   	at org.netbeans.modules.editor.lib2.view.ViewBuilder.replaceRepaintViews(ViewBuilder.java:1214)
   	at org.netbeans.modules.editor.lib2.view.ViewBuilder.createReplaceRepaintViews(ViewBuilder.java:663)
   	at org.netbeans.modules.editor.lib2.view.ViewUpdates.reinitAllViews(ViewUpdates.java:189)
   	at org.netbeans.modules.editor.lib2.view.DocumentViewOp.checkViewsInited(DocumentViewOp.java:619)
   	at org.netbeans.modules.editor.lib2.view.DocumentView.getPreferredSpan(DocumentView.java:226)
   	at java.desktop/javax.swing.plaf.basic.BasicTextUI$RootView.getPreferredSpan(BasicTextUI.java:1459)
   	at java.desktop/javax.swing.plaf.basic.BasicTextUI.getPreferredSize(BasicTextUI.java:955)
   	at java.desktop/javax.swing.JComponent.getPreferredSize(JComponent.java:1680)
   	at java.desktop/javax.swing.JEditorPane.getPreferredSize(JEditorPane.java:1345)
   	at org.netbeans.modules.editor.NbEditorUI$LayeredEditorPane.getPreferredSize(NbEditorUI.java:453)
   	at java.desktop/javax.swing.ScrollPaneLayout.layoutContainer(ScrollPaneLayout.java:799)
   	at java.desktop/java.awt.Container.layout(Container.java:1538)
   	at java.desktop/java.awt.Container.doLayout(Container.java:1527)
   	at java.desktop/java.awt.Container.validateTree(Container.java:1723)
   	at java.desktop/java.awt.Container.validateTree(Container.java:1732)
   	at java.desktop/java.awt.Container.validateTree(Container.java:1732)
   	at java.desktop/java.awt.Container.validateTree(Container.java:1732)
   	at java.desktop/java.awt.Container.validateTree(Container.java:1732)
   	at java.desktop/java.awt.Container.validate(Container.java:1658)
   	at java.desktop/javax.swing.RepaintManager$3.run(RepaintManager.java:745)
   	at java.desktop/javax.swing.RepaintManager$3.run(RepaintManager.java:743)
   	at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
   	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
   	at java.desktop/javax.swing.RepaintManager.validateInvalidComponents(RepaintManager.java:742)
   	at java.desktop/javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1883)
   	at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:316)
   	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
   	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
   	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
   	at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
   	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
   	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
   	at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
   [catch] at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
   	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
   	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
   	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
   	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
   	at java.desktop/java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:188)
   	at java.desktop/java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
   	at java.desktop/java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
   	at java.base/java.security.AccessController.doPrivileged(AccessController.java:312)
   	at java.desktop/java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
   	at org.netbeans.core.NbLifecycleManager.finishExitState(NbLifecycleManager.java:166)
   	at org.netbeans.core.NbLifecycleManager.exit(NbLifecycleManager.java:210)
   	at org.netbeans.core.NbLifecycleManager.exit(NbLifecycleManager.java:115)
   ``ยด
   
   ### How to reproduce
   
   _No response_
   
   ### Did this work correctly in an earlier version?
   
   Apache NetBeans 12.6
   
   ### Operating System
   
   Windows 10 64bit
   
   ### JDK
   
   16
   
   ### Apache NetBeans packaging
   
   Apache NetBeans binary zip
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a pull request?
   
   No
   
   ### Code of Conduct
   
   Yes


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