This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
While building cokefixes branch, the build itself succeeds but tests fail with the following message: ...Can't connect to X11 window server using '<machinename:2>' as the value of the DISPLAY variable... The solution is to start the VNC server and then start the build again. It would be nice to do this as part of the build script itself.
I will take care of this.
Marking Fixed
Note that if you are using Hudson to run builds, you can use the XVNC extension to "wrap" the build in a separate virtual display.
Closing the issue as verified (since the subsequent build completed without the error message).
Reopening the issue since the issue has not yet been resolved in build scripts itself. Since a very easy workaround exists (restarting the vnc server), reducing the priority to P5.
Wherever this build is being run, if it is using Hudson, it should be using the XVNC plugin.