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.
Summary: | Message "initializing HTML validator" locks up in installed HTML Editor sample app | ||
---|---|---|---|
Product: | web | Reporter: | tonythebear |
Component: | HTML Editor | Assignee: | Milutin Kristofic <mkristofic> |
Status: | NEW --- | ||
Severity: | normal | CC: | kganfield, tonythebear |
Priority: | P4 | ||
Version: | 7.2.1 | ||
Hardware: | PC | ||
OS: | Windows 8 x64 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | messages.log file |
Description
tonythebear
2012-11-28 19:41:46 UTC
Was the JVM doing something (cpu loaded)? or it was a deadlock? Could you please attach a threadump of the JVM when this issue happens? Thanks. BTW this is not a problem of the html editor module itself as it works under normal circumstances => p4 Created attachment 128631 [details]
messages.log file
(In reply to comment #1) > Was the JVM doing something (cpu loaded)? or it was a deadlock? Could you > please attach a threadump of the JVM when this issue happens? Thanks. > > BTW this is not a problem of the html editor module itself as it works under > normal circumstances => p4 I tried again and received following message: java.lang.OutOfMemoryError: Java heap space at java.awt.image.DataBufferInt.<init>(DataBufferInt.java:75) at java.awt.image.Raster.createPackedRaster(Raster.java:470) at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:1032) at java.awt.image.BufferedImage.<init>(BufferedImage.java:338) at com.sun.java.swing.plaf.windows.XPStyle$SkinPainter.createImage(XPStyle.java:673) at sun.swing.CachedPainter.paint0(CachedPainter.java:139) at sun.swing.CachedPainter.paint(CachedPainter.java:111) at com.sun.java.swing.plaf.windows.XPStyle$Skin.paintSkinRaw(XPStyle.java:610) at com.sun.java.swing.plaf.windows.AnimationController.paintSkin(AnimationController.java:253) at com.sun.java.swing.plaf.windows.XPStyle$Skin.paintSkin(XPStyle.java:589) at com.sun.java.swing.plaf.windows.WindowsProgressBarUI.paintXPBackground(WindowsProgressBarUI.java:398) at com.sun.java.swing.plaf.windows.WindowsProgressBarUI.paintIndeterminate(WindowsProgressBarUI.java:293) at javax.swing.plaf.basic.BasicProgressBarUI.paint(BasicProgressBarUI.java:410) at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161) at javax.swing.JComponent.paintComponent(JComponent.java:778) at javax.swing.JComponent.paint(JComponent.java:1054) at javax.swing.JComponent.paintChildren(JComponent.java:887) at javax.swing.JComponent.paint(JComponent.java:1063) at javax.swing.JComponent.paintChildren(JComponent.java:887) at javax.swing.JComponent.paint(JComponent.java:1063) at javax.swing.JComponent.paintToOffscreen(JComponent.java:5221) at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1482) at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1413) at javax.swing.RepaintManager.paint(RepaintManager.java:1206) at javax.swing.JComponent._paintImmediately(JComponent.java:5169) at javax.swing.JComponent.paintImmediately(JComponent.java:4980) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:770) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:728) at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:677) at javax.swing.RepaintManager.access$700(RepaintManager.java:59) at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1621) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251) I have sent messages.log as an attachment. There is also a heapdump.prof file but this is 79MB so too large to attach. Thank you for the info. However it is not very helpful. Would you be able to take several threaddumps during the period when the IDE is "locked up"? (In reply to comment #4) > Thank you for the info. However it is not very helpful. Would you be able to > take several threaddumps during the period when the IDE is "locked up"? Please tell me how to do this. Bear in mind that it is being called from an exe file (after using the generated installation feature of NB platform) rather than from within the IDE itself. As an experiment I changed the memory allocation from the default of Xmx64m to Xmx512m and it seems to work ok now. The HTML files being used are tiny, so surprising that default memory is not sufficient. Issue confirmed in NetBeans 8.0 on Linux 3.14.8 64bit. Had to increase JVM memory limits to get past "Initializing HTML Validator" freezing the IDE as soon as I opened a PHP- or TPL-file. |