Bug 1147819 - CLI GUI ERROR
Summary: CLI GUI ERROR
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: CLI
Version: 6.3.0
Hardware: Unspecified
OS: Linux
high
medium
Target Milestone: ---
: EAP 6.3.2
Assignee: Panagiotis Sotiropoulos
QA Contact: Petr Kremensky
URL:
Whiteboard:
Depends On:
Blocks: 1142291
TreeView+ depends on / blocked
 
Reported: 2014-09-30 06:54 UTC by Panagiotis Sotiropoulos
Modified: 2014-09-30 10:28 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-09-30 10:28:02 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Panagiotis Sotiropoulos 2014-09-30 06:54:43 UTC
Description of problem:

java.awt.HeadlessException
	at sun.awt.HeadlessToolkit.getSystemClipboard(HeadlessToolkit.java:307)
	at org.jboss.as.cli.gui.SelectPreviousOpMouseAdapter.<init>(SelectPreviousOpMouseAdapter.java:42)
	at org.jboss.as.cli.gui.GuiMain.makeGuiContext(GuiMain.java:98)
	at org.jboss.as.cli.gui.GuiMain.start(GuiMain.java:72)
	at org.jboss.as.cli.impl.CliLauncher.processGui(CliLauncher.java:292)
	at org.jboss.as.cli.impl.CliLauncher.main(CliLauncher.java:257)
	at org.jboss.as.cli.CommandLineMain.main(CommandLineMain.java:34)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.jboss.modules.Module.run(Module.java:312)
	at org.jboss.modules.Main.main(Main.java:460)


when typing ./jboss-cli.sh --gui

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Start the server
2. Type ./jboss-cli.sh --gui
3.

Actual results:


Expected results:


Additional info:

Comment 1 Petr Kremensky 2014-09-30 07:05:07 UTC
Hi,
what version of OS/JVM/EAP did you use?

I tested EAP 6.3.1.GA and 6.4.0.DR2 with standalone on Fedora 16 w/:
java version "1.7.0_67"
Java(TM) SE Runtime Environment (build 1.7.0_67-b01)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)

and CLI gui works just fine.

Comment 2 Panagiotis Sotiropoulos 2014-09-30 10:28:02 UTC
Not a bug. Cli gui works if -Djava.awt.headless not set to true. BZ closed.


Note You need to log in before you can comment on or make changes to this bug.