How to handele this Exception

Hi All,
Currently I am working with SAP EP7.0 Web application Server, and now I am implementing model by using Web Services.
   I imported the Web Services model successfully but when i execute this i got Exception like:
Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized. The requested URL was:"http://suresh:50100/EmpMaintenanceWS/Config1?style=document".
Note: EmpMaintenance is my Web Service.
I have the table in Database(Employee Maintenance Table), I got this exception when i want to save these details in Database. I got the values in UIElements of table but I didn't got this in Databsae.
Could anybody help me to resolve this bug please!.

Hi Suresh,
As Manoj rightly said, please check the Web Service first through navigator.
The error that you have mentioned, comes when the Web Service is a Secure Web Service, ie authorization is required to access the functionality of the Web Service. This can be verified, by access the Web Service thru Navigator.
If, the Web Service is Secure, then you can use the following piece of code, to set the Username and Password.
wdContext.node<Model_node_name>().current<Model_node_name>Element().modelObject()._setUser("<Username>");
wdContext.node<Model_node_name>().current<Model_node_name>Element().modelObject().._setPassword("<Password>");
Hope it Helps.
Regards,
Alka.

Similar Messages

  • How to handel this calculation in BI for the Mod. Production Planning ????

    Hi All,
    I have a scenario like this :
    Look into the follwing Data.
    PLANT |    RUNDATE|    WORK_CENTER|   SHIFT|  PRODUCT_TYPE|    ALLOWED_TIME|   LINEHOUR1  
    1010--10/01/2007D0001A400--
    0.114
    1010--10/01/2007D0001B500--
    0.142
    1010--10/01/2007D0001C100--
    0.028
    1010--10/01/2007D0001D1100--
    0.314
    1010--10/01/2007D0001E600--
    0.171
    1010--10/01/2007D0001F800--
    0.228            
    TOTAL ALLOWED_TIEM------       3500
    1010--10/01/2007D0011A1400--
    0.334
    1010--10/01/2007D0011B500--
    0.142
    1010--10/01/2007D0011C100--
    0.028
    1010--10/01/2007D0011D1100--
    0.314
    1010--10/01/2007D0011E600--
    0.171
    1010--10/01/2007D0011F800--
    0.228            
    TOTAL ALLOWED_TIEM------       4500
    I have to calculate the Production Line Hours, based on the following calculation.
    Now i have to input the  value in the INFOOBJECT LINEHOUR1 based on the following calculation.
    400 / 3500 = 0.114  (ALLOWED_TIME of every line item has to be divided with TOTAL ALLOWED_TIME)
    500 / 3500 = 0.142
    100 / 3500 = 0.028
    1100 / 3500 = 0.314
    .........so on
    The workcenter is different is two blocks of example data, and  hence to be calculated differently.
    Now how to achive this,
    I appriciate your insite on this problem.
    Regards
    Shaan.

    Hi Philips,
    Thanks for your response.
    I want to make you more clear about the problem.
    We are calculating based on the following combinations.
    PLANT--RUNDATE-WORKCENTER-SHIFT-----PRODUCTTYPE
    We have three different Plants.
    Rundate is assume as the Calday.
    We have 18 Workcenters.
    Each Workcenter can have 3 shifts maximum.
    And in every sift there would be 3 to 4 product types produced.
    So what i mean to let you know is, the calculation is not based on WORKCENTER, where as it is based on all the five(5)
    characteristics combination.
    The total allowed time will be calculated based on PLANT......RUNDATE......WORKCENTER....SHIFT.
    We normally calculate the linehour with the below formula...
    (ALLOWED TIME/ TOTAL ALLOWED TIME) * (SHIFTTIME - DOWN TIME - BREAK TIME).
    So i have all the information in the line item level except the TOTAL ALLOWED TIME.
    Now i want to insert a new column in the CUBE and wanted to have the TOTAL ALLOWED TIME in every line item,
    might not seem to be a good idea, but just let me know how to do it.
    If it is not clear, you can ask me for further questions.
    THANK  YOU PHILIPS.
    Regards
    Shaan

  • How to implement this: Exception handler for managed bean

    Hi, i'm using jdev 11g rel 1 , and i know i can use custom java class to extends DCErrorHandlerImpl, and override some method to customize the output or other info of my exceptions.
    And then config it for databindings.cpx to make it available. But i found that this is only available for JboExceptions which are thrown from BC layer and through databindings.
    If my exceptions are from managed bean, or just use application module to use the methods in it, while encounter exceptions, there's no way to handle it.
    How can i handle it in managed bean in just one place(for architecuture layer)? <I just want to define a method to handle all managed bean's exceptions and use dcContainer.process it>,
    who can give some suggestion?

    If my exceptions are from managed bean, or just use application module to use the methods in it, while encounter exceptions, there's no way to handle it.
    How can i handle it in managed bean in just one place(for architecuture layer)? <I just want to define a method to handle all managed bean's exceptions and use dcContainer.process it>,
    who can give some suggestion?If you use application module methods in the managed bean, then use them through methodAction bindings so that the standard error handling works as expected.
    See: http://blogs.oracle.com/smuenchadf/no_createrootappmodule_in_backing_beans.html
    If you need to do a whole lot of error handling in the bean (instead of just showing a message once in a while), you might be putting too much business logic where it doesn't belong. Consider moving that logic to the AM

  • How to Handled this exception ORA-04054

    I Have the next Code and i need to handle the error when my BDlink is Down so the procedure execute eventhough this. I was using "WHEN OTHERS" but is executing always the exception bring me the worng value and it doesn't working. this procedure have to bring me one if DBLink is up and zero if Dblink is down.
    declare
    RETVAL NUMBER;
    BEGIN
    SELECT COUNT(*) INTO retval FROM [email protected];
    EXCEPTION WHEN OTHERS THEN
    retval := 0;
    IF retval = 1 THEN
    UPDATE OWNER.TABLE1 SET SELECCION = '1' WHERE CODE_AGENCY= 2;
    END IF;
    commit;
    END;
    I hope someone help me to handled ths especific Exception. I need to resolve this fast because i'm lated with this.
    Thanks.

    You are not setting the retval properly.
    Try this,
    DECLARE
      RETVAL   NUMBER;
    BEGIN
       retval := 1;
      SELECT COUNT (*) INTO retval FROM [email protected];
      retval := 0;
    EXCEPTION
      WHEN OTHERS
      THEN
        IF retval = 1
        THEN
          UPDATE OWNER.TABLE1
             SET SELECCION = '1'
           WHERE CODE_AGENCY = 2;
        END IF;
        COMMIT;
    END;G.

  • How to fix this exception ID

    I created a CGS JCA which retrives data from SAP DB through BAPI , When I'm trying to execute the code ie in Portalapps.xml, I'm getting the following error
    <b>Portal Runtime Error
    An exception occurred while processing a request for :
    iView : N/A
    Component Name : N/A
    JCABAPI.SampleComponent.
    Exception id: 03:03_14/08/06_0096_9167250
    See the details for the exception ID in the log file</b></b>
    Would anyone suggest me some solution for this problem

    Hi,
    You can get more information about the exception if you check the log file. Go to the Java Developer role/Tools/Portal tools/Portal logviewer. Open the most recent defaultTrace file and search for your exception id (in your case 0096_9167250).
    See if the information there helps to solve the problem.
    Regards,
    Rachel

  • How to solve this exception

    Exception in thread "main" javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
    that is in the SUN APPLICATION SERVER 8

    Refer to the Sun App Server documentation.
    http://docs.sun.com/source/819-0079/dgacc.htmlIt lists down the steps you need to follow.

  • How to catch ALL Exception in ONE TIME

    I'm explain my issue:
    I'm making a program with Class, Swing, Thread ...
    Then all action I do on my graphical application, I use a new thread, well
    I want to capture in my Startup programs, all unknow exception and then, I display it with a JOptionPane for example
    In fact, I want to do something like Eclipse, when it crash, I capture the error
    Could you help me ? Tell me the best way to do that ?
    This is an exemple
    FILE: Startup.java
    class Startup{
    public static main (String args[]){
    try{
    new Main();
    }catch(Throwable e){
    //Message d'erreur fenetre
    FILE: Main.java
    class Main{
    Main(){
    init_action();
    void init_action(){
    mybutton.addActionListener(new ActionListener(){
    public void actionPerformed(ActionEvent e){
    Thread th=new Thread(){
    public void run(){
    int a = 1 / 0;
    th.start();
    Well, in this example I want to capture the Divide By 0, I use the Throwable Exeption, in order to be sure I catch all unknow exeption
    Then, a good job, is to put throws Throwable in all function
    but Thread, and ActionPerformed ... could not implement it
    How to put this exception and jump it to Startup Program ?

    I already do that, what can I do for improving capture ?
    That's impossible ... It will be a great idea to make a Redirection of Error to a Exception class in futur version
    For example, when an unknow error arrive, don't show it on console and crash ... but run a class redirector exception, and magic, it show you a beautiful error warning, and stop properly the programme ...
    I put an error class, and put try {] catch {} everywhere, and run my exception class,
    this class detect the error exception and run a properly beautiful and clear french message (I'm french :d)
    Well, If you have the BEST other idea, tell me, I read your message with a lot of regard
    see you soon
    bye

  • How to handle XScript Exceptions ?? HELP !!

    hey buddies !!!
    I am getting the following exception in the browser for some jsp that is using XSCript.
    "Caught exception when evaluating expression "MIDC PHASE II DOMBIVALI {E}" with available binding contexts [actionForm, pageFlow, globalApp, request, session, appication, pageContext, bundle, container, url, pageInput]. Root cause: com.bea.wlw.netui.script.xscript.IllegalContextStateException: The context "E" could not be found. "
    Its okay that i am gettign this exception but i want to to know how to handle this exception. I tried using a try catch block but it didnot catch the exception and it still showed on the screen. I want to know how to handle this exception in the jsp ...
    Please help me ...thanks a lot !!!
    Nikhiol

    Nikhil--
    Can you paste in the tag (with the attributes) that is throwing the expression?
    Are you trying to data bind to "{E}"? If so, that's not a supported NetUI data binding context
    and the exception is legit. There isn't really a way to "handle" it -- it's more of a runtime error
    that occurs during regular development. When the application is deployed, such exceptions shouldn't
    occur.
    <g>
    Eddie
    Nikhil Gonsalves wrote:
    hey buddies !!!
    I am getting the following exception in the browser for some jsp that is using XSCript.
    "Caught exception when evaluating expression "MIDC PHASE II DOMBIVALI {E}" with available binding contexts [actionForm, pageFlow, globalApp, request, session, appication, pageContext, bundle, container, url, pageInput]. Root cause: com.bea.wlw.netui.script.xscript.IllegalContextStateException: The context "E" could not be found. "
    Its okay that i am gettign this exception but i want to to know how to handle this exception. I tried using a try catch block but it didnot catch the exception and it still showed on the screen. I want to know how to handle this exception in the jsp ...
    Please help me ...thanks a lot !!!
    Nikhiol

  • Exception TYpeError:netscape security privilegemanager is unidentified,pls let me know how to fix this error

    I am trying to launch Db2 setup installation but error is coming -Exception TYpeError:netscape security privilegemanager is unidentified.
    Please let me know how to fix this.
    Thank you
    Nazia

    hello, privilegemanager is deprecated since firefox 12 - please contact ibm's support if you are having problems installing their product.

  • HOW DO I GET RID OF THIS MESSAGE - ADD SECURITY EXCEPTION you are about to over ride how Thunderbird identifies this site. Location pop.shaw.ca.110 no e-mail

    I KEEP GETTING A BOX WITH THIS MESSAGE - ADD SECURITY EXCEPTION
    you are about to over ride how Thunderbird identifies this site
    LOCATION: pop.shaw.ca.110
    then it asks for a security certificate
    I DO NOT KNOW HOW TO FIX OR BETTER YET GET RID OF THIS MESSAGE

    You're supposed to take a screenshot. The link has instructions about how to do that.
    Then attach the resulting image to your post by using the 'Browse' button right above the 'Post Reply' button.

  • How can i solve this Exception that "How can i solve this exception that "End of stack trace from previous location where exception was thrown" in Windows phone 8.

    Hi Sir/Mam,
    Please give me solution for this problem.I tried this in all ways for solve this problem like i checked my all class objects cleared or not when leaving current page to come to before page.
    This Exception came at After saved data in the wp8 device database,then it is coming to back page(when i navigate to another page) then that navigated page running and go to "Public Asyn Void Listmenu()" method ,in this method again retrieve the
    data from database after getting this data,it shows this Exception.
    Note :-This Exception came in WP8 Device only,not in Emulator.In the Emulator it is working fine.
    My Exception:-
    Exception:- System.Exception.Exception.HRESULT:0*80040015
    at
    System.Runtime.CompliterServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at
    System.Runtime.ComplierServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at
    System.Runtime.ComplierServices.TaskAwaiter'1.GetResult()
    at
    _10Min._10MinUserPages.<checkStatusAndSavedDataExistinFormTable>d_e3.MoveNext()
    End of stack trace from previous location where exception was thrown
    at
    system.runtime.Compilerservices.TaskAwater.throwForNonSuccess(Task task)
    at
    System.Runtime.compilerservices.TaskAwaiter.HandlerNonSuccessAndDebuggerNotification(Task task)
    at
    System.Runtime.ComplierServices.TaskAwaiter'1.GetResult()
    at
    _10Min._10MinUserPages.<listmenu>d_8.MoveNext().
    How can i solve this problem please help me. I am suffering from 1 week days with this problem.
    Please help me.any one.
    Thanks & Regards,
    SrinivaaS.

    Is the flow of code to the point where exception occurs:
    1) Data saved in Db
    2) Navigated back
    3)Navigated to another page
    4) Method ListMenu() is called(as soon as navigated to page in step 3) to retrieve the saved data from db & exception occurs.
    Can you paste here the definition of ListMenu(), also does the exception occurs as soon as db is accessed inside this method or else.
    http://developer.nokia.com/community/wiki/Using_Crypto%2B%2B_library_with_Windows_Phone_8

  • When using nant i was told "excepted point(.) and coma(;)".how to solve this error

    hi
      i am using nant and for my code 
                var symmetricKey = new RijndaelManaged() { Mode = CipherMode.CBC, Padding = PaddingMode.Zeros };
              it is ok when i compile it  by visual studio,but when i use nant i was told"excepted point(.) and  coma(;)".
             how to solve this error?
          any help would be appreciated
    best regards
    martin

    anyway now i realized that since i used .Net Frame work 2.0, and i should use like this
     RijndaelManaged symmetricKey = newRijndaelManaged();
                symmetricKey.Mode = CipherMode.CBC;
                symmetricKey.Padding = PaddingMode.Zeros; and i cannot use "var" i've solved this problem and it could be helpful if some one who have the same problem

  • How to turn off this exception?

    Hi all,
    I am seeing the following java exceptions from the weblogic server.
    java.net.UnknownHostException: unknown
    at java.net.InetAddress.getAllByName0(InetAddress.java:571)
    at java.net.InetAddress.getAllByName0(InetAddress.java:540)
    at java.net.InetAddress.getByName(InetAddress.java:449)
    at
    weblogic.servlet.internal.ServletRequestImpl.getRemoteAddr(ServletRequestImpl.java:840)
    <<<<<<<<<<< failed here
    at weblogic.servlet.logging.CLFLogger.log(CLFLogger.java:54)
    at
    weblogic.servlet.logging.LogManagerHttp.log(LogManagerHttp.java:293)
    at weblogic.servlet.internal.HttpServer.log(HttpServer.java:670)
    <<<<<<<<<<< start to log remote address
    at
    weblogic.servlet.internal.ServletResponseImpl.send(ServletResponseImpl.java:851)
    at
    weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:1636)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    2 questions:
    1) What cause this exception?
    2) Is there anyway to turn off (ignore) this exception? I have looked
    at
    the log file settings but to no avail? Any help or pointers are most
    appreciated.
    Thank you in advance
    drit

    It is "ReverseDNSAllowed" in the ServerConfig : Returns whether or not the kernel
    is allowed to perform reverse DNS lookups.
    freelance_code_inspector <[email protected]> wrote:
    Hi all,
    I am seeing the following java exceptions from the weblogic server.
    java.net.UnknownHostException: unknown
    at java.net.InetAddress.getAllByName0(InetAddress.java:571)
    at java.net.InetAddress.getAllByName0(InetAddress.java:540)
    at java.net.InetAddress.getByName(InetAddress.java:449)
    at
    weblogic.servlet.internal.ServletRequestImpl.getRemoteAddr(ServletRequestImpl.java:840)
    <<<<<<<<<<< failed here
    at weblogic.servlet.logging.CLFLogger.log(CLFLogger.java:54)
    at
    weblogic.servlet.logging.LogManagerHttp.log(LogManagerHttp.java:293)
    at weblogic.servlet.internal.HttpServer.log(HttpServer.java:670)
    <<<<<<<<<<< start to log remote address
    at
    weblogic.servlet.internal.ServletResponseImpl.send(ServletResponseImpl.java:851)
    at
    weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:1636)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    2 questions:
    1) What cause this exception?
    2) Is there anyway to turn off (ignore) this exception? I have looked
    at
    the log file settings but to no avail? Any help or pointers are most
    appreciated.
    Thank you in advance
    drit--
    Dimitri

  • How to achive this using servlet

    hi I am new to this technology... My requirement is , First I have to check whether that rebate_sku_num exists in the database or not.. If exits i need to update the row.. If now I have to insert the new row with values.. How to achive this..
    my screen contains 7 rows... in will increase.. for every submit.. i have to check with the database.. whether the rebate_sku_num exists or not.. help me out.. here is my code.. i am not sure how to format my code.. in future i will do it...
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.http.HttpSession;
    import javax.servlet.SingleThreadModel;
    import javax.servlet.ServletConfig;
    import javax.servlet.ServletException;
    import java.io.IOException;
    import java.sql.ResultSet;
    import java.io.*;
    import java.util.*;
    import java.util.Date;
    import java.text.*;
    public class AddRebate extends HttpServlet implements SingleThreadModel {
    public void init(ServletConfig servletconfig) throws ServletException {
    super.init(servletconfig);
    public void doPost(HttpServletRequest httpservletrequest, HttpServletResponse httpservletresponse)
    throws ServletException, IOException {
    HttpSession session;
    session = httpservletrequest.getSession(true);
    String user_name;
    String divisionCode;
    String rebate_sku_num[];
    String selectedMonth;
    String amount[];
    String message = "";
    String Query="";
    String RebateId="";
    boolean flag = true;
    // from here
    Calendar todaysdate = new GregorianCalendar();
    SimpleDateFormat sdf = new SimpleDateFormat("MM/dd/yyyy");
    SimpleDateFormat sdf1 = new SimpleDateFormat("MM/dd/yyyy HH:MM:SS");
    System.out.println("today's date: " + sdf.format(todaysdate.getTime()));
    String entryDate = sdf.format(todaysdate.getTime());
    String entryDate1 = sdf1.format(todaysdate.getTime());
    System.out.println("entering date is " +entryDate) ;
    System.out.println("entering date is " +entryDate1) ;
    // to here
    user_name = (String) session.getAttribute("user_name");
    divisionCode = (String) session.getAttribute("division_code");
    selectedMonth = httpservletrequest.getParameter("selectedMonth");
    rebate_sku_num = httpservletrequest.getParameterValues("rebateId");
    amount = httpservletrequest.getParameterValues("amount");
    System.out.println("AddRebate : doPost() : selectedMonth = " + selectedMonth);
    System.out.println("AddRebate : doPost() : rebate_sku_num = " + rebate_sku_num);
    System.out.println("AddRebate : doPost() : amount = " + amount);
    // from here
    flag = true;
    for (int z = 0; z < rebate_sku_num.length && flag; z++) {
    try {
    flag=false;
    String s = "select REBATE_SKU_NUM from EASMSA_REBATE_SKU_DETAILS_TB where REBATE_SKU_NUM ='" + rebate_sku_num[z] + "'";
    System.out.println("AdjustmentServlet : doGet() : checking sku validity query = " + s);
    ResultSet resultset = DatabaseConnection.executeQuery(s);
    if (resultset != null) {
    while (resultset.next()) {
    RebateId = resultset.getString("REBATE_SKU_NUM");
    flag = true;
    if ((rebate_sku_num[z] != RebateId)) {
    System.out.println("get the values" +rebate_sku_num);
    System.out.println("get the values" + RebateId);
    Query = "INSERT INTO EASMSA_REBATE_SKU_DETAILS_TB " +
    "( REBATE_SKU_NUM, REBATE_DATE, REBATE_AMT, CREATED_BY," +
    "CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE ) VALUES (" +
    "'" + rebate_sku_num[z] + "', " +
    "TO_Date( '" + "30/" + selectedMonth + "', 'dd/MM/YYYY HH:MI:SS AM'), " +
    "'" + amount[z] + "' , '" + user_name + "'" +
    ", TO_Date( '" + entryDate + "', 'MM/dd/YYYY HH:MI:SS AM')" +
    ", '" + user_name + "'," +
    " TO_Date( '" + entryDate + "', 'MM/dd/YYYY HH:MI:SS AM'))";
    System.out.println("query is executed" +Query);
    }else if ((rebate_sku_num[z] == RebateId )){
    Query = "update EASMSA_REBATE_SKU_DETAILS_TB set REBATE_AMT=" + amount[z] + " where REBATE_SKU_NUM='" + rebate_sku_num[z] + "'";
    System.out.println("query is executed for updation" +Query);
    } else {
    System.out.println("AdjustmentServlet : doGet() : checking for sku validity : resultset null");
    // message = "SKU '" + sku[z] + "' of customer '" + customer[z] + "' and location '" + location[z] + "' is not valid.";
    message = "SKU '" + rebate_sku_num[z] + "' is not valid.";
    flag = false;
    } catch (Exception exception1) {
    System.out.println("AdjustmentServlet : doGet() : exception in checking validity of SKU");
    exception1.printStackTrace();
    // message = "SKU '" + sku[z] + "' of customer '" + customer[z] + "' and location '" + location[z] + "' is not valid.";
    message = "SKU '" + rebate_sku_num[z] + "' is not valid.";
    flag = false;
    try {
    if (DatabaseConnection.executeUpdate(Query) == 0) {
    System.out.println(" AddRebate : doPost() : rollback: error in executing update query= " + Query);
    DatabaseConnection.rollBack();
    message = "Some problem in updating transactions. Please try again later.";
    flag = false;
    // break;
    } else {
    System.out.println("AddRebate : doPost() : update sucessfull");
    message = "Rebate Transactions has been updated.";
    flag = true;
    } catch (Exception ex) {
    System.out.println("AddRebate : doPost() : exception in update query");
    message = "Some problem in updating transactions. Please try again later.";
    flag = false;
    ex.printStackTrace();
    session.setAttribute("message", message);
    httpservletresponse.sendRedirect("Welcome1.jsp?s=y");
    return;

    Oh and you can give me the dukes for helping you here:
    http://forum.java.sun.com/thread.jsp?forum=45&thread=475828&tstart=0&trange=15

  • I am no longer able to double click on a file and have it open.  Any suggestions on how to resolve this problem?

    I am no longer able to double click on a file and have it open.  Any suggestions on how to resolve this problem?

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
    Note: If FileVault is enabled, or if a firmware password is set, or if the startup volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually login automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of the test.

Maybe you are looking for