Issue Details (XML | Word | Printable)

Key: RMAGICK4J-10
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Serabe
Reporter: babarocap
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
rmagick4j

No constructor with arguments matching [class org.jruby.RubyNumeric, class org.jruby.RubyFixnum, class magick4j.ImageInfo]

Created: 11/Aug/09 08:06 AM   Updated: 10/May/10 06:14 PM
Component/s: RMagick4j
Affects Version/s: 0.3.7
Fix Version/s: None

Time Tracking:
Not Specified

Environment:

Windows XP SP3 or Server 2003, JRuby 1.3.1, Glassfish v3 Prelude, ImageMagick 6.5.3-10 Q8, Rails 2.2.2, Redmine 0.8.x or trunk


Tags:


 Description  « Hide

In Redmine when you want to export Gantt in a PNG you have this error :

NameError in IssuesController#gantt

no constructor with arguments matching [class org.jruby.RubyNumeric, class org.jruby.RubyFixnum, class magick4j.ImageInfo] on object #<Java::Magick4j::MagickImage:0x1e10f02>

RAILS_ROOT: C:/Depots/redmine
Application Trace | Framework Trace | Full Trace

C:/jruby/lib/ruby/gems/1.8/gems/rmagick4j-0.3.7/lib/rmagick4j/image.rb:190:in `initialize'
C:/jruby/lib/ruby/gems/1.8/gems/rmagick4j-0.3.7/lib/RMagick.rb:1694:in `new_image'
lib/redmine/helpers/gantt.rb:88:in `to_image'
app/controllers/issues_controller.rb:365:in `gantt'
app/controllers/issues_controller.rb:363:in `gantt'
file:/C:/Repos/redmine/tmp/.glassfish/static-cache/gf/glassfish.jar!/rack/adapter/rails.rb:82:in `serve_rails'
file:/C:/Repos/redmine/tmp/.glassfish/static-cache/gf/glassfish.jar!/rack/adapter/rails.rb:109:in `call'
file:/C:/Repos/redmine/tmp/.glassfish/static-cache/gf/glassfish.jar!/rack/handler/grizzly.rb:55:in `call'
:1



Serabe added a comment - 10/May/10 06:14 PM