MantisBT - ITK
View Issue Details
0011129ITKpublic2010-08-15 23:452010-11-09 07:36
Steve Robbins 
Gaetan Lehmann 
normalmajoralways
closedwon't fix 
ITK-3-20 
 
2010-11-09
backlog
0011129: Failure running java filter examples
Java examples that illustrate a simple filter fail to run because the input to the filter is not properly set. This is a typical run-time message:

BinaryThresholdImageFilter Example
Exception in thread "main" java.lang.RuntimeException: /home/steve/Dashboards/MyTests/ITK/Code/IO/itkImageFileWriter.txx:118:
itk::ERROR: ImageFileWriter(0x7f2edc39eef0): No input to writer!
    at InsightToolkit.itkImageFileWriter_2DJNI.itkImageFileWriterUS2_Pointer_Update(Native Method)
    at InsightToolkit.itkImageFileWriterUS2_Pointer.Update(itkImageFileWriterUS2_Pointer.java:139)
    at BinaryThresholdImageFilter.main(BinaryThresholdImageFilter.java:31)


See:
http://www.cdash.org/CDash/testDetails.php?test=62835602&build=694370 [^]
http://www.cdash.org/CDash/testDetails.php?test=62835596&build=694370 [^]
http://www.cdash.org/CDash/testDetails.php?test=62835597&build=694370 [^]
etc.

This has been broken for quite a long time; first reported to Debian in May 2010: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=580807 [^]


No tags attached.
Issue History
2010-08-15 23:45Steve RobbinsNew Issue
2010-10-08 11:14Michal SuchanekNote Added: 0022455
2010-10-25 16:10Gaetan LehmannStatusnew => assigned
2010-10-25 16:10Gaetan LehmannAssigned To => Gaetan Lehmann
2010-11-09 04:23Gaetan LehmannNote Added: 0023093
2010-11-09 06:03Michal SuchanekNote Added: 0023094
2010-11-09 07:36Gaetan LehmannResolution Date => 2010-11-09
2010-11-09 07:36Gaetan LehmannSprint Status => backlog
2010-11-09 07:36Gaetan LehmannNote Added: 0023095
2010-11-09 07:36Gaetan LehmannStatusassigned => closed
2010-11-09 07:36Gaetan LehmannResolutionopen => won't fix

Notes
(0022455)
Michal Suchanek   
2010-10-08 11:14   
For me the java bindings work when compiled with gcc 4.3 and fail with "No input to writer!" when compiled with gcc 4.4.
(0023093)
Gaetan Lehmann   
2010-11-09 04:23   
Is it with CSwig or with WrapITK?
WrapITK is built nightly with gcc 4.4.3 on marvin.jouy.inra.fr without any problem.
(0023094)
Michal Suchanek   
2010-11-09 06:03   
That's with the wrapping in ITK 3.20, not the separate WrapITK.

        -DITK_CSWIG_JAVA:BOOL=ON \
        -DITK_CSWIG_PYTHON:BOOL=ON \
        -DITK_CSWIG_TCL:BOOL=ON \

The separate WrapITK + ITK4 works for me with gcc 4.4
(0023095)
Gaetan Lehmann   
2010-11-09 07:36   
ITK v4 will use WrapITK only. CSwig will be removed so this bug won't be fixed.