You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2021/08/10 11:29:10 UTC

[Bug 65494] New: JMeter application cannot work when I have two monitors

https://bz.apache.org/bugzilla/show_bug.cgi?id=65494

            Bug ID: 65494
           Summary: JMeter application cannot work when I have two
                    monitors
           Product: JMeter
           Version: 5.4.1
          Hardware: PC
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: Main
          Assignee: issues@jmeter.apache.org
          Reporter: zhidongnick@vip.qq.com
  Target Milestone: JMETER_5.5

Created attachment 37979
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=37979&action=edit
ERROR1

I have two monitors and I am using Windows 10 Pro. In Display Setting, I am
using <Extend these displays> for multiple displays. 

When I use JMeter to write scripts, after a while, JMeter will be broken like
the attachment. 

If I change multiple displays from <Extend these displays> to <Show Only on 1>.
JMeter can work normally.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 65494] JMeter application cannot work when I use two monitors

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65494

Felix Schumacher <fe...@internetallee.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |WORKSFORME
             Status|NEEDINFO                    |RESOLVED

--- Comment #14 from Felix Schumacher <fe...@internetallee.de> ---
Thanks for the update.

I will close this as WORKSFORME, as I have no chance to reproduce it and having
applied a fix to the reported error in the logs.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 65494] JMeter application cannot work when I use two monitors

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65494

Dong Zhi <zh...@vip.qq.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

--- Comment #8 from Dong Zhi <zh...@vip.qq.com> ---
(In reply to Felix Schumacher from comment #7)
> When is this happening? With an empty test plan? After the execution of a
> test plan? When you display a result?
> 
> Is the exception logged every time before the madness happens?

After I load any .jmx file and change something in that plan, this bug will
appear and those exceptions will appear in CMD window.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 65494] JMeter application cannot work when I use two monitors

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65494

Dong Zhi <zh...@vip.qq.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|JMeter application cannot   |JMeter application cannot
                   |work when I have two        |work when I use two
                   |monitors                    |monitors
                 OS|                            |All

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 65494] JMeter application cannot work when I use two monitors

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65494

--- Comment #5 from Dong Zhi <zh...@vip.qq.com> ---
Created attachment 37980
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=37980&action=edit
Screenshot

I can reproduce this bug in LATEST build
(r2179-62b40ffb08b7f49816c05f2a82904ee36607ace1).
Please review the attachment.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 65494] JMeter application cannot work when I use two monitors

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65494

--- Comment #10 from Dong Zhi <zh...@vip.qq.com> ---
OK, I will test this in tomorrow's build.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 65494] JMeter application cannot work when I use two monitors

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65494

Felix Schumacher <fe...@internetallee.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #9 from Felix Schumacher <fe...@internetallee.de> ---
I committed a catch block to our code (even if it should not be our problem).
Can you try the next build from trunk and report back, whether it helped?

commit 17cbc7b5b1e20814d5d47742bdcb50bb2866798e
AuthorDate: Tue Aug 17 10:48:21 2021 +0200

    Catch BadLocationException on setting text

    This exception is not expected here, but reported in bug 65494.
    Let us catch it and see, if the problem described in that bug vanishes.

    Bugzilla Id: 65494
---
 .../main/java/org/apache/jmeter/gui/util/JSyntaxTextArea.java    | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 65494] JMeter application cannot work when I use two monitors

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65494

Dong Zhi <zh...@vip.qq.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 65494] JMeter application cannot work when I use two monitors

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65494

--- Comment #12 from Dong Zhi <zh...@vip.qq.com> ---
OK, I have downloaded latest build. I will test it tonight as my desktop is at
home.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 65494] JMeter application cannot work when I use two monitors

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65494

Felix Schumacher <fe...@internetallee.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #2 from Felix Schumacher <fe...@internetallee.de> ---
Can you check, if this is still happening with a current nightly? (I don't
think, that there was an explicit fix for this report, but you never know)

Is it happening with every Look&Feel? Have you tried to switch to a different
one?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 65494] JMeter application cannot work when I use two monitors

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65494

Dong Zhi <zh...@vip.qq.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

--- Comment #3 from Dong Zhi <zh...@vip.qq.com> ---
(In reply to Felix Schumacher from comment #2)
> Can you check, if this is still happening with a current nightly? (I don't
> think, that there was an explicit fix for this report, but you never know)
> 
> Is it happening with every Look&Feel? Have you tried to switch to a
> different one?

#1 Does current nightly mean a new build of JMeter? If yes, how can I get this
new build? As I look over download pages of JMeter, I cannot find that build.

#2 I tried to reproduce this bug in several computers, this bug only happens on
the desktop computer which is using DisplayPort cable. And I also tried
different multiple displays settings, this bug only happens under <Extend these
displays> mode.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 65494] JMeter application cannot work when I use two monitors

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65494

Felix Schumacher <fe...@internetallee.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #7 from Felix Schumacher <fe...@internetallee.de> ---
When is this happening? With an empty test plan? After the execution of a test
plan? When you display a result?

Is the exception logged every time before the madness happens?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 65494] JMeter application cannot work when I use two monitors

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65494

--- Comment #1 from Dong Zhi <zh...@vip.qq.com> ---
I use DisplayPort cable to connect one monitor and HDMI cable to connect
another monitor.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 65494] JMeter application cannot work when I use two monitors

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65494

