Error with setTextFormat() method

This is a very common issue but is still pissing me off.
I've this code:
item.addEventListener(MouseEvent.CLICK, function(e) {
            var style:TextFormat = new TextFormat();
            style.underline = true;
            e.currentTarget.label.text.setTextFormat(style);
Everytime I click on item I get back this error:
TypeError: Error #1006: value non è una funzione.
    at Function/<anonymous>()
Any ideas?

try:
item.addEventListener(MouseEvent.CLICK, function(e) {
            var style:TextFormat = new TextFormat();
            style.underline = true;
            e.currentTarget.label.setTextFormat(style);

Similar Messages

  • Error with RMI method call

    Hi,
    I am trying to access a stateless session bean from a client running under JBuilder.
    The method returns a basic object that is serializable, but I get the following
    error.
    java.lang.ArrayIndexOutOfBoundsException
         at com.sun.corba.se.internal.corba.AnyImpl.read_value(AnyImpl.java:345)
         at com.sun.corba.se.internal.iiop.CDRInputStream.read_any(CDRInputStream.java:572)
         at com.sun.corba.se.internal.javax.rmi.CORBA.Util.readAny(Util.java:199)
         at javax.rmi.CORBA.Util.readAny(Util.java:92)
         at com.sun.corba.se.internal.io.IIOPInputStream.inputObjectField(IIOPInputStream.java:1486)
         at com.sun.corba.se.internal.io.IIOPInputStream.inputClassFields(IIOPInputStream.java:1768)
         at com.sun.corba.se.internal.io.IIOPInputStream.inputObject(IIOPInputStream.java:897)
         at com.sun.corba.se.internal.io.IIOPInputStream.simpleReadObject(IIOPInputStream.java:264)
         at com.sun.corba.se.internal.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:250)
         at com.sun.corba.se.internal.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:212)
         at com.sun.corba.se.internal.iiop.CDRInputStream.read_value(CDRInputStream.java:1060)
         at com.sun.corba.se.internal.io.IIOPInputStream.inputObjectField(IIOPInputStream.java:1555)
         at com.sun.corba.se.internal.io.IIOPInputStream.inputClassFields(IIOPInputStream.java:1768)
         at com.sun.corba.se.internal.io.IIOPInputStream.inputObject(IIOPInputStream.java:897)
         at com.sun.corba.se.internal.io.IIOPInputStream.simpleReadObject(IIOPInputStream.java:264)
         at com.sun.corba.se.internal.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:250)
         at com.sun.corba.se.internal.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:212)
         at com.sun.corba.se.internal.iiop.CDRInputStream.read_value(CDRInputStream.java:906)
         at com.sun.corba.se.internal.core.UEInfoServiceContext.<init>(UEInfoServiceContext.java:33)
         at java.lang.reflect.Constructor.newInstance(Native Method)
         at com.sun.corba.se.internal.core.ServiceContextData.makeServiceContext(ServiceContextData.java:113)
         at com.sun.corba.se.internal.core.ServiceContexts.<init>(ServiceContexts.java:106)
         at com.sun.corba.se.internal.iiop.ReplyMessage.read(ReplyMessage.java:133)
         at com.sun.corba.se.internal.iiop.IIOPInputStream.<init>(IIOPInputStream.java:89)
         at com.sun.corba.se.internal.iiop.ClientResponseImpl.<init>(ClientResponseImpl.java:29)
         at com.sun.corba.se.internal.iiop.IIOPConnection.createInputStream(IIOPConnection.java:622)
         at com.sun.corba.se.internal.iiop.ReaderThread.run(IIOPConnection.java:109)
    org.omg.CORBA.UNKNOWN: minor code: 0 completed: Maybe
         at com.sun.corba.se.internal.core.UEInfoServiceContext.<init>(UEInfoServiceContext.java:37)
         at java.lang.reflect.Constructor.newInstance(Native Method)
         at com.sun.corba.se.internal.core.ServiceContextData.makeServiceContext(ServiceContextData.java:113)
         at com.sun.corba.se.internal.core.ServiceContexts.<init>(ServiceContexts.java:106)
         at com.sun.corba.se.internal.iiop.ReplyMessage.read(ReplyMessage.java:133)
         at com.sun.corba.se.internal.iiop.IIOPInputStream.<init>(IIOPInputStream.java:89)
         at com.sun.corba.se.internal.iiop.ClientResponseImpl.<init>(ClientResponseImpl.java:29)
         at com.sun.corba.se.internal.iiop.IIOPConnection.createInputStream(IIOPConnection.java:622)
         at com.sun.corba.se.internal.iiop.ReaderThread.run(IIOPConnection.java:109)
    Could you please point out some possible errors? Thanks.
    Charles

    [email protected] (Shawn Samuel) writes:
    Its quite likely that this is fixed in SP3. I suspect that the Map you
    are using is custom marshaled. There were some problems with this in
    SP2 which got fixed in 7.0 but weren't backported until recently.
    Can you be more explicit about the implementation class you are using?
    It seems unlikely that this is the null problem since the Map does not
    contain extra space. Unless you are putting nulls in it? Are you, the
    JDK won't cope with the correct encoding of null.
    andy
    I'm having a similar problem and getting nowhere.
    I'm calling a method on a stateless session bean with a serializable
    object as an argument that returns the same type of serializable
    object. This error comes back somewhere after the session bean returns
    on the server side. I'm running WL6.1SP2, jdk1.3.1_02, using rmi/iiop
    with the jdk orb and com.sun.jndi.cosnaming.CNCtxFactory on the
    client. I am able to make calls to the EJB that only take String
    arguments with no problems whatsoever.
    The serializable object contains Strings and a Map. Weblogic would
    give me a CORBA error on receiving the function call when I populated
    the Map. Leaving the Map null and setting only the Strings resulted in
    the call going all the way through the session bean method with no
    problem, but after populating a return object of the same type with
    only Strings, leaving the Map member null, and returning, I get the
    below error on the client.
    I'm getting a similar stack trace, but running a debugger on weblogic
    doesn't seem to indicate any unchecked exceptions being thrown.
    Is there something I'm overlooking here?
    thanks,
    Shawn
    my stack trace:
    java.lang.ArrayIndexOutOfBoundsException
         at com.sun.corba.se.internal.corba.AnyImpl.read_value(AnyImpl.java:345)
         at com.sun.corba.se.internal.iiop.CDRInputStream.read_any(CDRInputStream.java:572)
         at com.sun.corba.se.internal.javax.rmi.CORBA.Util.readAny(Util.java:199)
         at javax.rmi.CORBA.Util.readAny(Util.java:92)
         at com.sun.corba.se.internal.io.IIOPInputStream.inputObjectField(IIOPInputStream.java:1486)
         at com.sun.corba.se.internal.io.IIOPInputStream.inputClassFields(IIOPInputStream.java:1768)
         at com.sun.corba.se.internal.io.IIOPInputStream.inputObject(IIOPInputStream.java:897)
         at com.sun.corba.se.internal.io.IIOPInputStream.simpleReadObject(IIOPInputStream.java:264)
         at com.sun.corba.se.internal.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:250)
         at com.sun.corba.se.internal.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:212)
         at com.sun.corba.se.internal.iiop.CDRInputStream.read_value(CDRInputStream.java:1060)
         at com.i2.cis.operation.ejb._EJBOperation_Stub.invoke(Unknown Source)
         at com.i2.cis.transport.ejb.CISTransportEJB.invoke(CISTransportEJB.java:46)
         at com.i2.cis.transport.CISTransportBasic.execute(CISTransportBasic.java:138)
         at com.i2.cis.api.connector.CISConnection.execute(CISConnection.java:59)
         at com.i2.cis.api.connector.CISInteraction.execute(CISInteraction.java:45)
         at com.i2.cis.api.connector.test.CISClient.main(CISClient.java:55)
    Andy Piper <[email protected]> wrote in message news:<[email protected]>...
    "Charles Canning" <[email protected]> writes:
    This indicates that the server threw an unchecked exception but the
    client was unable to unmarshal it. Please make sure you are using SP2
    of WLS 6.1. Also what version of the JDK are you using?
    andy
    Hi,
    I am trying to access a stateless session bean from a client running under JBuilder.
    The method returns a basic object that is serializable, but I get the following
    error.
    java.lang.ArrayIndexOutOfBoundsException
         at com.sun.corba.se.internal.corba.AnyImpl.read_value(AnyImpl.java:345)
         at com.sun.corba.se.internal.iiop.CDRInputStream.read_any(CDRInputStream.java:572)
         at com.sun.corba.se.internal.javax.rmi.CORBA.Util.readAny(Util.java:199)
         at javax.rmi.CORBA.Util.readAny(Util.java:92)
         at com.sun.corba.se.internal.io.IIOPInputStream.inputObjectField(IIOPInputStream.java:1486)
         at com.sun.corba.se.internal.io.IIOPInputStream.inputClassFields(IIOPInputStream.java:1768)
         at com.sun.corba.se.internal.io.IIOPInputStream.inputObject(IIOPInputStream.java:897)
         at com.sun.corba.se.internal.io.IIOPInputStream.simpleReadObject(IIOPInputStream.java:264)
         at com.sun.corba.se.internal.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:250)
         at com.sun.corba.se.internal.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:212)
         at com.sun.corba.se.internal.iiop.CDRInputStream.read_value(CDRInputStream.java:1060)
         at com.sun.corba.se.internal.io.IIOPInputStream.inputObjectField(IIOPInputStream.java:1555)
         at com.sun.corba.se.internal.io.IIOPInputStream.inputClassFields(IIOPInputStream.java:1768)
         at com.sun.corba.se.internal.io.IIOPInputStream.inputObject(IIOPInputStream.java:897)
         at com.sun.corba.se.internal.io.IIOPInputStream.simpleReadObject(IIOPInputStream.java:264)
         at com.sun.corba.se.internal.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:250)
         at com.sun.corba.se.internal.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:212)
         at com.sun.corba.se.internal.iiop.CDRInputStream.read_value(CDRInputStream.java:906)
         at com.sun.corba.se.internal.core.UEInfoServiceContext.<init>(UEInfoServiceContext.java:33)
         at java.lang.reflect.Constructor.newInstance(Native Method)
         at com.sun.corba.se.internal.core.ServiceContextData.makeServiceContext(ServiceContextData.java:113)
         at com.sun.corba.se.internal.core.ServiceContexts.<init>(ServiceContexts.java:106)
         at com.sun.corba.se.internal.iiop.ReplyMessage.read(ReplyMessage.java:133)
         at com.sun.corba.se.internal.iiop.IIOPInputStream.<init>(IIOPInputStream.java:89)
         at com.sun.corba.se.internal.iiop.ClientResponseImpl.<init>(ClientResponseImpl.java:29)
         at com.sun.corba.se.internal.iiop.IIOPConnection.createInputStream(IIOPConnection.java:622)
         at com.sun.corba.se.internal.iiop.ReaderThread.run(IIOPConnection.java:109)
    org.omg.CORBA.UNKNOWN: minor code: 0 completed: Maybe
         at com.sun.corba.se.internal.core.UEInfoServiceContext.<init>(UEInfoServiceContext.java:37)
         at java.lang.reflect.Constructor.newInstance(Native Method)
         at com.sun.corba.se.internal.core.ServiceContextData.makeServiceContext(ServiceContextData.java:113)
         at com.sun.corba.se.internal.core.ServiceContexts.<init>(ServiceContexts.java:106)
         at com.sun.corba.se.internal.iiop.ReplyMessage.read(ReplyMessage.java:133)
         at com.sun.corba.se.internal.iiop.IIOPInputStream.<init>(IIOPInputStream.java:89)
         at com.sun.corba.se.internal.iiop.ClientResponseImpl.<init>(ClientResponseImpl.java:29)
         at com.sun.corba.se.internal.iiop.IIOPConnection.createInputStream(IIOPConnection.java:622)
         at com.sun.corba.se.internal.iiop.ReaderThread.run(IIOPConnection.java:109)
    Could you please point out some possible errors? Thanks.
    Charles--

  • Errors with getInstanceVariables() method

    When trying to use the getInstanceVariables() method in a JSP, it doesn´t recognize
    the sintaxis used which is like the example used on the BEA manuals:
    List list = admin.getInstanceVariables(task.getInstanceId());
    The problem is as follows: when trying to access the page that contains the list
    of tasks, once the user is logged on, the following error appears:
    Compilation of 'C:\bea\wli21\config\wlidomain\applications\.wlnotdelete\WEB-INF\_tmp_war_myserver_myserver_ApCuentaB13c\jsp_servlet\__worklist.java'
    failed:
    C:\bea\wli21\config\wlidomain\applications\.wlnotdelete\WEB-INF\_tmp_war_myserver_myserver_ApCuentaB13c\jsp_servlet\__worklist.java:510:
    cannot resolve symbol
    probably occurred due to an error in /worklist.jsp line 453:
    List list = admin.getInstanceVariables(task.getInstanceId());
    Full compiler error(s):
    C:\bea\wli21\config\wlidomain\applications\.wlnotdelete\WEB-INF\_tmp_war_myserver_myserver_ApCuentaB13c\jsp_servlet\__worklist.java:510:
    cannot resolve symbol
    symbol : variable admin
    location: class jsp_servlet.__worklist
    List list = admin.getInstanceVariables(task.getInstanceId());
    //[ /worklist.jsp; Line: 453]
    We think it's not using the admin as a nexus with the EJBObject. We feel it's
    necessary to emphasize that we are invocating:
         com.bea.wlpi.server.admin.Admin

    The first error is on line 17
    public void readPlayers( fin, teamArray)When declaring a method, you have to indicate the types of the parameters, e.g., public void readPlayers(Scanner fin, Player[] teamArray) {Further, you may NEVER define a method within another method.
    the second error is on line 53
    else (type.equals("Hockey"))type.equals("...") is only for testing equality. It returns a boolean value of true or false. There are two possible solutions here:
    else if (type.equals("Hockey")) //to test if variable "type" is set to the value "Hockey"
    or
    else (type="Hockey") //to force the variable "type" to represent the string "Hockey"
    Which to use depends on what you want to accomplish.

  • Installation error with 9.2 deleting older version of Apple Software Update

    Have tried installing directly from Apple.com and have tried downloading and
    then installing. Get the error with either method. Have even tried to install
    Quick Time standalone directly and from a Quick Time download with same error.
    I've even tried ALL Apple's trouble shooting methods to no avail. When I attempt to remove most of the programs with windows the error received is network resource is unavailable. Even when I remove/delete etc following Apple's trouble shooting I hit a brick wall and am hoping for advice/solutions.

    When I attempt to remove most of the programs with windows the error received is network resource is unavailable.
    Doublechecking, Mister Russell. Is it also saying that the AppleSoftwareUpdate.msi is missing?

  • Error: The AcquireConnection method call to the connection manager failed with error code 0xC0202009 using DB2 connection

    I have a SSIS project that I am newly running on the SQL server (2005) .  It was previously run on my PC.  I am importing data from a DB2 server to the SQL server.
    I am in the SA group on the server
    My connection to DB2 works
    When open the package and run it in preview mode, I can retrieve the data.
    When I execute the package I get the below errors:
    [MIDAS OLE DB Source [1]] Error: The AcquireConnection method call to the connection manager "NGMDSPA.alharris" failed with error code 0xC0202009.
    [DTS.Pipeline] Error: component "MIDAS OLE DB Source" (1) failed validation and returned error code 0xC020801C.
    What I have already done that has not worked:
    The original Protection level was set to EncryptSensitiveWithPassword. 
    I have reset the Package Password.
    I have set the protection level to DontSaveSensitive
    I saved the package on the server and set a Package Password.
    I created a new package, set the Protection level to DontSaveSensitive, set a package password in a configuration file using the Package Configuration Wizard.
    Error continues

    Yes.  The Drivers are installed and I have a successfull connection.  I am trouble shooting the issue on the server in BIDS.  I can connect to the DB2 server via the Connectionmanager.  I can also preview the data in the OLE
    DB source connection.  Therefore I know that I have a proper connection
    If you're setting option as DontSaveSensitive then you need to pass the connection information from configuration file/ config table. Otherwise it wont be able to use it for connecting to your source/destination servers. This is the recommended way as it
    will enable you to change connection info at runtime.
    If you want connection info to persist you need to use protection level as EncryptSensitiveUsingUserKey or EncryptSensitiveUsingPassword and set a password.
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • 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?

  • After trying many times with two different debit cards still does not allows me to buy a game from the app store gives error "YOUR PAYMENT METHOD WAS DECLINE.PLEASE ENTER VALID PAYMENT METHOD INFORMATION"  Please help me out

    I WANT TO PURCHASE NFS MOST WANTED GAME FROM APP STORE BUT IT DOESN'T ALLOW ME TO PROCEED FURTHER
    after trying many times with two different debit cards still does not allows me to buy a game from the app store gives error "YOUR PAYMENT METHOD WAS DECLINE.PLEASE ENTER VALID PAYMENT METHOD INFORMATION"  Please help me out

    In most cases, you can't use a Debit card anymore. So, either redeem an iTunes gift card or use a credit card.

  • BAPI_ALM_ORDER_MAINTAIN error with method

    Hi,
    I have a problem using this BAPI. I have looked how to use this BAPI in the forum but it doesnt work and i dont know why:
    Here the code, maybe u can find something wrong. The goal is to modfy the user status changing the order user status to technical close:
      wa_methods-method = c_save. "SAVE
      APPEND wa_methods TO li_methods.
      wa_methods-refnumber = c_1.
      wa_methods-objecttype = c_userstatus. "USERSTATUS
      wa_methods-method = c_change. " CHANGE
      wa_methods-objectkey = p_order.
      APPEND wa_methods TO li_methods.
    Userstatus
      wa_userstatus-user_st_text = c_cierreTEC. "CTEC
      wa_userstatus-langu = SY-LANGU.
      wa_userstatus-inactive = space.
      wa_userstatus-change_event = '01'.
      APPEND wa_userstatus TO li_userstatus.
      CALL FUNCTION 'BAPI_ALM_ORDER_MAINTAIN'
        TABLES
          it_methods              = li_methods
          IT_USERSTATUS     = li_userstatus
          RETURN                  = li_return.
    The error i am getting is msgid: IWO_BAPI2 msgno: 113 (Something like "error using the methods of the BAPI".
    Do you have any idea?
    Regards,
    Manel

    Hi Manel,
    I think you also have to add the refnumber with the SAVE method:
    wa_methods-refnumber = c_1.
    wa_methods-method = c_save. "SAVE
    APPEND wa_methods TO li_methods.
    Kind regards,
    Lieselot

  • Error with method beep?

    when i wrote the following code
         JOptionPane.showMessageDialog(null, "You Must Enter A Name! " );
    void beep();
    it gave me two errors in the beep code:1-illegal start of expression
    2-' ; ' expected
    although i have imported the class toolkit????????

    You can't just import the class, you have to use it in the code too. You can create a Toolkit object with this method:
    Toolkit tk = Toolkit.getDefaultToolkit();Then call the beep method on that reference:
    tk.beep();

  • ERROR - the ProtectKeyWithTPMAndPIN Method failed with the exit code: 8031005B

    Hello
    I am using the EnableBitlocker.vbs script to automatically assign the TPM and start the encryption. I am running it from an elevated command prompt. Here is are the arguments I am running with
    cscript EnableBitLocker.vbs /on:tp
    /l:c:\bitlockerlog.log /promptuser /ro:"MBAM" on
    All is well and it prompts the user for a PIN but then it fails.
    Here is the full log file. I haven't been able to find any info on the error code in the subject.
    Script processing started  02/07/2014       14:43:27
    Proper number of command line arguments passed to the script
    ---------------Executing with the following arguments------------------
    Enable parameters: tp
    Logging location: c:\bitlockerlog.log
    Create recovery key: No recovery key use specified
    Encryption method: 3
    Create SMS status MIF's: No SMS status MIF's will be created
    Reset TPM ownership: 1
    User prompting: 1
    Connection succeeded to MicrosoftTPM
    Successfully retrieved a TPM instance from the Win32_TPM provider class
    TPM found in the following state:
    Enabled - True
    Activated - True
    Owned - True
    Connection succeeded to MicrosoftVolumeEncryption
    TPM is in a ready state to enable BitLocker.
    Change TPM owner password specified on the command line.
    Random TPM owner password is: ;&K:)BU65|c7_v2n
    Completed converting old owner password to owner authorization:  0
    Completed converting owner password to owner authorization:  0
    Starting to change owner authorization process on the TPM
    ERROR - Failed to change owner authorization on the TPM with the following exit code:  80280001
    Successfully connected to WMI StdRegProv
    Checking if Group Policy encryption method is set...
    Found EncryptionMethod with value: 4
    Found EncryptionMethod policy registry key ignoring any /em options on command line
    Found ActiveDirectoryBackup with value: 1
    Found RequireActiveDirectoryBackup with value: 1
    Determined client Group Policy configured to require AD escrow of recovery password
    EncryptableVolumes count is: 1
    The EncryptableVolume(s) found: \\?\Volume{ad6db324-01dd-11e4-8272-806e6f6e6963}\
    EncryptableVolume used for encryption is: C:
    The volume has a protection status of: 0
    BitLocker Protection is Off
    Get conversion status is: 0
    The volume has a status of fully decrypted
    The following user is logged on: MGMT\80151318-sys
    Attempting to enable BitLocker TPM + Pin
    ERROR - the ProtectKeyWithTPMAndPIN Method failed with the exit code:  8031005B
    Script ended  02/07/2014       14:43:51
    Any and all help would be appreciated. This has worked before on a different laptop.
    Thanks

    Hi,
    This error indicates that the group policy isn't set correctly, when configure the group policy at teh server side, you should notice that only one of the additional authentication can be required at start up , otherwise a policy occurs, the notice can be
    found just like below:
    and after test, the error indeed occurs, just like the screen below:
    So, I suggest to check the group policy for bitlocker settings, you can only choose one start up authentication method.
    Regards
    Wade Liu
    TechNet Community Support

  • 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

  • Plug-in errors and dependency errors with a CAF app in DS in NW CE 7.1

    I am learining to build CAF apps in Developer Studio in NW CE 7.1.  Here are my steps and the errors I am getting:
    Open Developer Studio
    Switch to the CA perspective
    File->New->Project
    Choose Development Component under Development Infrastructure
    Press Next
    Choose Composite Application under sap.com
    Choose MyComponents[demo.sap.com] under 'Local Development'
    Vendor: demo.sap.com
    Name: carpool
    Caption: Car Pool
    Language: American English
    Domain: SAP-xApps
    Support Component: CAF-APP (typed in, not chosen)
    Press Finish
    The following error appears:
    Status ERROR
    Plugin : com.sap.ide.metamodel.core.services.eclipse
    code=0
    Internal error
       Plugin name: Metamodel Core
       Internal error  : com.sap.ide.metamodel.core.services.eclipse
       Class      : com.sap.ide.mmservices.core.eclipse.project.ArchiveVersionChecker
       Method     : computeIdeJarProperties
       Message    : C:\Program Files\SAP\IDE\CE\eclipse\E:\Program Files\SAP\IDE\CE\eclipse\plugins\com.sap.dictionary.services_10.0.0.070821165456\lib\com.sap.dictionary.services_api.jar (The filename, directory name, or volume label syntax is incorrect)
       Exception  : java.io.FileNotFoundException: C:\Program Files\SAP\IDE\CE\eclipse\E:\Program Files\SAP\IDE\CE\eclipse\plugins\com.sap.dictionary.services_10.0.0.070821165456\lib\com.sap.dictionary.services_api.jar (The filename, directory name, or volume label syntax is incorrect)
    java.io.FileNotFoundException: C:\Program Files\SAP\IDE\CE\eclipse\E:\Program Files\SAP\IDE\CE\eclipse\plugins\com.sap.dictionary.services_10.0.0.070821165456\lib\com.sap.dictionary.services_api.jar (The filename, directory name, or volume label syntax is incorrect)
    at java.util.zip.ZipFile.open(Native Method)
    at java.util.zip.ZipFile.<init>(ZipFile.java:203)
    at java.util.jar.JarFile.<init>(JarFile.java:132)
    at java.util.jar.JarFile.<init>(JarFile.java:70)
    at com.sap.ide.mmservices.core.eclipse.project.ArchiveVersionChecker.computeIdeJarProperties(ArchiveVersionChecker.java:296)
    at com.sap.ide.mmservices.core.eclipse.project.ArchiveVersionChecker.doFullCheck(ArchiveVersionChecker.java:214)
    at com.sap.ide.mmservices.core.eclipse.project.ArchiveVersionChecker.checkProject(ArchiveVersionChecker.java:125)
    at com.sap.ide.mmservices.core.eclipse.generation.GenerationServiceEclipse.checkArchiveVersions(GenerationServiceEclipse.java:110)
    at com.sap.dictionary.tools.generation.eclipse.GenerationBuilder.checkArchiveVersions(GenerationBuilder.java:335)
    at com.sap.dictionary.tools.generation.eclipse.GenerationBuilder.build(GenerationBuilder.java:85)
    at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:624)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:166)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:197)
    at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:246)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:249)
    at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:302)
    at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:334)
    at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:137)
    at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:235)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
    I do not think I missed anything installing NW CE 7.1, but this error makes me think that some plug-in was erroneously left out of the install. 
    Incidentally, I can continue onward and build an app (this is obviously a tutorial), but when I try to deploy I get the following error:
    The deployment of the archive failed with an exception!
    ([ERROR CODE DPL.DCAPI.1027]) DependenciesResolvingException.
    Reason:[ERROR CODE DPL.DC.3033] An unresolved dependencies error
    occurred while sorting the deployment batch items regarding the
    dependencies.;nested exception is:
    com.sap.engine.services.dc.cm.deploy.sdu_deps_resolver.UnresolvedDepen
    denciesException:[ERROR CODE DPL.DC.3437]Unresolved dependencies
    found for the following deployment items:
    1. Component: name:'carpool~ear',vendor:'my.company',location:
    'localDevelopment',version:'20080501110329',software type: 'J2EE',
    dependencies:'[name:'cafruntimeear',vendor:'sap.com',name:
    'cafcoreear',vendor:'sap.com']
    Unresolved dependency:
    name:'cafruntimeear',vendor:'sap.com'          (not found in the admitted
    batch items and the repository)
    Unresolved dependency:
    name:'cafcoreear',vendor:'sap.com'          (not found in the admitted
    batch items and the repository)
    Please check the error log for further informations.
    Again, this looks like I am missing some components.
    Any assistance is greatly appreciated.
    TB

    Further developments:  As you may note from the error message, DS is looking for com.sap.ide.metamodel.core.services.eclipse in both the C: and the E: drive at the same time.  In fact, this file exists in the E: drive subdirectory listed, so I obviously have an error with two drive designations being concatenated.  Does anyone know how I can change the lookup directory for this dependency (or any dependency)? 
    Thanks,
    TB

  • PeopleSoft XML Publisher report error with java.io.FileNotFoundException

    Hi,
    I have created two reports using XML Publisher in Peoplesoft Financials. The two reports are not related and they were submitted for processing separately. The first report completes without any issues. The second report results in error with the following message:
    09.11.17 ..(CIS_POTRPT.XML_FILE.Step03) (PeopleCode)
    [012309_091118154][oracle.apps.xdo.template.FOProcessor][EXCEPTION] IOException is occurred in FOProcessor.setData(String) with 'files/cis_potrpt.xml'.
    [012309_091118500][oracle.apps.xdo.template.FOProcessor][EXCEPTION] java.io.FileNotFoundException: files/cis_potrpt.xml (A file or directory in the path name does not exist.)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(FileInputStream.java(Compiled Code))
         at java.io.FileInputStream.<init>(FileInputStream.java:89)
         at oracle.apps.xdo.template.FOProcessor.getInputStream(FOProcessor.java:1316)
         at oracle.apps.xdo.template.FOProcessor.getXMLInput(FOProcessor.java:1100)
         at oracle.apps.xdo.template.FOProcessor.setData(FOProcessor.java:372)
         at com.peoplesoft.pt.xmlpublisher.PTFOProcessor.generateOutput(PTFOProcessor.java:53)
    2009-01-23-09.11.18.000418 AePcdExecutePeopleCode [174] Exception logged: RC=100.
    Error generating report output: (235,2309) PSXP_RPTDEFNMANAGER.ReportDefn.OnExecute Name:ProcessReport PCPC:51552 Statement:1153
    Called from:CIS_POTRPT.XML_FILE.GBL.default.1900-01-01.Step03.OnExecute Statement:8
    2009-01-23-09.11.18.000617 DoStepActions [1797] Exception logged: RC=100.
    Process 598607 ABENDED at Step CIS_POTRPT.XML_FILE.Step03 (PeopleCode) -- RC = 24 (108,524)
    In the process monitor detail > view log/trace page, the xml file is accessible so the file was generated to a valid directory.
    The weird thing is I was able to run this report without any issues few weeks ago although another user also ran into same error. The PeopleCode step that has been identified is essentially same in the two reports. I checked the app server and the directory does exist as well as the xml files for the two reports. The problem does not occur in test environment, just in production. Any help would be appreciated.

    We encounter the same problem. Did you get the answer for this issue? Thanks in advance.

  • Error with Loading Device Software on 8700 AT&T phone.

    Hi. I would like some help with my 8700 AT&T refurb blackberry phone.  When I tried to download the device software (v4.5) to my already downloaded DTM (v4.6), it gave me an error message I did not know what to do with.  
    I want to synch my organizer data (calendar, contacts) from older desktop (Outlook 2002) to my new laptop (Outlook 2007, Windows 7).  I am having trouble downloading the supporting device software.  I keep getting an error message that reads "Error with the Application Loader.  Cannot update software using this system as device is currently activated on a blackberry Enterprise Server or professional software.  Contact administrator or check with service provider."  I do not use Enterprise.  I don't have an internet service plan for my phone as I use it only for calendar and contacts.  AT&T gives the software option for AT&T 8700 in English device software as v4.1.0.175 as the only option that is supported by my current platform (2.0.0.90).  Is this right? 
    All I really want to update my phone with the latest software that supports Outlook 2007 on my new laptop.  What do I need to make that happen? 
    Thanks in advance.

    Hi there!
    Refurbs can be problematic. If a BB was ever activated on BES, then it has an IT Policy. IT Policies are not removed by the standard WIPE actions. Rather, they take additional steps to clean off the Policy.
    Just to check, please go to this screen:
    Homescreen > Options > Security Options > (Information) or (General Settings) or (something similar)
    On that screen will be some selection boxes plus other sections (divided by horizontal lines). If, on that screen, there is any discussion about IT Policy (even if it says "Default"), then you indeed have an IT Policy on your BB. (The screen may also have a section for "Services").
    If you don't have an IT Policy, then something else is going on...in which case, stop here and report back exactly what you found on that screen.
    If you do have an IT Policy, then, in my view, you have two choices.
    1) Since this refurb was provided to you by ATT, they did not deliver to you a "clean" device. You could take it back to them and have them clean the IT Policy off.
    2) You can remove the Policy yourself. The process is 100% destructive to the data on the BB, so you'll want to be sure you've already taken a good full backup. Then use Method 3 in this KB.
    As for what device OS to install, you have more choices than you indicated. See this page:
    https://www.blackberry.com/Downloads/browseSoftwar​e.do;jsessionid=0A15EC28AEC181D3F3F9C5235D9F166A.n​...
    Select, from the drop-down, your model (8700). The resulting screen shows that ATT is currently supporting 4.5.0.182 (MultiLanguage) for your BB model. The MultiLanguage pack will include English, so you don't have to fall all the way back to the English only version. So, you have choices. The best advice is to use the most recent version -- bug fixes, enhancements, and all of that.
    What I advise, since you want to use Outlook 2007, is to use that 4.5.0.182 package for your BB and the most recent RIM desktop package (5.0.1.28). That way, you will have full compatibility for what you are looking for.
    Good luck and let us know!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Error about getAppletContext() method

    I want to control my popup menus and thier actions in class called Popup_Menus then create an instance of this class in an other class which allows me to use the popup menus.
    When I compile Popup_Menus class I am getting the following error: -
    Popup_Menus.java [79:1] cannot resolve symbol
    symbol: method getAppletContext ()
    getAppletContext().showDocument(url,s);
    ^
    1 error
    Errors compiling Popup_Menus.
    Here is the code in my Popup_Menus class: -
    public class Popup_Menus {
    JPopupMenu ar[] = new JPopupMenu[16];
    JMenuItem it[] = new JMenuItem[84];
    public Popup_Menus() {
    for (int i=0;i<16;i++)
    ar[i] = new JPopupMenu();
    for (int i=0;i<84;i++)
    it[i] = new JMenuItem();
    it.setBackground(Color.orange);
    it[i].setForeground(Color.cyan);
    it[16]= new JMenuItem("abdi");
    it[17]= new JMenuItem("ganni");
    it[18]= new JMenuItem("magan");
    it[0] = new JMenuItem("Oracle");
    ar[0].add(it[0]);
    it[1] = new JMenuItem("Macrosoft");
    ar[1].add(it[1]);
    it[2] = new JMenuItem("SunMicro");
    ar[2].add(it[2]);
    it[3] = new JMenuItem("PeopleSoft");
    ar[3].add(it[3]);
    it[4] = new JMenuItem("HP");
    ar[4].add(it[4]);
    it[5] = new JMenuItem("Dell");
    ar[5].add(it[5]);
    it[6] = new JMenuItem("Compact");
    ar[6].add(it[6]);
    it[7] = new JMenuItem("Apple");
    ar[7].add(it[7]);
    it[8] = new JMenuItem("Sony");
    ar[8].add(it[8]);
    it[9] = new JMenuItem("Philipes");
    ar[9].add(it[9]);
    it[10] = new JMenuItem("Bush");
    ar[10].add(it[0]);
    it[11] = new JMenuItem("Granada");
    ar[11].add(it[11]);
    it[12] = new JMenuItem("PC");
    ar[12].add(it[12]);
    it[13] = new JMenuItem("Macintosh");
    ar[13].add(it[13]);
    it[14] = new JMenuItem("Laptop");
    ar[14].add(it[14]);
    it[15] = new JMenuItem("Solaris");
    ar[15].add(it[15]);
    it[0].addActionListener(new ActionListener()
    public void actionPerformed(ActionEvent e)
    System.out.println("Working");
    try
    String s="ali";
    URL url = new URL("http://www.google.com");
    getAppletContext().showDocument(url,s);
    catch(MalformedURLException malformedurlexception)
    System.err.println(malformedurlexception);
    Thanks for your help guys.

    Thanks Sandeep. I replace the count with RCOUNT and i'm not getting the error. Can you tell me what did this do by adding Rcount to my formula? Also i'm still getting the error with my actual execution rate. THis is a different formula. The actual execution rate is below:
    SUM( CASE WHEN MQCREPORT.HPQC_TEST_SET.TC_EXEC_STATUS = 'Passed' OR MQCREPORT.HPQC_TEST_SET.TC_EXEC_STATUS = 'Failed' THEN 1 ELSE 0 END ) / ( TIMESTAMPDIFF( SQL_TSI_DAY , TIMESTAMPADD( SQL_TSI_DAY , 7 - DAYOFWEEK(MQCREPORT.HPQC_REL_CYCL.REL_START_DATE), MQCREPORT.HPQC_REL_CYCL.REL_START_DATE), TIMESTAMPADD( SQL_TSI_DAY , 7 - DAYOFWEEK( CURRENT_DATE ), CURRENT_DATE )) / 7 * 5 + CASE 7 - DAYOFWEEK(MQCREPORT.HPQC_REL_CYCL.REL_START_DATE) WHEN 6 THEN 5 ELSE 7 - DAYOFWEEK(MQCREPORT.HPQC_REL_CYCL.REL_START_DATE) END - CASE 7 - DAYOFWEEK( CURRENT_DATE ) WHEN 6 THEN 5 ELSE 7 - DAYOFWEEK( CURRENT_DATE ) END ) * 1.0

Maybe you are looking for