Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6153149
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T20:02:42+00:00 2026-05-23T20:02:42+00:00

Let say I have a Transformation class that extending a CommonDomain class. and I

  • 0

Let say I have a Transformation class that extending a CommonDomain class.

and I create a DaoUtil just to inserting a default parameter for insert.

public static void populateValuesForInsert(CommonDomain domain, Long userId)
{
    java.util.Date today = new java.util.Date();
    domain.setCreatedBy(userId);
    domain.setCreatedDate(today);
    domain.setUpdatedBy(userId);
    domain.setUpdatedDate(today);
}

public class Transformation  extends CommonDomain
{
    //private static final long serialVersionUID = -2800564185309854734L;
    private Long id;
    private Long scenarioType;
    private String description;
    //.... get set here ... 

}

public class CommonDomain implements Serializable 
{

    private static final long serialVersionUID = 1L;
    public static final Integer DEFAULT_BASELINE_ID = 0;

    public static final String DATE_FORMAT_DEFAULT = "MM/dd/yyyy";
    public static final String DATE_FORMAT_WITH_TIME = "MM/dd/yyyy HH:mm:ss";
    public long maxRowCount;
    private String roleName;
        private Date createdDate;
    private Date updatedDate;   
        private Long createdBy;
    private Long updatedBy;   
        //..get set here
}

when I run the JUnit Testing, it’s working perfectly in local.
However running the testing in Hudson resulting this error:

populateValuesForInsert(com.domain.CommonDomain,java.lang.Long) in 
com.utils.DaoUtil
cannot be applied to (com.domain.Transformation,java.lang.Long)

I use JDK 1.5.0_14 in my Local and JDK 1.5.0_21 in my Hudson.

Any idea why does this error happen?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T20:02:42+00:00Added an answer on May 23, 2026 at 8:02 pm

    I don’t know Hudson’s internals, but maybe there’s some sort of cache which holds an old version of some of the class files.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Let's say I have an entity that looks like this: public class Album() {
Let say I have abstract class called: Tenant and Customer. The tenant in this
Let say I have, <span class=labels style=background-color: #FFFFFF;border: 1px solid #000000;font-family: Verdana;font-size: 11px; >74.58
Let say we have below program: class A { public: virtual fun(){}; }; class
Let's say I have a graph with heavy nodes, that is each node is
Let say I have a file that contains a serialized object by BinaryFomatter. Now
Let's say that I have a set of relations that looks like this: relations
let say have element like this <div class=watch-me style=display: none;>Watch Me Please</div> as we
Let say you have any console application that is easily to start, later when
Let say i have a list List and i have pthread_t t1 that polls

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.