No method with signature - initProfiles() error

Hi,
I am working on HRMS Talent Managment .
we have added a new region to setObjectives page and added related co,vo and added the vo to the AM.
After running the page I am getting "No method with signature - initProfiles()" in the page .
Please help me to resolve this error
Thanks
Uma.

Uma,
try to delete all class files, recompile and run! Also, check if any CO is not extended other than from OAControllerImpl, although it would not be generally.
--Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Similar Messages

  • Semantic Error: No accessible method with signature

    HI,
    I am trying to set the sender address as below.
    MimeMessage msg = new MimeMessage( session );
    // Set message attributes
    msg.setFrom( new InternetAddress( fromAddress ) );
    Address add = new InternetAddress("[email protected]");
    msg.setSender(add);
    But I am getting compile time error :
    Semantic Error: No accessible method with signature "setSender(javax.mail.Address)" was found in type "javax.mail.internet.MimeMessage".
    Seeing the jar file, setSender( Address xxx ) is definetly present. But I see this error. Any ideas why is this error?
    Thanks.

    Hi Shreevatsa
    You can try like this
    IN CO
    YourAMImpl am = (YourAMImpl)pageContext.getApplicationModule(webBean);
    Number citemVerId = am.saveFileToDB(s1, s2, s3, s4, blobdomain, n1);Hope it helps!!!
    Thanks
    AJ

  • No method with signature

    Hi,
    I am getting this error when i am clicking on submit button.
    No method with signature - No method with signature - init().
    Regards,
    RGB

    Double check the method name you are mentioning here is the same which you have used in AM or not.
    Thanks
    --Anil                                                                                                                                                                                                                                       

  • No method with signature -initPaymentMethodLOVVO()

    Hi,
    I have extended a CO and calling an AM which have one method xxxxxLOVVO().
    I have compiled the CO code and AM code without error.
    However when I run the page , I am getting the error on top of the page . The error says "No method with signature No method with signature - xxxxLOVVO()"
    How do I debug this error.
    Thanks in advance
    Edited by: user10998128 on Feb 10, 2011 11:05 AM

    Hi Gyan
    I appreciate the effort all you guys putting by looking into the matter. I am putting the code as its there (in the below screen), this is one which gets compiled earlier and errored out during page run ( with the top left of screen showing No method with signature -initPaymentMethodLOVVO())
    In the processRequest method in the CO, I am using follwoing lines of code
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    SSHRParams sshrparams = new SSHRParams(pageContext.getRootApplicationModule());
    String asgid = pageContext.getParameter("pAssignmentId");
    int asg_id=Integer.parseInt(asgid);
    OAApplicationModule oa =(OAApplicationModule) pageContext.getApplicationModule(webBean);
    OADBTransaction oadbtransaction=oa.getOADBTransaction();
    Configuration configuration = (Configuration)oadbtransaction.findObject(Constants.CFG_REFERENCE);
    String effdate =sshrparams.getEffectiveDate();
    String s = configuration.getTerritoryCode();
    String payid = configuration.getPayrollId();
    int pay_id=Integer.parseInt(payid);
    String bgid = configuration.getBusinessGroupId();
    int busgrp_id=Integer.parseInt(bgid);
    String l_payroll_id;
    OAApplicationModule am =(OAApplicationModule)pageContext.getApplicationModule(webBean);
    OracleCallableStatement oraclecallablestatement ;
    String sql = "BEGIN XX_PAY_METH_PKG.XX_GET_PAY_METHOD(:1, :2, :3, :4, :5); END;";
    oraclecallablestatement = (OracleCallableStatement)oadbtransaction.createCallableStatement(sql, -1);
    try {     
    oraclecallablestatement.setInt(1, pay_id);
    oraclecallablestatement.setInt(2, busgrp_id);
    oraclecallablestatement.setString(3,effdate);
    oraclecallablestatement.setInt(4, asg_id);
    oraclecallablestatement.registerOutParameter(5,OracleTypes.VARCHAR,0);
    oraclecallablestatement.execute();
    l_payroll_id = oraclecallablestatement.getString(5);
    oraclecallablestatement.close();
    } catch(SQLException exception){
    l_payroll_id = "0";
    if(!l_payroll_id.equals("0"))
    Serializable[] param = {l_payroll_id,bgid,effdate};
    am.invokeMethod("initXXPaymentMethodLOVVO",param);
    else
    Serializable[] param = {payid,bgid,effdate};
    am.invokeMethod("initXXPaymentMethodLOVVO",param);
    and in the AM I am using
    public void initXXPaymentMethodLOVVO(String payroll_id,String busgrp,String effdate) {
    XXPaymentMethodLOVVOImpl xxvo = getXXPaymentMethodLOVVO1();
    xxvo.setWhereClauseParams(null);
    xxvo.setWhereClause(null);
    xxvo.setWhereClauseParam(1,payroll_id);
    xxvo.setWhereClauseParam(2,busgrp);
    xxvo.setWhereClauseParam(3,effdate);
    xxvo.executeQuery();
    Sorry for all the confusion earlier .

  • JSR 172: error while invoking methods with the same signature

    Hi
    I am facing a peculiar problem which is not making sense to me. This is what I have done:
    1. Written a simple web service that has two methods: sayHello and sayHellToMe. Both these methods have same signatures. They do not take in any parameter and return a string.
    2. Deployed this web service (document/literal) type on Axis 1.2
    3. Generated the stub classes from the wsdl file using Sun Wireless Toolkit's Stub Generator
    4. I have now written a MIDlet that uses this stub class to invoke both the methods one after the other.
    I enabled SOAPMonitor on Axis and saw the SOAP Request and SOAP Response messages. I observed the following:
    1. In the first method: sayHello - everything works fine (with a few tweaks in the Stub class)
    2. However, while invoking the second method sayHelloToMe, the SOAP Body tag in the SOAP Request does not contain any method name. I checked out the Stub class, the qnames and the types are all correct..
    I also realized that this behavior is seen only when I have methods with the same signature in the web service. Any idea why this might be happening? It seems like a very weird problem.
    Any help in this regard will be greatly appreciated.
    Thanks,
    Arati

    Hi, I'm closing this thread and opening the same in another as the content got pasted in reader un friendly format and i'm unable to change the format.
    Thanks,
    Ravi.

  • No event method with matching name and signature found on EventSet

    Dear,
    I have this error in the Problems view in Workshop (I'm using the Weblogic 9.2.1) :
    No event method with matching name and signature found on EventSet: com.bea.control.TaskControl.Callback.
    This error occurs sometimes when I put an event on a task in a process definition. Example, I have a process : Application.java, when I put the onReceptionCompleted control (receive) in my process, the error appears!
    Thanks for your help,
    Regards,
    Mathieu

    It is a problem with the drap & drop in Workshop (from the taskControl to the Process). Workshop automatically inserts a wrong eventSet instead of the good one from the generated task control !
    See you,
    Mathieu

  • Error with declaring a method with array variable

    Hi,
    I had implemented this:
    import java.awt.*;
    import javax.swing.*;
    public class Oefening1
         public static void main(String args[])
              int array[]= new int[10];
              int getal;
              JTextArea outputArea = new JTextArea();
              Container container = getContentPane();
              container.add(outputArea);
              public void invoerRij(int array[10])
                   output +=" ";
                   for(int counter = 0; counter <10;counter++){
                        output +="Geef een getal in"+"\n"+array[counter]+"\n";
                        outputArea.setText(output);
    I had comilated this code while the compiler gave errors like these:
    A:\Oefening1.java:15: illegal start of expression
              public void invoerRij(int array[10])
    ^
    A:\Oefening1.java:24: ';' expected
    ^
    A:\Oefening1.java:12: cannot resolve symbol
    symbol : method getContentPane ()
    location: class Oefening1
              Container container = getContentPane();
    ^
    3 errors
    Tool completed with exit code 1
    Now i have read my book and finded out that the declaration of a method always starts with public.
    Can anyone halp me solving these probs? Thanks
    Crazydj1

    The problem is that you didn't close the previous method definition.
    Compiler error messages (in any language) often mistakenly report false errors on perfectly valid code immediately following the actual error.
    When you post code on these forums, please wrap in in &#91;code]&#91;/code] tags.

  • Job is failing with the following error- Error calling a method of the tree

    dear SDNers,
    my question is where do i need to look for error.
    Will this be an ABAP issue?
    Please guide
    DETAILS
    In SM37 when we see the job XYZ, we get the following details.
       Job                              Ln    Job CreatedB    Status          Start date     Start time      Duration(sec.)     Delay (sec.)
      XYZ                                                                    Canceled        16.11.2009    10:11:30                  9                         27
    When the job log is checked this , we get the below details.
    The job XYZ is failing with the following error.
    Date      Time     Class  No.   Message
    +----
    +----
    2009/11/16 05:03:01 | 00     516 | Job started
    2009/11/16 05:03:01 | 00     550 | Step 001 started (program RBDMON00, variant
    SBCI287, user ID ABCDEF)
    2009/11/16 05:03:03 | TREE_C 000 | Error calling a method of the tree control
    2009/11/16 05:03:03 | 00     518 | Job cancelled
    Equest your assistance in knowing where to find the error for this.
    I have no clue as to where and how i need to debug or where i should i be looking for error.
    In BD87, the selection screen paramters that are given are changed on date (from and to) and IDOC status 51,66,69 and 64 and the message type is "Öutbound interface of picked shipments"
    Please guide.
    Regards,
    SuryaD.
    Edited by: SuryaD on Nov 23, 2009 5:36 PM
    Edited by: SuryaD on Nov 23, 2009 11:14 PM

    > 1. There is a job name ABCDEF
    > 2. When this job is run then the status shows cancelled and the job error log shows tHe details that "error calling a method of the tree control"
    > 3.ThIs error also points fingers to /link to BD87 as seen in the job log " (program RBDMON00, variant \SBCI287, user ID KRISF)"
    >
    BD87 is an IDOC processing.
    > My question to you Sampath.
    >
    > in order to answer your question on whether it is ALv or SALV.. please tell me as to how will i know which progrm is associated with the job ABCDEF?
    >
    Go to sm37 - double click on the job that was failed - Click on Step (on application tool bar) to get the program name - double click on the program name - new popup will be opened - then copy the program and variant
    Go to se38 - enter the program - execute (F8) - choose the variant that is there in the background job - run in forground first
    if the run is good - then check the program - SE38 - Display the program then see
    I just saw the above message BD87... .if that is true, you dont have to do all these
    I dont think it is possible to schedule a job with BD87. Is this the first time or is any job completed without errors for this?

  • Error when calling method with a return of double in j2me

    hello all,
    i have following problem with a j2me program:
    if i call a method with a return of double, then i get following error
    message:
    ERROR: floating-point constants should not appear
    Error preverifying class test.hallo
    what i'm doing wrong
    thanks in regard
    ----------------example----------------------------
    double yourValue(int y, int m, int d)
    double v = 0.10;
    v = 3.39 y m *d
    return v;
    public void startApp()
    int td;
    int y =2;
    int m =2;
    int d =2;
    td = yourValue(y,m,d);
    return(td);

    It's true for MIDP 1.0.
    But you can always use implementation of the float
    point arithmetic which was written by independent
    developers. For example see J2ME section of my
    homepage http://henson.newmail.ru
    anyway, double is reserved word in java, the way you wrote the source code in your example neither the preverifier nor the compiler will recognize that you intend to use your own types for double and float. maybe with Double or Float it would be different ...
    further question: you declare a void function, in the body, however, you try to return some value. something wrong with this function??
    regards
    bernard

  • License signature validation error! with NodeManager

    Hi,
    I downloaded the WebLogic Server 6.1 eval from the BEA website and started up a
    NodeManager on the same machine as my
    Administration Console. I am trying to use
    it to start up difference servers on my test machine. For some reason when I try to start up any of my defined server instances I get:
    $$$$$$$$$$$$$$$$ License Exception $$$$$$$$$$$$$$$$
    Unable to start WebLogic Server !!
    WebLogic: license signature validation error!
    $$$$$$$$$$$$$$$$ License Exception $$$$$$$$$$$$$$$$
    If I manually startup the servers using the startManagedWebLogic.sh everything works.
    I'm running on Solaris 8.
    What could I be doing wrong? Does the eval license not cover this scenario?
    Thanks,
    Andrea Rosso

    Hi.
    If you aren't already doing so I suggest downloading and using WLS with service pack 2. If you are then please open a case with support.
    Thanks,
    Michael
    Andrea Rosso wrote:
    Hi,
    I downloaded the WebLogic Server 6.1 eval from the BEA website and started up a
    NodeManager on the same machine as my
    Administration Console. I am trying to use
    it to start up difference servers on my test machine. For some reason when I try to start up any of my defined server instances I get:
    $$$$$$$$$$$$$$$$ License Exception $$$$$$$$$$$$$$$$
    Unable to start WebLogic Server !!
    WebLogic: license signature validation error!
    $$$$$$$$$$$$$$$$ License Exception $$$$$$$$$$$$$$$$
    If I manually startup the servers using the startManagedWebLogic.sh everything works.
    I'm running on Solaris 8.
    What could I be doing wrong? Does the eval license not cover this scenario?
    Thanks,
    Andrea Rosso--
    Michael Young
    Developer Relations Engineer
    BEA Support

  • Download signature verification error with Itunes 10.5?

    I have been trying to download ITunes 10.5 on to a Dell Windows XP. Download is really slow. I get that. But I get a signature verificayion error when I try download only. I have already deleted the Temp folder. I have not yet uninstall all ITunes and Quicktime. Perhaps I should wait a few days for Apples network to be under less strain?
    Please  advise. Thanks!

    You should probably begin by doing all your windows vista windows updates, those should take care of updating windows installer.
    Once you're updated on windows, you should check to see if you have a 64bit version of windows.
    If you do, you'll want to install the 64bit version of itunes:  http://support.apple.com/kb/DL1427

  • A question about a method with generic bounded type parameter

    Hello everybody,
    Sorry, if I ask a question which seems basic, but
    I'm new to generic types. My problem is about a method
    with a bounded type parameter. Consider the following
    situation:
    abstract class A{     }
    class B extends A{     }
    abstract class C
         public abstract <T extends A>  T  someMethod();
    public class Test extends C
         public <T extends A>  T  someMethod()
              return new B();
    }What I want to do inside the method someMethod in the class Test, is to
    return an instance of the class B.
    Normally, I'm supposed to be able to do that, because an instance of
    B is also an instance of A (because B extends A).
    However I cannot compile this program, and here is the error message:
    Test.java:16: incompatible types
    found   : B
    required: T
                    return new B();
                           ^
    1 errorany idea?
    many thanks,

    Hello again,
    First of all, thank you very much for all the answers. After I posted the comment, I worked on the program
    and I understood that in fact, as spoon_ says the only returned value can be null.
    I'm agree that I asked you a very strange (and a bit stupid) question. Actually, during recent months,
    I have been working with cryptography API Core in Java. I understood that there are classes and
    interfaces for defining keys and key factories specification, such as KeySpec (interface) and
    KeyFactorySpi (abstract class). I wanted to have some experience with these classes in order to
    understand them better. So I created a class implementing the interface KeySpec, following by a
    corresponding Key subclass (with some XOR algorithm that I defined myself) and everything was
    compiled (JDK 1.6) and worked perfectly. Except that, when I wanted to implement a factory spi
    for my classes, I saw for the first time this strange method header:
    protected abstract <T extends KeySpec> T engineGetKeySpec
    (Key key, Class<T> keySpec) throws InvalidKeySpecExceptionThat's why yesterday, I gave you a similar example with the classes A, B, ...
    in order to not to open a complicated security discussion but just to explain the ambiguous
    part for me, that is, the use of T generic parameter.
    The abstract class KeyFactorySpi was defined by Sun Microsystem, in order to give to security
    providers, the possibility to implement cryptography services and algorithms according to a given
    RFC (or whatever technical document). The methods in this class are invoked inside the
    KeyFactory class (If you have installed the JDK sources provided by Sun, You can
    verify this, by looking the source code of the KeyFactory class.) So here the T parameter is a
    key specification, that is, a class that implements the interface KeySpec and this class is often
    defined by the provider and not Sun.
    stefan.schulz wrote:
    >
    If you define the method to return some bound T that extends A, you cannot
    return a B, because T would be declared externally at invocation time.
    The definition of T as is does not make sense at all.>
    He is absolutely right about that, but the problem is, as I said, here we are
    talking about the implementation and not the invocation. The implementation is done
    by the provider whereas the invocation is done by Sun in the class KeyFactory.
    So there are completely separated.
    Therefore I wonder, how a provider can finally impelment this method??
    Besides, dannyyates wrote
    >
    Find whoever wrote the signature and shoot them. Then rewrite their code.
    Actually, before you shoot them, ask them what they were trying to achieve that
    is different from my first suggestion!
    >
    As I said, I didn't choose this method header and I'm completely agree
    with your suggestion, the following method header will do the job very well
    protected abstract KeySpec engineGetKeySpec (Key key, KeySpec key_spec)
    throws InvalidKeySpecException and personally I don't see any interest in using a generic bounded parameter T
    in this method header definition.
    Once agin, thanks a lot for the answers.

  • Can't fill ByteArray in EJB-Method with generated Model-Class from WD-Model

    Hello everybody,
    i try to call an ejb-method with data from an FileUpload-UI-Element in WD. The EJB-Method is receiving the byte-data to create a document in KM via a Web-Service.
    The ebj-methid has the following signature:
    public FObject putFileDataSimple (byte [] btContent, String fullFileName, String username, String password)
    After importing the Model and creating a context node i have the following structure:
    Request_X_putFileDataSimple
    +---btContent (Node)
          +-- item
    + fullFileName
    + username
    + password
    btContent is of the generated Type Byte_Item, which is itself a generated Model-Class of modelClassType ARRAY
    item is of Type byte
    But i simply have problems to fill the context node (or the binded model-object). i tried different ways and looked at thread [https://www.sdn.sap.com/irj/scn/thread?messageID=1954223] but i cant get it work.
    So my Method in WD looks like this to fill the structure and start the ejb-method:
    public boolean putKMDataSimple( com.sap.tc.webdynpro.services.sal.datatransport.api.IWDResource fin )  {
    try
      wdContext.currentRequest_X_putFileDataSimpleElement().setFullFileName("abc");
      wdContext.currentRequest_X_putFileDataSimpleElement().setUsername("def");
      wdContext.currentRequest_X_putFileDataSimpleElement().setPassword("xxx");
      byte[] buffer = new byte[1];
      InputStream in = fin.read(false);
      int i = 1;
      int j = 0;
      while (i!=-1)
         i = in.read(buffer);
         if (i!=-1)
           Byte_Item bi = new Byte_Item(mAlf);     // mAlf ist global defined Model-Class-Instance
           bi.setItem(buffer[0]);
            wdContext.currentRequest_X_putFileDataSimpleElement().modelObject().addBtContent(bi);
      wdContext.currentRequest_X_putFileDataSimpleElement().modelObject().execute();
    Doing this results in Error-Messages like:
    Model-Object is not a complex type for every byte added this way.
    And finally an IllegalArgumentException at java.lang.reflect.Array.set(Native Method)
    The second way i tried is:
    public boolean putKMDataSimple( com.sap.tc.webdynpro.services.sal.datatransport.api.IWDResource fin )  {
    try
      wdContext.currentRequest_X_putFileDataSimpleElement().setFullFileName("abc");
      wdContext.currentRequest_X_putFileDataSimpleElement().setUsername("def");
      wdContext.currentRequest_X_putFileDataSimpleElement().setPassword("xxx");
      byte[] buffer = new byte[1];
      ArrayList<Byte> btlist = new ArrayList<Byte>();
      InputStream in = fin.read(false);
      int i = 1;
      int j = 0;
      while (i!=-1)
         i = in.read(buffer);
         if (i!=-1)
              btList.add(buffer[0]);
      wdContext.currentRequest_X_putFileDataSimpleElement().modelObject().setBtContent(btList);
      wdContext.currentRequest_X_putFileDataSimpleElement().modelObject().execute();
    Trying so results in:
    java.lang.ClassCastException: class java.lang.Byte:null incompatible with interface com.sap.tc.cmi.model.ICMIModelClass:library:com.sap.tc.cmi(at-sign)[email protected]@alive
    whenn calling the setBtContent Method
    I don't what to do now to fill the context/model-object the right way.
    Any helpfull hints are very welcome
    Edited by: Matthias Hayk on Dec 1, 2008 5:51 PM
    Edited by: Matthias Hayk on Dec 2, 2008 10:56 AM

    Ok Vesselin and thanx for your idea,
    so i adapted the source in the way you told like the following:
                     ArrayList<Byte_Item> btlist = new ArrayList<Byte_Item>();
                     byte[] buffer = new byte[1];
                     InputStream in = fin.read(false);
                     int i = 1;
                     int j = 0;
                     while (i!=-1)
                          i = in.read(buffer);
                          if (i!=-1)
                               // Byte gelesen
                               Byte_Item bi = new Byte_Item(mAlf);
                               bi.setItem(buffer[0]);
                               btlist.add(bi);
                               j++;
                     wdContext.currentRequest_X_putFileDataSimpleElement().modelObject().setBtContent(btlist);     
                     wdContext.currentRequest_X_putFileDataSimpleElement().modelObject().execute();
    This results also in the following Exception when exceuting the WS-proxy:
    execute
    [EXCEPTION]
    java.lang.IllegalArgumentException
    at java.lang.reflect.Array.set(Native Method)
    at com.sap.tc.webdynpro.model.ejb.model.EJBGenericModelClassExecutable.getInputParameters(EJBGenericModelClassExecutable.java:215)
    at com.sap.tc.webdynpro.model.ejb.model.EJBGenericModelClassExecutable.execute(EJBGenericModelClassExecutable.java:112)

  • Creating a method with ByRef parameter

    Hi All,
    when i am creating a method with parameter as ByRef, i am getting the message as fallows.
    Please use valid signature.
    help me to overcome frojm this.
    Thanks in advance.
    With Regards
    Raju

    Hi,
    strange... I even thought that ByRef is default parameter type for sub... maybe you can try this.
    Or try to create your sub directly in the project file, maybe then you will have a proper error message from MS.
    Regards,
    Wolfhard

  • Two methods with same name?

    hello,
    When a class has two or more methods with the same name but each method
    accepts unique parameters ..... what is this called? Overloading?
    Thanks,
    jd
    public class Test{
         public Test(){
              String bubby = sayHI("Jason");
              System.out.println(bubby);
         public String sayHI(){
              return "hi";
         public String sayHI(String name){
              return "hi " + name;
         public static void main(String[] args){
              getPrefs gp = new getPrefs();

    is this also called overloading when your doing it with the constructor?Yes, unequivocally.
    8.4.7 Overloading
    If two methods of a class (whether both declared in the same class, or both inherited by a class, or one declared and one inherited) have the same name but different signatures, then the method name is said to be overloaded. This fact causes no difficulty and never of itself results in a compile-time error. There is no required relationship between the return types or between the throws clauses of two methods with the same name but different signatures.
    8.8.6 Constructor Overloading
    Overloading of constructors is identical in behavior to overloading of methods. The overloading is resolved at compile time by each class instance creation expression (�15.9).
    QED, &#167;

Maybe you are looking for