View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0011129ITKpublic2010-08-15 23:452010-11-09 07:36
ReporterSteve Robbins 
Assigned ToGaetan Lehmann 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionwon't fix 
PlatformOSOS Version
Product VersionITK-3-20 
Target VersionFixed in Version 
Summary0011129: Failure running java filter examples
DescriptionJava 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 [^]


TagsNo tags attached.
Resolution Date2010-11-09
Sprint
Sprint Statusbacklog
Attached Files

 Relationships

  Notes
(0022455)
Michal Suchanek (reporter)
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 (developer)
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 (reporter)
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 (developer)
2010-11-09 07:36

ITK v4 will use WrapITK only. CSwig will be removed so this bug won't be fixed.

 Issue History
Date Modified Username Field Change
2010-08-15 23:45 Steve Robbins New Issue
2010-10-08 11:14 Michal Suchanek Note Added: 0022455
2010-10-25 16:10 Gaetan Lehmann Status new => assigned
2010-10-25 16:10 Gaetan Lehmann Assigned To => Gaetan Lehmann
2010-11-09 04:23 Gaetan Lehmann Note Added: 0023093
2010-11-09 06:03 Michal Suchanek Note Added: 0023094
2010-11-09 07:36 Gaetan Lehmann Resolution Date => 2010-11-09
2010-11-09 07:36 Gaetan Lehmann Sprint Status => backlog
2010-11-09 07:36 Gaetan Lehmann Note Added: 0023095
2010-11-09 07:36 Gaetan Lehmann Status assigned => closed
2010-11-09 07:36 Gaetan Lehmann Resolution open => won't fix


Copyright © 2000 - 2018 MantisBT Team