Re: GUI stuck using nightly build and Java 8 u 112 on Mac osx El Capitan

2017-01-30 Thread Philippe Mouawad
See:

- https://bugs.openjdk.java.net/browse/JDK-8172336



On Thursday, January 5, 2017, Philippe Mouawad 
wrote:

> Hello,
> I've noticed recently  that GUI get stuck when clicking in View Results
> Tree on a SampleResult using default Text renderer.
>
> I made some thread dumps and sun.font.CStrike seems to  always be
> involved, anybody facing same issue ? It looks like a Java bug no ?:
> "AWT-EventQueue-0" #20 prio=6 os_prio=31 tid=0x7fa7a8afc000 nid=0xf707
> runnable [0x72202000]
>java.lang.Thread.State: RUNNABLE
> at sun.font.CStrike.getNativeGlyphOutline(Native Method)
> at sun.font.CStrike.getGlyphOutline(CStrike.java:215)
> at sun.font.CStrike.getGlyphOutlineBounds(CStrike.java:177)
> at sun.font.StandardGlyphVector$GlyphStrike.getGlyphOutlineBounds(
> StandardGlyphVector.java:1792)
> at sun.font.StandardGlyphVector.getGlyphOutlineBounds(
> StandardGlyphVector.java:1174)
> at sun.font.StandardGlyphVector.getGlyphVisualBounds(
> StandardGlyphVector.java:586)
> at sun.font.StandardGlyphVector.getGlyphInfo(
> StandardGlyphVector.java:864)
> at sun.font.ExtendedTextSourceLabel.createCharinfo(
> ExtendedTextSourceLabel.java:622)
> at sun.font.ExtendedTextSourceLabel.getCharinfo(
> ExtendedTextSourceLabel.java:548)
> at sun.font.ExtendedTextSourceLabel.getLineBreakIndex(
> ExtendedTextSourceLabel.java:480)
> at java.awt.font.TextMeasurer.calcLineBreak(TextMeasurer.java:330)
> at java.awt.font.TextMeasurer.getLineBreakIndex(TextMeasurer.java:566)
> at java.awt.font.LineBreakMeasurer.nextOffset(
> LineBreakMeasurer.java:359)
> at java.awt.font.LineBreakMeasurer.nextLayout(
> LineBreakMeasurer.java:440)
> at javax.swing.text.TextLayoutStrategy.sync(
> TextLayoutStrategy.java:324)
> at javax.swing.text.TextLayoutStrategy.insertUpdate(
> TextLayoutStrategy.java:70)
> at javax.swing.text.FlowView.insertUpdate(FlowView.java:256)
> at javax.swing.text.View.forwardUpdateToView(View.java:1227)
> at javax.swing.text.View.forwardUpdate(View.java:1162)
> at javax.swing.text.BoxView.forwardUpdate(BoxView.java:240)
> at javax.swing.text.View.insertUpdate(View.java:710)
> at javax.swing.plaf.basic.BasicTextUI$RootView.
> insertUpdate(BasicTextUI.java:1610)
> at javax.swing.plaf.basic.BasicTextUI$UpdateHandler.
> insertUpdate(BasicTextUI.java:1869)
> at javax.swing.text.AbstractDocument.fireInsertUpdate(
> AbstractDocument.java:201)
> at javax.swing.text.AbstractDocument.handleInsertString(
> AbstractDocument.java:748)
> at javax.swing.text.AbstractDocument.insertString(
> AbstractDocument.java:707)
> at javax.swing.text.PlainDocument.insertString(PlainDocument.java:130)
> at javax.swing.text.DefaultEditorKit.read(DefaultEditorKit.java:273)
> at javax.swing.JEditorPane.setText(JEditorPane.java:1416)
> at org.apache.jmeter.visualizers.RenderAsText.showTextResponse(
> RenderAsText.java:36)
> at org.apache.jmeter.visualizers.RenderAsText.renderResult(
> RenderAsText.java:31)
> at org.apache.jmeter.visualizers.ViewResultsFullVisualizer.
> valueChanged(ViewResultsFullVisualizer.java:270)
> at javax.swing.JTree.fireValueChanged(JTree.java:2927)
> at javax.swing.JTree$TreeSelectionRedirector.
> valueChanged(JTree.java:3391)
> at javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(
> DefaultTreeSelectionModel.java:635)
> at javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(
> DefaultTreeSelectionModel.java:1093)
> at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths(
> DefaultTreeSelectionModel.java:294)
> at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPath(
> DefaultTreeSelectionModel.java:188)
> at javax.swing.JTree.setSelectionPath(JTree.java:1634)
> at javax.swing.plaf.basic.BasicTreeUI.selectPathForEvent(
> BasicTreeUI.java:2393)
> at javax.swing.plaf.basic.BasicTreeUI$Handler.
> handleSelection(BasicTreeUI.java:3609)
> at javax.swing.plaf.basic.BasicTreeUI$Handler.
> mousePressed(BasicTreeUI.java:3548)
> at java.awt.Component.processMouseEvent(Component.java:6530)
> at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
> at java.awt.Component.processEvent(Component.java:6298)
> at java.awt.Container.processEvent(Container.java:2236)
> at java.awt.Component.dispatchEventImpl(Component.java:4889)
> at java.awt.Container.dispatchEventImpl(Container.java:2294)
> at java.awt.Component.dispatchEvent(Component.java:4711)
> at java.awt.LightweightDispatcher.retargetMouseEvent(Container.
> java:4888)
> at java.awt.LightweightDispatcher.processMouseEvent(Container.
> java:4522)
> at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
> at java.awt.Container.dispatchEventImpl(Container.java:2280)
> at java.awt.Window.dispatchEventImpl(Window.java:2746)
> at java.awt.Component.dispatchEvent(Component.java:4711)
> at java.awt.EventQu

