Error in Answers

Hi All,
I create a Physical table from query as follows -
with t as ( select order_id,shipped_date
from order_ship_detail_fact
group by  order_id,shipped_date)
select
ts.ORDER_ID
,ts.SRC_ORG_ID
,ts.ITEM_ID
,ts.EXPECTED_SHIP_DATE
,ts.LINE_FILL_STATUS
,ts.LINE_FILL_COUNT
,ts.LINE_SHORT_COUNT
,t.SHIPPED_DATE
from order_fill_rate ts,
t
where t.order_id=ts.order_id
This table has got joints with ORDER_ID, ITEM_ID, SHIPPED_DATE and EXPECTED_SHIP_DATE.
There are 2 different tables for SHIPPED_DATE and EXPECTED_SHIP_DATE
When I create a report, I get following error -
Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. Please have your System Administrator look at the log for more details on this error. (HY000)
Any pointers on this?

try to login again.
or restart all and try again.
Probably you machine had some minor glitch of some service got hanged. This is more related to your system, than OBIEE.
I had this issue once, I restarted, I never able to replicate this.

Similar Messages

  • Cpp error in answers with subject area referencing an essbase Cube

    Hi!
    I'm using obiee 11.1.1.5.0 and essbase cube like subject area.
    I have an error doing a simply report. My report contains three columns:
    First column: Dimension Entity--> This column has 3 different bins so if I edit fx formula I can see different Case statement.
    Second Column: measure (filtered by Scenario=Real)
    Third Column: measure (filtered by Scenario=presentation variable (budget))
    My report not work when I combine a case statement and different measures filtered by different scenarios. If I delete third column my report works but I need two scenarios
    *measure has Sum aggregated in logical layer. (I have tried with default (External Aggr) and doesn't work)
    Maybe I have to activate some option of features of Connection Pool in physical layer?
    Any help??
    thanks!!!

    Hello!
    This is the error that I can see in answers page:
    http://img513.imageshack.us/img513/8479/rq9b.jpg
    I need columns that I typed before: Dimension Entity with Bins / Column filtered by Scenario=Real / Column filtered by Scenario=Budget
    Any help?

  • Odbc error in answer

    Hi All,
    I am unable to solve this issue for a week now.I am using oracle 11.2.0 client for 64 bit . I could import the tables and view data from rpd.The problem comes when I run the report from answer.I get ODBC error. I am accessing the obiee server and oracle client through remote desktop connection from my local machine and the database is located in different server. The obiee configuration is fine since I am able to view records from rpd(Obiee Admin).
    When I run the report from Obiee 11g answer , I get the following error:
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 17003] Oracle gateway error: OCIEnvNlsCreate or OCIEnvInit failed to initialize environment. Please check your Oracle Client installation and make sure the correct version of OCI libraries are in the library path. (HY000)
    I did copy tnsnames.ora to {Oracle_BI1}\network\admin directory & {oracle_common}\network\admin directory and Set up TNS_ADMIN to C:\OracleBI\Oracle_BI1\network\admin .I have checked the environment variables and it is correct. This issue is killing me. I have reinstalled oracle client too. Is it the obiee issue or any firewall or it is because I am using remote desktop??
    Thanks,
    Virat

    ORACLE_HOME =C:/app/us1/product/11.2.0/client_1
    PATH=C:/app/us1/product/11.2.0/client_1/bin
    TNS_ADMIN=C:/app/us1/product/11.2.0/client_1/network/admin
    CLASSPATH do not have the path
    The result of TNSPINg
    TNS Ping Utility for 64-bit Windows: Version 11.2.0.1.0 - Production on 16-AUG-2
    012 16:48:09
    Copyright (c) 1997, 2010, Oracle. All rights reserved.
    Used parameter files:
    C:\OracleClient11\product\11.2.0\client_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
    (HOST = 192.168.10.74)(PORT = 1521))) (CONNECT_DATA = (SID = nadev)))
    OK (80 msec)
    I used (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.10.74)(PORT=1521)))(CONNECT_DATA=(SID=nadev))) in connectionpool
    How to create soft link (ln -s) ? I am not able to use this command cd /u10/app/orcladmin/oracle/OracleBI/server/Bin
    ln -s $ORACLE_HOME/lib32/libclntsh.so.10.1 libclntsh.so.10.1
    Thanks,
    Virat

  • Error 5103 Answer Needed / Movie Rentals

    It appears that many are running into the 5103 Error, related to issues which prevent iTunes Movie rental playback. Some have resolved the problem, simply by adjusting the system clock in the System Preferences pane. Some individuals have had success by simply reinstalling Quicktime. However for the most part, neither of these suggested fixes have worked.
    It can be assumed that this is directly related to Apples recent efforts (post rental launch) to nix the attempts by some to circumvent the time limits set for viewing rentals. This is just a guess, and it may actually be an unrelated issue. For all the time benders, consider this a slap on the wrist from Apple.
    Unfortunately this appears to be affecting individuals who have adjusted system clocks, unrelated to the above mentioned reason.
    I have emailed Apple Support, as well as spoken via phone to Tech Support, and currently have only been redirected each time, back to the other. I assume that eventually Apple will remedy the issue, but for the time being, I will continue to mine Apple support for answers.
    If anyone has resolved this issue, please post the solution.

    Problem Fixed....Great Job Apple.
    I contacted customer support tonight, and spoke to a very pleasant technical support rep. I explained my problem with the 5103 error, and previous attempts via email, and phone support to remedy the issue. She felt the issue needed to be resolved quickly, and was in the process of getting me in touch with the appropriate technical representative. While on hold, I attempted again to playback my movie rentals, and bam!!!! Murphy's Law.....the movies played. When the representative came back on the phone, I explained that it was working. I guess I just needed some of those good positive vibes from one of Apples excellent staff.
    Thanks Apple for fixing the issue, whatever you did! And thanks to the rep. who really wanted to resolve the problem.

  • Error in answers while querying the same data

    Hi folks,
    i posted this question in forums, but found no answer
    this is Oracle Delivered RPD. in answers - Presentation Columns where when i select a column(Division Name), its shows me Name of the Division Names. if i select the same Presentation Column with some other column(Division Number or any other column), this Division Column Names changes to Division Number. as it is delivered content, i went throught the Logic in the RPD and they all looked good. where might the problem we can guess. also to mention: this Organization name is logically connected to two sources i.e. two tables.
    thank you
    kumr

    first clear the cache and run the reports. Some time the result might be hitting the cache.
    Second have you checked the query log, Check sql queries for both criterias and compare. that will give you a clue.

  • Error while creating Chart

    Hi Everyone,
    I am facing an error while creating a chart for report.I checked javahost and oc4j are running . And i checked the logfile of java nothing in it. I face this error in Answers result.
    A fatal error occurred while processing the request. The server responded with: Error while executing ChartRpcCall.processMessage com.siebel.analytics.web.javahostrpccalls.corda.ChartRpcCall$EmptyChartException at com.siebel.analytics.web.javahostrpccalls.corda.ChartRpcCall.processMessageInternal(ChartRpcCall.java:294) at com.siebel.analytics.javahost.AbstractRpcCall.processMessage(AbstractRpcCall.java:107) at com.siebel.analytics.javahost.MessageProcessorImpl.processMessage(MessageProcessorImpl.java:175) at com.siebel.analytics.javahost.Listener$Job.run(Listener.java:223) at com.siebel.analytics.javahost.standalone.SAJobManagerImpl.threadMain(SAJobManagerImpl.java:205) at com.siebel.analytics.javahost.standalone.SAJobManagerImpl$1.run(SAJobManagerImpl.java:153) at java.lang.Thread.run(Thread.java:595) .
    Error Details
    Error Codes: AGEGTYVF
    Please help me out how to resolve this.
    Thanks in advance

    Hi user2989722,
    What kind of chart were you creating? Did your table view work correctly? Are you charting a measure (i.e. your presentation column used in the chart has an aggregate defined in the RPD)? What dimension and measures are involved in your chart?
    With a little more info, we should be able to help you with your issue.
    Best regards,
    -Joe

  • Error as Enter while creation of PO due to this PO is not created in ME21N

    Hi All,
    I have an issue where one of my user cannot able to create a PO with refernce to Network and he is getting error as ENTER while creation of PO in ME21N and there is no long text for this error.Also user cannot able to create a PO whenever he clicked on save button the only option he got is Hold or Edit or cancel.
    I have asked user to provide the same information (inputs while creation of PO in ME21N) to his colleague and check whether he can able to create a PO successfully or not. User confirmed that his colleague can able to create a PO successfully.
    Please let me know what was the root cause behind this.
    Awaiting for your valauble inputs & quicker reply.
    Note: I have crossverified with technical team and they confim all the required roles are in place for my user.
    BR // Kumar.S

    Hi Jurgen,
    Question from you
    Just message ENTER is pretty unusual. Even if there is no long text, the message should at least have a message number, can you tell this number? In general there should be the field name next to the message.
    Answer from me
    As you have said i have cliked on the error ie ENTERand got the message number as below,
    Enter
    Message no. ME083
    Question from you
    Is there any userexit which may cause this error?
    Answer from me
    According to me know because only one user is having a problem other users can able to create a PO sucuessuflly.
    Question from you
    What happens if a different user enters the PO under the user ID of the user who can only hold the PO?
    What happens if the effected user creates the PO under the user ID of a different user (who is usually able to save POs)?
    Answer from me
    not tried will let u know on this later
    Question from you
    Have you customized a new process, and this user is testing it?
    Answer from me
    No
    Please let me know whether the above my inputs help you to identify the issue where exactly it was.
    BR // Kumar.S

  • Outlook 2013 Mail Setup Add Account crashes with Rundll32 error and will not connect to Exchange in Windows 8.1

    I got a new Acer laptop with Windows 8.1 over 3 weeks ago, and installed Office Professional Plus 2013.  I have an Office365 E1 subscription, but this Office 2013 is not associated with the subscription.
    When I go to setup any email account using the automatic mode (primary will be Exchange Online with my 365 account, but I've tested POP email accounts with the same result), the Mail Setup crashes once the email address and password is entered and Next is
    pressed.  This error message is displayed:
    "Windows host process (Rundll32) has stopped working
    A problem caused the program to stop working correctly.  Windows will close the program and notify you if a solution is available."
    The step displayed as in process when the crash occurs is the "Searching for [email address] settings".  The first step "Establishing network connection" is checked complete.
    I've run an Office Repair, and there's no change.  I've run a clean boot, and even uninstalled/reinstalled with the same error still appearing.
    If I use the manual setup mode and input the server outlook.office365.com, both the Check Name function and the Next button result in the error message:
    "The action cannot be completed. The connection to Microsoft Exchange is unavailable.  Outlook must be online or connected to complete this action."  The folks in the Office365 support community have told me that Office365 ExchangeOnline
    servers have to be configured with the auto-setup and cannot be setup manually.
    I've done both a system refresh and a system reset, and I'm still getting the Rundll32 error.  I tried to run a reset from a disk, but the laptop does not want to run it from the external DVD drive (giving error messages), so that doesn't appear
    to be an option.
    I've searched extensively, and there doesn't seem to be any existing threads where anything like this problem is discussed. 
    Can you offer any ideas or solutions?
    After THREE WEEKS of troubleshooting this, and some significant delays in getting help from support, I'm really close to returning this laptop.
    I need an answer on this ASAP to see if you've got an insights before I return the laptop for a new one.
    Thanks,
    Jason

    IMPORTANT: I found the solution.  Another user figured it out and posted the answer on another thread.
    Please spread this around to all other Outlook support techs so they know to point people in the direction of the quick (though very obscure) fix to this problem. 
    See this thread for how to disable graphics acceleration in Office, which iswhat causes the rundll23 error.
    http://answers.microsoft.com/en-us/office/forum/office_2013_release-outlook/rundll32-outlook-mail-windows-host-process-error/bf90e1fd-3985-4b15-bc50-f9b3e937a859?tm=1424345216297
    Thanks,
    Jason

  • TODATE and AGO function errors in OBIEE

    I have aggregated time dimension. The time calendar comprises of the following structure with a physical table for each level in the Physical Layer -
    Year -> Half Year -> Quarter -> Month -> Week -> Day
    These tables form the calendar. The RPD works fine until I use the TODATE and AGO based fields in the query.
    When I use the AGO and the TODATE time series function to generate the YTD and PY YTD calculations in the Business Modelling Layer. The system gives the following error on Answers -
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 22045] AGO function is used on a time dimension which is logically snowflaked. (HY000)
    SQL Issued: SELECT "- Retail Calendar"."Year Identifier" saw_0, "- Sales"."Gallons Sold" saw_1, "- Sales"."Profit Amount" saw_2, "- Sales"."Sales Quantity" saw_3, "- Sales"."Retail Sales Amount" saw_4, "- Sales"."Licensee Sales Amount" saw_5, "- Sales"."% Retail Sales Amount" saw_6, "- Sales"."% Licensee Sales Amount" saw_7, "- Sales"."Store Average Profit" saw_8, "- Sales"."Sales Amount - Last Year" saw_9 FROM "Reporting Objects" ORDER BY saw_0
    Let me know what I am doing incorrect here?
    I have checked all the joins to see if the time calendar has been incorrectly joined, but I can't find anything. Please help.

    Below are the physical tables involved -
    Year - TIME_YEAR_DM
    Half Year - TIME_HALF_DM
    Quarter - TIME_QTR_DM
    Month - TIME_MTH_DM
    Week - TIME_WK_DM
    Day - TIME_DAY_DM
    Each of these tables has an Identifier key (for example, YR_IDNT, HALF_IDNT, QTR_IDNT, etc.) that uniquely identifies the rows. I am using these IDNT fields as my hierarchical keys.

  • Swing Calculator - Logical errors

    Hello,
    I have a couple of problems with the code below
    one of them is with the setLayout().
    Can anyone give a look to that code and tell me what's going wrong , or help me to make it work ??
    Thanks in advance!
    import java.awt.*;
    import java.awt.BorderLayout;
    import java.awt.FlowLayout;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.awt.Container;
    import javax.swing.JButton;
    import javax.swing.JCheckBox;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import javax.swing.JTextArea;
    import javax.swing.*;
    public class Calculator extends JFrame implements ActionListener
        public static final int Width = 500;
        public static final int Height = 500;
        private JTextField Board;
        private JButton jbo0, jbo1, jbo2, jbo3, jbo4, jbo5, jbo6, jbo7, jbo8, jbo9,
                        jboAddition, jboSubtraction, jboMultiplication, jboDivision,
                        jboDot, jboLp, jboRp, jboClear, jboResult;
        public static void main(String args[])
        JFrame applet = new Calculator();
        JFrame frame = new JFrame();
        frame.add(frame);
        frame.setSize(Width,Height);
        frame.show();
    public static void main(String args[])
        JFrame outputFrame = new Calculator();
    //panel1.add(allyourstuff);
    //panel1.add(moreofyourstuff);
        outputFrame.setVisible(true);
        public Calculator()
            Container outputPane = this.getContentPane();
            this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            this.setSize(Width, Height);
            outputPane.setLayout(new GridLayout (3, 3));
            Panel panel1 = new Panel();
            this.setDefaultCloseOperation( EXIT_ON_CLOSE );
            Board = new JTextField();
            panel1.add(Board);
            outputPane.add(panel1);
            //panel1.add(jbo0);
            //Numbers
            setLayout(new FlowLayout());
            setFont(new Font("Helvetica", Font.PLAIN, 8));
            JButton jbo0 = new JButton("0");
            jbo0.addActionListener(this);
            panel1.add(jbo0);
            jbo1 = new JButton("1");
            panel1.add(jbo1);
            jbo1.addActionListener(this);
            jbo2 = new JButton("2");
            panel1.add(jbo2);
            jbo2.addActionListener(this);
            jbo3 = new JButton("3");
            panel1.add(jbo3);
            jbo3.addActionListener(this);
            jbo4 = new JButton("4");
            panel1.add(jbo4);
            jbo4.addActionListener(this);
            jbo5 = new JButton("5");
            panel1.add(jbo5);
            jbo5.addActionListener(this);
            jbo6 = new JButton("6");
            panel1.add(jbo6);
            jbo6.addActionListener(this);
            jbo7 = new JButton("7");
            panel1.add(jbo7);
            jbo7.addActionListener(this);
            jbo8 = new JButton("8");
            panel1.add(jbo8);
            jbo8.addActionListener(this);
            jbo9 = new JButton("9");
            panel1.add(jbo9);
            jbo9.addActionListener(this);
            //Math Operations
            jboAddition = new JButton("+");
            panel1.add(jboAddition);
            jboAddition.addActionListener(this);
            jboSubtraction = new JButton("-");
            panel1.add(jboSubtraction);
            jboSubtraction.addActionListener(this);
            jboMultiplication = new JButton("*");
            panel1.add(jboMultiplication);
            jboMultiplication.addActionListener(this);
            jboDivision = new JButton("/");
            panel1.add(jboDivision);
            jboDivision.addActionListener(this);
            //Result etc..
            jboDot = new JButton(".");
            panel1.add(jboDot);
            jboDot.addActionListener(this);
            jboLp = new JButton("(");
            panel1.add(jboLp);
            jboLp.addActionListener(this);
            jboRp = new JButton(")");
            panel1.add(jboRp);
            jboRp.addActionListener(this);
            jboClear = new JButton("C");
            panel1.add(jboClear);
            jboClear.addActionListener(this);
            jboResult = new JButton("=");
            panel1.add(jboResult);
            jboResult.addActionListener(this);
        public void actionPerformed(ActionEvent e)
            if (e.getSource() instanceof JButton)
                JButton buClicked = (JButton) e.getSource();
                if (buClicked == jboClear)
                    boardClear();
                else if(buClicked == jboResult)
                    Calculate();
            else
                Calculate();
        public void UserInput(JButton buClicked)
            String input;
            input = Board.getText();
            if (buClicked == jbo0)
                Board.setText(input + "0");
            if (buClicked == jbo1)
                Board.setText(input + "1");
            if (buClicked == jbo2)
                Board.setText(input + "2");
            if (buClicked == jbo3)
                Board.setText(input + "3");
            if (buClicked == jbo4)
                Board.setText(input + "4");
            if (buClicked == jbo5)
                Board.setText(input + "5");
            if (buClicked == jbo6)
                Board.setText(input + "6");
            if (buClicked == jbo7)
                Board.setText(input + "7");
            if (buClicked == jbo8)
                Board.setText(input + "8");
            if (buClicked == jbo9)
                Board.setText(input + "9");
            if (buClicked == jboAddition)
                Board.setText(input + "+");
            if (buClicked == jboSubtraction)
                Board.setText(input + "-");
            if (buClicked == jboMultiplication)
                Board.setText(input + "*");
            if (buClicked == jboDivision)
                Board.setText(input + "/");
            if (buClicked == jboDot)
                Board.setText(input + ".");
            if (buClicked == jboLp)
                Board.setText(input + "(");
            if (buClicked == jboRp)
                Board.setText(input + ")");
         private void boardClear()
            Board.setText("");
        public void Calculate()
            int counter;
            int numParenthesis = 0;
            int lenInput;
            String calc;
            String Answer = "";
            char NumOther;
            calc = Board.getText();
            lenInput = calc.length();
            for (counter = 0; counter < lenInput; counter++)
                NumOther = calc.charAt(counter);
                if (NumOther == ')')
                    numParenthesis--;
                if (NumOther == '(')
                    numParenthesis++;
                if ((NumOther < '(') || (NumOther > '9') || (NumOther == '.'))
                    Board.setText("Error");
                if (NumOther == '.' && (counter + 1 < calc.length()))
                    for (int k = counter + 1; (k < calc.length()) && ((Character.isDigit(calc.charAt(k))) || ((calc.charAt(k))) == '.'); k++)
                        if (calc.charAt(k) == '.')
                            Board.setText("Error");
            if (numParenthesis != 0)
                Board.setText("Error");
            else
                Answer = Calculate2(calc);
                Board.setText(Answer);
        private String CalculatorImp(String oper1, String oper2, char Oper)
            Double op1, op2;
            double ops1, ops2;
            double ans = 0;
            String result;
            op1 = new Double (oper1);
            op2 = new Double (oper2);
            ops1 = op1.doubleValue();
            ops2 = op2.doubleValue();
            if (Oper == '+')
                ans = ops1 + ops2;
            if (Oper == '-')
                ans = ops1 - ops2;
            if (Oper == '*')
                ans = ops1 * ops2 ;
            if (Oper == '/')
                ans = ops1/ops2;
            result = Double.toString(ans);
            return result;
        private String Calculate2(String process)
            String answer = process;
            String op1 = "";
            String op2 = "";
            char userinput;
            int index = 0;
            int indexL = 0;
            int indexR = 0;
            int numInput = answer.length();
            int numPar = 0;
            int matchPar = 0;
            int indexOp1 = 0;
            int indexOp2 = 0;
            if (answer  != "Error")
                for (index = 0; index < numInput; index++)
                    userinput = answer.charAt(index);
                    if (userinput  == '(')
                        if (matchPar == 0)
                            indexOp1 = index;
                        matchPar++;
                        numPar++;
                    if (userinput == ')')
                        matchPar--;
                        if (matchPar ==0)
                            indexOp2 = index;
                if (indexOp1 + 1 == indexOp2)
                    Board.setText("Error");
                if (answer == "Error"  && numPar > 0)
                    if (indexOp1 == 0)
                        if (indexOp2 == (numInput - 1))
                            if (indexOp1 != indexOp2)
                                answer = Calculate2(answer.substring(indexOp1 + 1, indexOp2));
                    else if (indexOp1 == 0 && indexOp2 > 0)
                        if ((Character.isDigit(answer.charAt(indexOp2 + 1))))
                            Board.setText("Error");
                        else
                            answer = Calculate2(answer.substring(indexOp1 + 1, indexOp2)) + answer.substring(indexOp2 + 1);
                            numPar--;
                            while (numPar != 0)
                                answer = Calculate2(answer);
                                numPar--;
                    else if ((indexOp1 > 0) && (indexOp2 > 0) && (indexOp2 != numInput - 1))
                        if (((Character.isDigit(answer.charAt(indexOp2 + 1 ))) ||  (Character.isDigit(answer.charAt(indexOp1 - 1 ))) ))
                            Board.setText("Error");
                        else
                            answer = answer.substring(0, indexOp1) + Calculate2(answer.substring(indexOp1 + 1, indexOp2)) + answer.substring(indexOp2 + 1);
                            numPar--;
                            while (numPar != 0)
                                answer = Calculate2(answer);
                                numPar--;
                    else if (indexOp2 == numInput - 1 && indexOp1 > 0)
                        if (((Character.isDigit(answer.charAt(indexOp1 - 1)))))
                            Board.setText("Error");
                        else
                            answer = answer.substring(0, indexOp1) + Calculate2(answer.substring(indexOp1 + 1, indexOp2));
                            numPar--;
                            while (numPar != 0)
                                answer = Calculate2(answer);
                                numPar--;
                if (numPar == 0)
                    if (answer != "Error")
                        if (!(Character.isDigit(answer.charAt(0))))
                            if (answer.charAt(0) != '-')
                                if (!(Character.isDigit(answer.charAt(answer.length() - 1))))
                                    Board.setText("Error");
                for (index = 0; index < answer.length() && (answer == "Error"); index++)
                    userinput = answer.charAt(index);
                    if (userinput == '*' || userinput == '/')
                        if (!(Character.isDigit(answer.charAt(index-1))) || (!(Character.isDigit(answer.charAt(index + 1)))))
                            if (answer.charAt(index + 1) != '-')
                                Board.setText("Error");
                        if (answer.charAt(index + 1) == '-')
                            if (!(Character.isDigit(answer.charAt(index + 2))))
                                Board.setText("Error");
                        if (answer == "Error")
                            indexL = index - 1;
                            if (indexL > 2)
                                if ((answer.charAt(indexL - 1)) == '-')
                                    if ((answer.charAt(indexL - 2)) == 'E')
                                        indexL = indexL -2;
                                while ((indexL  > 0) && ((Character.isDigit(answer.charAt(indexL - 2)) || ((answer.charAt(indexL - 1)) == '.') || ((answer.charAt(indexL - 1)) == 'E' ))))
                                    indexL--;
                                if (indexL == 1)
                                    if ((answer.charAt(indexL - 1)) == '-')
                                        indexL--;
                                if (indexL > 2)
                                    if (((answer.charAt(indexL - 1)) == '-') && !(Character.isDigit(answer.charAt(indexL - 2))))
                                            indexL--;
                                op2 = answer.substring(index + 1, indexR + 1);
                    for (index = 0; index < answer.length() && (answer != "Error"); index++)
                        if (index == 0)
                            index = 1;
                    if (index > 0)
                            if (answer.charAt(index + 1) == '-')
                                index = index + 2;
                    userinput = answer.charAt(index);
                    if ((userinput == '+') || (userinput == '-'))
                        if (!(Character.isDigit(answer.charAt(index - 1))))
                            Board.setText("Error");
                        if (!(Character.isDigit(answer.charAt(index + 1))))
                            Board.setText("Error");
                        if ((answer.charAt(index+1) == '-') && (!(Character.isDigit(answer.charAt(index+2)))))
                             Board.setText("Error");
                        if (answer != "Error")
                            indexL = 0;
                            op1 = answer.substring(indexL , index);
                            indexR = index + 1;
                            while((indexR < answer.length()-1) && ((Character.isDigit(answer.charAt(indexR + 1))) || ((answer.charAt(indexR + 1)) == '.') || ((answer.charAt(indexR + 1)) == 'E')))
                                indexR++;
                                if (indexR < answer.length() - 2)
                                        if ((answer.charAt(indexR + 1)) == '-')
                                            indexR++;
                            op2 = answer.substring(index + 1, indexR + 1);
                            answer = CalculatorImp(op1, op2, userinput ) + answer.substring(indexR + 1);
                            index = 0;
            return answer;
    }

    Your UserInput method doesn't seem to get called anywhere.
    You need to sort out the layout - try a vertical box containing the input and horizontal boxes for the button, or a simple grid. If using a GridLayout, the number of rows and column you give in the constructor should
    Move the actual calculation code out into a separate class - you then can test it more easily with a driver which feeds it lots of expressions, and your UI code isn't all mixed up with it.
    It's a convention to use lower case initial letters on variable and method names.
    Your code is very redundant - create one ActionListener which you attach to each your single character button to append the value of that button to the input box, rather than having all those tests, and extract that code into a single method.
    When you add a swing component to another, it keeps a reference to it so it can draw it. You don't need to, unless you want to do something else which it later on.
    Eg:import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class SwingCalculator extends JFrame {
      public static void main(String args[]) {
        new SwingCalculator().setVisible(true);
      final JTextField board;
      public SwingCalculator () {
        Container outputPane = this.getContentPane();
        setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        setFont(new Font("Helvetica", Font.PLAIN, 18));
        setTitle("SwingCalculator");
        outputPane.setLayout(new BoxLayout(outputPane, BoxLayout.Y_AXIS));
        board = new JTextField();
        outputPane.add(board);
        final JPanel buttons = new JPanel();
        buttons.setLayout(new GridLayout (5, 4));
        outputPane.add(buttons);
        // Buttons which append to the board
        addButtons(buttons, "7", "8", "9", "+");
        addButtons(buttons, "4", "5", "6", "-");
        addButtons(buttons, "1", "2", "3", "*");
        addButtons(buttons, ".", "0", "E", "/");
        addButtons(buttons, "(", ")");
        // the C and = buttons have special action listeners
        final JButton cancel = new JButton("C");
        buttons.add(cancel);
        cancel.addActionListener(new ActionListener() {
          public void actionPerformed (ActionEvent event) {
            board.setText("");
        final JButton calculate = new JButton("=");
        buttons.add(calculate);
        // move the expression code to a separate class and call it here
        calculate.addActionListener(new ActionListener() {
          public void actionPerformed (ActionEvent event) {
            try {
              board.setText(ExpressionParser.evaluate(board.getText()));
            } catch (ExpressionParseException ex) {
              board.setText("ERROR");
        pack();
      // adds buttons which, when pressed, append their label to the board
      public void addButtons (JPanel panel, String... labels) {
        for (final String label:labels) {
          JButton button = new JButton(label);
          panel.add(button);
          button.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent e) {
              board.setText(board.getText() + label);
    }

  • Error from Cisco Agent Desktop - The agent- or workflow-initiated action request failed.

    We have roughly 20 agents using Cisco Agent Desktop version 85.1.417 and I have one that when she clicks the phone button to answer a call she gets the error: "The agent-  or workflow-initiated action request failed."
    I reinstalled the program, but she still receives the same error.  What could be causing this problem?

    This is what I found in the log:
    2014-10-06 08:59:46:838 INFO VOIP2021 Desktop monitoring enabled for extension [9214].
    2014-10-06 09:00:12:147 WARN STD3000 Get registry key <MTS_CitrixInstall> under path <SOFTWARE\Calabrio\CAD\Site Setup>. Object not found: <2:The system cannot find the file specified.>.
    2014-10-06 09:00:12:159 INFO SOCKET0000 <CADEEMConnector> service on port <59015> has started.
    2014-10-06 09:01:01:580 INFO PD4002 error while answering call ICDJtapiCallControlChannel (answer) error, invalid callId (17781617 != 37533406)
    2014-10-06 09:09:28:543 INFO PD4002 error while answering call ICDJtapiCallControlChannel (answer) error, invalid callId (17781655 != 37533406)
    2014-10-06 09:13:42:458 INFO PD4002 error while answering call ICDJtapiCallControlChannel (answer) error, invalid callId (17781669 != 37533406)
    2014-10-06 09:29:03:809 INFO PD4002 error while answering call ICDJtapiCallControlChannel (answer) error, invalid callId (17781740 != 37533406)
    I'm attaching part of the DBG log.  I hope that it helps.
    Thanks

  • Conversion error: Radio Button

    What is a radio button trying to convert? When I write a customer conversion to change my value from Integer to String and from String to Integer, the Conversion Error goes away, but then it complains about a Validation Error.

    The answer to both of your questions is the SelectItem value.
    Can you explain what you mean by filtering? What exactly is happening there? Code/JSP snippets will help.
    The validation error is probably something along the lines of "Value is required" right? Do you have required="true" on the radio list tag? Irregardless, I have found that even if you have required="false" on the selectOneRadio it will still require a value. So if all your values are being stripped away by this filter, than depending on when your filter ran, JSF will think the user didn't enter anything and throw a validation error. I guess JSF radio lists just assume the user has to enter something.
    CowKing

  • Error in Accessing Virsa Firefighter

    Hello Friends,
    I have installed Virsa FF 620_47 & assigned all roles Like administrator,FF & Owner.I have Done all the Configuration part & When i click on LOG ON Its shows the below error.I have updated the virsa support pack to Latest 10.I cannot see the button 'REASON CODE'
    Error:  you have no access of firefighter ID & Plz Consultant firefighter Admin.
    Message Number : Virsa/Vfat608
    Your reply will be highly appreciated.
    Vijay

    Hello Anil Doranala,
    Thank You for Your Support.I have Successfully given the firefighter access.Again I have questions.How to give you Points.
    1. I am working on Firefighter 3.0
    2. All Support Packs are up-to-Date
    3. Firefighter access is working fine
    4. I am not able to see a button 'Reason Codes'
    5. If I click on Critical t-Codes its shows the below Error.Any answers for this
    'Please Maintain your Critical Transaction in Compliance Calibrator (VRAT)
    Message no. /VIRSA/VFAT640'
    My Kernel Version is 620.I think this is the problem.
    6.If i click on Tool Box,it is not showing default Reports.What we have to do?
    Regads,
    Vijay

  • Derived Logical Column throws an error

    Hello
    I get the 46036 error from Answers when I add a field that I created in the BMM of the RPD. We are on OBIEE 10.3.4.2. I added a logical column to a table and applied a filter for a particular age band. I can check the change in without any errors but when I use that field with that expression I get the nQSError.
    *[nQSError: 46036] Internal Assertion Condition pExpr->IsValueExpr(), file*
    Ahsan/Naveen, any ideas on this? You guys have been always helpful with my questions.
    Thanks,
    Dan

    Not sure if this helps but found a few things online on this..may just require a resave or re-import of the specific report (http://tipsonobiee.blogspot.com/2009/06/error-nqserror-46036-internal-assertion.html). If you are on Solaris 64 there is also a bug associated with this. "[nQSError 46036] Internal Assertion Error" After Upgrading to OBIEE 10.1.3.3.2 [ID 566463.1] suggesting to change the following parameter:
    A workaround is to make only off line changes.
    The bug states the following:
    "The solution was to set the following in NQSConfig.INI
    SERVER_THREAD_STACK_SIZE = 1024 KB"
    This is not the same exact OBIEE version. Try these 2 suggestions and let us know how it goes.

  • Connection Pool error

    Hello,
    I am getting the following error in Answers while trying to view the results
    Odbc driver returned an error (SQLExecDirectW).
    Error Details
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 16001] ODBC error state: IM002 code: 0 message: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified. (HY000)
    SQL Issued: SELECT reports."YEAR" saw_0, REPORTs."Total " saw_1 FROM sample_prod_pc ORDER BY saw_0
    And in the administration tool during the consistency check i am getting the following warning
    [39028] The features in the database sample_prod do not match the defaults.This can cause the query problems.
    Please let me know where is the problem.
    Thanks in Advance.

    Hi Kishore,
    Thanks for the reply.
    I am able to import the metadata from from this datasource like administrationtool->file->import->from database.
    Its working fine without any problems.But when i say update row counts its throwing the following errors.
    [NQODBC][SQL_STATE:HY000][nqserror: 10058] A general error has occured.
    [nqsError :43093]An errror occured while processing the EXECUTE Physical statement.
    [nQSError: 17001]Oracle Error Code:12154,message:ORA-12154:TNS:could not resolve the connect identifier specified at OCI call OCIServerAttach.
    [nQSerror: 17014] Could not connect to ORacle database.
    Is that means no problem with the DSN connection,but the problem is with the connection pool?
    Please help me out.
    Thanks in advance.

Maybe you are looking for

  • IPod Mini is recognized by Windows but Not iTunes

    my ipod mini is set to update automatically with itunes, but the other day it stopped. I was using iTunes 4 but upgraded to 6 yesterday, still no luck. My mini is not recognized by itunes. I then uninstalled the iPod updater and then reinstalled it.

  • Can't get ReportUI portlet to work properly

    Hi, I've got a BI EE installation up and running. Now I tried to use the ReportUI portlet in another machine that runs an Oracle Portal (within an Application Server 10.1.2.0.2 installation). As the how-to, I used this documentation (pages 199-204):

  • Acrobat Printing Failure Mac Mountain Lion

    Multipage PDF documents fail to print using iMac Mountain Lion (10.8) and Acrobat 11.0 . This failure is occurring on both USB and Network printers (HP Laserjets). The spooler appears to hang (Printing........). The printers begin to blink error code

  • How to delete flv files from iPhone library

    Hi, I am a newbie to iOS and I am using factory unlocked iPhone 4s with iOS 7. I have added some flv files to library and synced them to iPhone using iTunes. But as iPhone doesn't support flv files so I can't see them in movies. They have claimed dis

  • Constant issue throughout updates of eating CPU resources till crash?

    I'm wondering why no matter the computer or version of firefox, as ive been using it since version im not positive but i believe that it was 5, that they have yet to fix the issue of this browser concuming the full 100% of CPU power anytime om on the