--- Comment #6 from Dong Zhi <zh...@vip.qq.com> ---
javax.swing.text.BadLocationException: Position not represented by view
        at
org.fife.ui.rsyntaxtextarea.WrappedSyntaxView.modelToView(WrappedSyntaxView.java:770)
        at
org.fife.ui.rsyntaxtextarea.WrappedSyntaxView.yForLineContaining(WrappedSyntaxView.java:1130)
        at
org.fife.ui.rsyntaxtextarea.RSyntaxTextAreaUI.yForLineContaining(RSyntaxTextAreaUI.java:263)
        at
org.fife.ui.rtextarea.RTextAreaBase.yForLineContaining(RTextAreaBase.java:1216)
        at
org.fife.ui.rtextarea.LineNumberList$Listener.caretUpdate(LineNumberList.java:700)
        at
java.desktop/javax.swing.text.JTextComponent.fireCaretUpdate(JTextComponent.java:412)
        at org.fife.ui.rtextarea.RTextArea.fireCaretUpdate(RTextArea.java:629)
        at
org.fife.ui.rsyntaxtextarea.RSyntaxTextArea.fireCaretUpdate(RSyntaxTextArea.java:873)
        at
java.desktop/javax.swing.text.JTextComponent$MutableCaretEvent.fire(JTextComponent.java:4489)
        at
java.desktop/javax.swing.text.JTextComponent$MutableCaretEvent.stateChanged(JTextComponent.java:4511)
        at
java.desktop/javax.swing.text.DefaultCaret.fireStateChanged(DefaultCaret.java:812)
        at
java.desktop/javax.swing.text.DefaultCaret.changeCaretPosition(DefaultCaret.java:1283)
        at
java.desktop/javax.swing.text.DefaultCaret.handleSetDot(DefaultCaret.java:1182)
        at
java.desktop/javax.swing.text.DefaultCaret$DefaultFilterBypass.setDot(DefaultCaret.java:1947)
        at
java.desktop/javax.swing.text.NavigationFilter.setDot(NavigationFilter.java:64)
        at
org.fife.ui.rtextarea.ConfigurableCaret$FoldAwareNavigationFilter.setDot(ConfigurableCaret.java:724)
        at
java.desktop/javax.swing.text.DefaultCaret.setDot(DefaultCaret.java:1160)
        at
java.desktop/javax.swing.text.DefaultCaret$Handler.removeUpdate(DefaultCaret.java:1831)
        at
java.desktop/javax.swing.text.AbstractDocument.fireRemoveUpdate(AbstractDocument.java:261)
        at
org.fife.ui.rsyntaxtextarea.RSyntaxDocument.fireRemoveUpdate(RSyntaxDocument.java:258)
        at
java.desktop/javax.swing.text.AbstractDocument.handleRemove(AbstractDocument.java:628)
        at
java.desktop/javax.swing.text.AbstractDocument.remove(AbstractDocument.java:596)
        at
java.desktop/javax.swing.text.AbstractDocument.replace(AbstractDocument.java:672)
        at
java.desktop/javax.swing.text.JTextComponent.setText(JTextComponent.java:1729)
        at
org.apache.jmeter.gui.util.JSyntaxTextArea.setInitialText(JSyntaxTextArea.java:293)
        at
org.apache.jmeter.testbeans.gui.TextAreaEditor.setAsText(TextAreaEditor.java:104)
        at
org.apache.jmeter.testbeans.gui.GenericTestBeanCustomizer.clearGuiFields(GenericTestBeanCustomizer.java:768)
        at
org.apache.jmeter.testbeans.gui.TestBeanGUI.clearGui(TestBeanGUI.java:452)
        at
org.apache.jmeter.testbeans.gui.TestBeanGUI.configure(TestBeanGUI.java:305)
        at
org.apache.jmeter.gui.GuiPackage.refreshCurrentGui(GuiPackage.java:468)
        at
org.apache.jmeter.gui.GuiPackage.updateCurrentGui(GuiPackage.java:452)
        at
org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:79)
        at
org.apache.jmeter.gui.action.ActionRouter.lambda$actionPerformed$0(ActionRouter.java:69)
        at
java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
        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(Native Method)
        at
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
        at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
        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.EventDispatchThread.run(EventDispatchThread.java:90)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 65494] JMeter application cannot work when I use two monitors

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65494

--- Comment #13 from Dong Zhi <zh...@vip.qq.com> ---
I think the root cause is that JMeter is not compatible with graphics card
Nvidia 1070. Today, I replaced my graphics card from Nvidia 1070 to Nvidia
3060. 

I re-tested this in both 5.4.1 and latest 5.5-SNAPSHOT. But this bug cannot be
reproduced. So this bug should be one incompatibility bug.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 65494] JMeter application cannot work when I use two monitors

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65494

--- Comment #11 from Felix Schumacher <fe...@internetallee.de> ---
You could try the latest build from
https://ci-builds.apache.org/job/JMeter/job/JMeter-trunk/lastSuccessfulBuild/
which should have the latest code in it. (you don't have to wait for the
nightly build to finish :))

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 65494] JMeter application cannot work when I use two monitors

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65494

Felix Schumacher <fe...@internetallee.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #4 from Felix Schumacher <fe...@internetallee.de> ---
The nightly builds can be found at https://jmeter.apache.org/nightly.html

-- 
You are receiving this mail because:
You are the assignee for the bug.