GUI stuck using nightly build and Java 8 u 112 on Mac osx El Capitan

2017-01-05 Thread Philippe Mouawad
Hello,
I've noticed recently  that GUI get stuck when clicking in View Results
Tree on a SampleResult using default Text renderer.

I made some thread dumps and sun.font.CStrike seems to  always be involved,
anybody facing same issue ? It looks like a Java bug no ?:
"AWT-EventQueue-0" #20 prio=6 os_prio=31 tid=0x7fa7a8afc000 nid=0xf707
runnable [0x72202000]
   java.lang.Thread.State: RUNNABLE
at sun.font.CStrike.getNativeGlyphOutline(Native Method)
at sun.font.CStrike.getGlyphOutline(CStrike.java:215)
at sun.font.CStrike.getGlyphOutlineBounds(CStrike.java:177)
at
sun.font.StandardGlyphVector$GlyphStrike.getGlyphOutlineBounds(StandardGlyphVector.java:1792)
at
sun.font.StandardGlyphVector.getGlyphOutlineBounds(StandardGlyphVector.java:1174)
at
sun.font.StandardGlyphVector.getGlyphVisualBounds(StandardGlyphVector.java:586)
at
sun.font.StandardGlyphVector.getGlyphInfo(StandardGlyphVector.java:864)
at
sun.font.ExtendedTextSourceLabel.createCharinfo(ExtendedTextSourceLabel.java:622)
at
sun.font.ExtendedTextSourceLabel.getCharinfo(ExtendedTextSourceLabel.java:548)
at
sun.font.ExtendedTextSourceLabel.getLineBreakIndex(ExtendedTextSourceLabel.java:480)
at java.awt.font.TextMeasurer.calcLineBreak(TextMeasurer.java:330)
at java.awt.font.TextMeasurer.getLineBreakIndex(TextMeasurer.java:566)
at
java.awt.font.LineBreakMeasurer.nextOffset(LineBreakMeasurer.java:359)
at
java.awt.font.LineBreakMeasurer.nextLayout(LineBreakMeasurer.java:440)
at javax.swing.text.TextLayoutStrategy.sync(TextLayoutStrategy.java:324)
at
javax.swing.text.TextLayoutStrategy.insertUpdate(TextLayoutStrategy.java:70)
at javax.swing.text.FlowView.insertUpdate(FlowView.java:256)
at javax.swing.text.View.forwardUpdateToView(View.java:1227)
at javax.swing.text.View.forwardUpdate(View.java:1162)
at javax.swing.text.BoxView.forwardUpdate(BoxView.java:240)
at javax.swing.text.View.insertUpdate(View.java:710)
at
javax.swing.plaf.basic.BasicTextUI$RootView.insertUpdate(BasicTextUI.java:1610)
at
javax.swing.plaf.basic.BasicTextUI$UpdateHandler.insertUpdate(BasicTextUI.java:1869)
at
javax.swing.text.AbstractDocument.fireInsertUpdate(AbstractDocument.java:201)
at
javax.swing.text.AbstractDocument.handleInsertString(AbstractDocument.java:748)
at
javax.swing.text.AbstractDocument.insertString(AbstractDocument.java:707)
at javax.swing.text.PlainDocument.insertString(PlainDocument.java:130)
at javax.swing.text.DefaultEditorKit.read(DefaultEditorKit.java:273)
at javax.swing.JEditorPane.setText(JEditorPane.java:1416)
at
org.apache.jmeter.visualizers.RenderAsText.showTextResponse(RenderAsText.java:36)
at
org.apache.jmeter.visualizers.RenderAsText.renderResult(RenderAsText.java:31)
at
org.apache.jmeter.visualizers.ViewResultsFullVisualizer.valueChanged(ViewResultsFullVisualizer.java:270)
at javax.swing.JTree.fireValueChanged(JTree.java:2927)
at
javax.swing.JTree$TreeSelectionRedirector.valueChanged(JTree.java:3391)
at
javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(DefaultTreeSelectionModel.java:635)
at
javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(DefaultTreeSelectionModel.java:1093)
at
javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths(DefaultTreeSelectionModel.java:294)
at
javax.swing.tree.DefaultTreeSelectionModel.setSelectionPath(DefaultTreeSelectionModel.java:188)
at javax.swing.JTree.setSelectionPath(JTree.java:1634)
at
javax.swing.plaf.basic.BasicTreeUI.selectPathForEvent(BasicTreeUI.java:2393)
at
javax.swing.plaf.basic.BasicTreeUI$Handler.handleSelection(BasicTreeUI.java:3609)
at
javax.swing.plaf.basic.BasicTreeUI$Handler.mousePressed(BasicTreeUI.java:3548)
at java.awt.Component.processMouseEvent(Component.java:6530)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6298)
at java.awt.Container.processEvent(Container.java:2236)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2294)
at java.awt.Component.dispatchEvent(Component.java:4711)
at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4522)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
at java.awt.Container.dispatchEventImpl(Container.java:2280)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessI