NOTICE! This is a static HTML version of a legacy ImageJ Trac ticket.

The ImageJ project now uses GitHub Issues for issue tracking.

Please file all new issues there.

Ticket #297 (closed defect: fixed)

Opened 2010-12-01T17:24:02-06:00

Last modified 2012-02-24T15:23:56-06:00

Fix ij1-bridge tests that fail due to headless violations

Reported by: curtis Owned by: curtis
Priority: blocker Milestone: biweekly-2010: Nov-29 to Dec-10
Component: Build System Version:
Severity: fatal Keywords:
Cc: Blocked By:
Blocking: #1012, #1014


Some tests require graphical AWT components, and thus fail during Hudson builds. E.g.:

Test set: imagej.ij1bridge.plugin.Ij1PluginFinderTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.03 sec <<< FAILURE!
testIj1PluginFinder(imagej.ij1bridge.plugin.Ij1PluginFinderTest)  Time elapsed: 0.027 sec  <<< ERROR!
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
	at java.awt.GraphicsEnvironment.checkHeadless(
	at java.awt.Window.<init>(
	at java.awt.Frame.<init>(
	at ij.ImageJ.<init>(
	at ij.ImageJ.<init>(
	at imagej.ij1bridge.plugin.Ij1PluginFinder.findPlugins(
	at imagej.ij1bridge.plugin.Ij1PluginFinderTest.testIj1PluginFinder(

Change History

comment:1 Changed 2010-12-01T17:24:19-06:00 by curtis

  • Milestone set to biweekly-2010: Nov-29 to Dec-10

comment:2 Changed 2010-12-02T12:50:10-06:00 by curtis

  • Status changed from new to closed
  • Resolution set to fixed

Rick has commented out the problematic tests for now.

comment:3 Changed 2012-02-24T15:23:56-06:00 by curtis

  • Blocking 1012, 1014 added