Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Expected 4 but got 5 constructors for java.lang.Exception

#540
  • Issue Type: Bug
  • Rundeck version: 1.4.2

Issue:

Inexplicable Exception blocks further attempts to run Job. RunDeck restart required.


Reproduce:

Editing a line in a work flow an rerunning the job produced the attached the Exception, but it seemed more coincidental than consequential.

Reported by Hasan · March 10th, 2012 @ 04:20 AM

State: new
Milestone: none
Assigned to: Greg Schueler Greg Schueler

Activity

  1. Greg Schueler
    Greg Schueler
    • Assigned user cleared.
    • Milestone cleared.
    • Milestone order changed from 20 to 0

    What JDK version are you using?

    I think this may be caused by differing JDK versions. The exception is due to the compiled class expecting java.lang.Exception to have 4 constructors, but seeing 5. There are only 4 in java 1.4-6, but there are 5 in Java 7.

    April 26th, 2012 @ 04:59 PM

  2. Hasan
    Hasan
    • Assigned user set to Greg Schueler

    I believe I was using 1.7 at the time.

    April 26th, 2012 @ 05:49 PM

  3. Greg Schueler
    Greg Schueler
    • Tag set to bug, jdk
    • Assigned user cleared.

    I think this is an issue with using jdk 7 then. Changing description and marking #521 Excepiion thrown as lazy substitute for proper file format validation. as a duplicate.

    May 7th, 2012 @ 10:57 AM

  4. Greg Schueler
    Greg Schueler
    • Title changed from Expected 4 but got 5 constructors for java.lang.Exception to Exception thrown using JDK 7
    • Assigned user set to Greg Schueler

    May 7th, 2012 @ 10:58 AM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.