nifi-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (NIFI-2685) Builds fails due to "java.awt.AWTError: Can't connect to X11 window server "
Date Fri, 02 Sep 2016 06:43:20 GMT

    [ https://issues.apache.org/jira/browse/NIFI-2685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15457697#comment-15457697
] 

ASF GitHub Bot commented on NIFI-2685:
--------------------------------------

Github user trixpan commented on the issue:

    https://github.com/apache/nifi/pull/961
  
    @trkurc 
    
    it just came to my mind that the pom.xml change should be safe to commit.
    
    The change is just pushing into the build phase a setting that is already present when
nifi is executed:
    
    ```
    $ grep awt bootstrap.conf
    java.arg.14=-Djava.awt.headless=true
    ```


> Builds fails due to "java.awt.AWTError: Can't connect to X11 window server "
> ----------------------------------------------------------------------------
>
>                 Key: NIFI-2685
>                 URL: https://issues.apache.org/jira/browse/NIFI-2685
>             Project: Apache NiFi
>          Issue Type: Bug
>            Reporter: Andre
>            Assignee: Andre
>            Priority: Trivial
>
> When building NiFi on a machine with ssh X11 forwarding enabled, maven may fail to build
due to the following error:
> {code}
> testResize(org.apache.nifi.processors.image.TestResizeImage)  Time elapsed: 2.22 sec
 <<< FAILURE!
> java.lang.AssertionError: java.awt.AWTError: Can't connect to X11 window server using
'localhost:12.0' as the value of the DISPLAY variable.
>         at org.apache.nifi.util.StandardProcessorTestRunner.run(StandardProcessorTestRunner.java:192)
>         at org.apache.nifi.util.StandardProcessorTestRunner.run(StandardProcessorTestRunner.java:151)
>         at org.apache.nifi.util.StandardProcessorTestRunner.run(StandardProcessorTestRunner.java:146)
>         at org.apache.nifi.util.StandardProcessorTestRunner.run(StandardProcessorTestRunner.java:141)
>         at org.apache.nifi.util.StandardProcessorTestRunner.run(StandardProcessorTestRunner.java:136)
>         at org.apache.nifi.processors.image.TestResizeImage.testResize(TestResizeImage.java:44)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message