Stack Level Too Deep


I get a “Stack Level Too Deep”-Error with JRuby when I spawn a thread
containing code which accesses the database to update a row. When I run
this code sequentielly (not in a thread), it works fine.

The database-connection is a JDBC-connection.

The code looks like this:

@t = do
Java::checkout.Files.main main_args.to_java :String

        # critical code line
        @version.update_attribute(:status_checkout, 2)
      rescue StandardError => e
        puts "[svnkit] "+e
        @version.update_attribute(:exception_checkout, e)

Can anyone help me please?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs