Bug 59165 - RSyntaxTextArea not compatible with headless testing
Summary: RSyntaxTextArea not compatible with headless testing
Status: RESOLVED FIXED
Alias: None
Product: JMeter - Now in Github
Classification: Unclassified
Component: Main (show other bugs)
Version: 2.13
Hardware: PC Mac OS X 10.1
: P2 normal (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks: 58897
  Show dependency tree
 
Reported: 2016-03-11 13:29 UTC by Sebb
Modified: 2016-03-11 13:47 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebb 2016-03-11 13:29:41 UTC

    
Comment 1 Sebb 2016-03-11 13:34:23 UTC
See Bug 58897.

It's not possible to instantiate RSyntaxtTextArea if the code is running Headless.

This is not the case for JTextArea, which can at least be instantiated, even if
it cannot be used.
Comment 2 Sebb 2016-03-11 13:42:38 UTC
URL: http://svn.apache.org/viewvc?rev=1734553&view=rev
Log:
RSyntaxtTextArea not compatible with headless testing
Add getInstance methods that handle headless mode
Bugzilla Id: 59165

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/gui/util/JSyntaxTextArea.java
    jmeter/trunk/src/core/org/apache/jmeter/gui/util/JTextScrollPane.java
Comment 3 Sebb 2016-03-11 13:43:10 UTC
URL: http://svn.apache.org/viewvc?rev=1734555&view=rev
Log:
RSyntaxtTextArea not compatible with headless testing
Replace calls to constructors with getInstance
Bugzilla Id: 59165

Modified:
    jmeter/trunk/src/components/org/apache/jmeter/assertions/gui/BeanShellAssertionGui.java
    jmeter/trunk/src/components/org/apache/jmeter/assertions/gui/XPathPanel.java
    jmeter/trunk/src/core/org/apache/jmeter/config/gui/RowDetailDialog.java
    jmeter/trunk/src/core/org/apache/jmeter/gui/LoggerPanel.java
    jmeter/trunk/src/core/org/apache/jmeter/testbeans/gui/TextAreaEditor.java
    jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/config/gui/UrlConfigGui.java
    jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/control/gui/BeanShellSamplerGui.java
    jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/control/gui/JMSPublisherGui.java
    jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/control/gui/JMSSamplerGui.java
    jmeter/trunk/src/protocol/tcp/org/apache/jmeter/protocol/tcp/config/gui/TCPConfigGui.java
Comment 4 Sebb 2016-03-11 13:47:37 UTC
URL: http://svn.apache.org/viewvc?rev=1734557&view=rev
Log:
RSyntaxTextArea not compatible with headless testing
Bugzilla Id: 59165

Modified:
    jmeter/trunk/xdocs/changes.xml
Comment 5 The ASF infrastructure team 2022-09-24 20:38:03 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/3896