Answers error

Hi,
My report has morethan 50 columns. When i ran this report in OBIEE Answers i am getting this error.
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 46036] Internal Assertion: Condition m_CountFields == static_cast<int32>(m_ColumnNameVector.size()), file .\Src\SQCSCacheStorageListStream.cpp, line 221. (HY000)
Please give me the solution
Thanks in Advance
Nivas

My report has morethan 50 columns. Please give me the solution.Reduce the number of columns.

Similar Messages

  • OBIEE Presentation services -Answers Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65

    Hi
    I am having a problem with OBIEE presentation services. I have to connection pools on the repository since I am use tables in different table spaces.
    I have check the “Require fully qualified table names” option.
    When I click view data or update row count on the Admin tool, its works fine however I get an error when I choose a field from one f the tables in OBIEE Presentation services “Answers”
    Error MSG:
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 17001] Oracle Error code: 20013, message: ORA-20013: The workspace has not been set. Please call wb_workspace_management.set_workspace procedure to set workspace first. ORA-06512: at "OWBSYS.WB_WORKSPACE_MANAGEMENT", line 1356 ORA-06512: at "OWBSYS.WB_WORKSPACE_MANAGEMENT", line 1387 ORA-06512: at "OWBSYS.WB_WORKSPACE_MANAGEMENT", line 1402 at OCI call OCIStmtExecute: select distinct T7794.ELAPSE as c1 from OWBSYS.V_DW_EXEC_SCHEDULE T7794 order by c1. [nQSError: 17011] SQL statement execution failed. (HY000)
    SQL Issued: SELECT "DW SCHEDULE".ELAPSE saw_0 FROM "ETL Control" ORDER BY saw_0

    need to call owbsys.wb_workspace_management.set_workspace before each query.
    have to add it as a script to run before issuing a query.
    New feature in 11g owb

  • Am trying 2 download programs then getting the answer error 1009

    am trying 2 download programs then getting the answer error 1009

    Probably because your trying to download an app from a different country than what your billing info says.

  • OBIA - Answer error :  [nQSError: 27037] Unresolved level

    HI,
    We installed the OOTB OBIA sandbox and I'm unable to create a column formula with the time function AGO in Answer.
    I tried : AGO("Fact - Sales Invoice Lines"."Invoiced Amount", "Core"."Date"."Year",1) where "Core"."Date"."Year" is from the BMM hierarchies.
    I tried many combinations for the time_level unsuccessfully.
    I got the follwing error :
    Formula syntax is invalid.
    [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 27037] Unresolved level: "Core"."Date"."Year". (HY000)
    Can someone tell me what I'm doing wrong?
    Thank you for any help you could provide.
    Gaétan

    Ok, I found out why it wasn't working, I had to add the Hierarchy in the column formula.
    This is the default way in the column formula editor : AGO("Fact - Sales Order Lines"."Ordered Quantity","Time"."Year", 1)
    I had to add : AGO("Fact - Sales Order Lines"."Ordered Quantity","Time"."Time"."Year", 1) to make it work,
    I don't understand why when you pick it in the column formula editor, you're unable to get the complete string for the time_level parameter.
    Do you know why?

  • Answers Error: OPR4ONWY:U9IM8TAC:OI2DL65P

    Hi,
    I have a Business Model of my DataWareHouse with several fact tables and dimensions.
    Not all fact tables join with all the dimensions in my business model.
    When in answers I try to build a report with one measure from a fact table e one column of a dimension, that don't join, the result is unpredictable, sometimes gives an error, the others just doesn't return any value.
    Is there a way of customizing the metadata for never display that error?
    Is there a way of returning a value as the total result?
    Error message:
    Error Details
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 14026] Unable to navigate requested expression: Espécie.Área Processual [ ] . Please fix the metadata consistency warnings. (HY000)

    you must never forget that bi suite is just a tool..
    you said "h one measure from a fact table e one column of a dimension, that don't join, the result is unpredictable, "
    is it possible to take a simple sql answer from any tool,based on 2 tables where there is no connection between them??if yes,do it at your star schema...
    last,check in the log , the query that bi sends to the database
    hi according at your db check in google the functions of sending a e-mail.
    Otherwise you can manage to have a "table" in your db , which will be work as a log one...
    and in the answers section,when a condition will be acoplished it will send an emai
    i hope i helped....
    http://greekoraclebi.blogspot.com/
    ///////////////////////////////////////

  • [OBIEE - Answers] Error on filter

    Hi all,
    I have a problem when i try to specify a filter on an union of three query in answer. My query is accessing an Essbase cube
    My filter is :
    RIGHT(Time.Year,4) equal to @{pv_YEA}
    pv_YEA is my presentation variable with value "2010"
    values of Time.Year is "A2010","A2011", etc...
    I have this error when I try to generate my report
    Codes d'erreur : OPR4ONWY:U9IM8TAC:OI2DL65P
    Etat : HY000. Code : 429326496. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 46036] Internal Assertion: Condition outerList.GetDetailFilter() == NULL, file server/Query/Optimizer/SmartScheduler/PhysicalRequestGenerator/Src/SQOSPSingleTargetDecomposer.cpp, line 261. (HY000)
    I did not find the answer after searching on internet. Someone might have a solution to propose me to solve the problem?
    Best regards,
    Ben

    Hi,
    Check these links...May help you...http://siebel.ittoolbox.com/groups/technical-functional/siebel-analytics-l/request-used-to-work-and-now-failed-with-error-codes-opr4onwy-1609717
    http://tipsonobiee.blogspot.com/2009/06/error-nqserror-46036-internal-assertion.html
    Regards,
    Srikanth

  • BI Answer Error

    Hi,
    How can I get rid of the following error?
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 42015] Cannot function ship the following expression: Evaluate( apps.XXVFI_BOREPORT2_PKG.get_exchange_rate2_fnc(%1, %2, %3),D1.c7, 'USD', D1.c25) .
    Thanks,
    user638975

    Hi Fabio,
    Thanks for the immediate reply.
    I have the the following objects joining them in my request in Answers:
    1. Line Amount USD from Fact table ==> this one calls a procedure to get the exchange rate.
    2. Need by Date from Dimension table ==> uses max function
    I didnt noticed the max function in Need by Date. When I removed that, it worked already.
    Regards,
    ARG

  • Answers  error inobi

    Hi All
    Iam facing different problem
    wen iam doing in the answers to see the report i drag the columns only one so wen i want to see the result its not giving any report it is continiously doing the process its still running previously
    its giving error:Quary for intialization block ,ad_authentification failed

    My report has morethan 50 columns. Please give me the solution.Reduce the number of columns.

  • Error in opening zip file after Patch 4 HF6 install

    Hello,
    Just upgraded to EP 6 SP 2 Patch 4 HF 6 on a Windows 2000/MSSQL instance.  In the cluster\server\managers\console_logs the error.log now contains the following;
    error during parse of jar file D:\usr\sap\XXXA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.sap.portal.runtime.admin.LoggingConsole\private\lib\com.sap.portal.runtime.admin.LoggingConsolecore.jar
    java.util.zip.ZipException: error in opening zip file.
    I also receive this error message for several other .jar files we've deployed.
    Any ideas what steps need to be taken to correct this message?
    Regards,
    John

    Here is a list of our .zip errors we see.  Two of these files are not 0-byte in length, they have been identified by a size at the end of the file.
    Also, I am checking on the LoggingConsole.  I'll post something when I have an answer.
    error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.kcc.yy.kc.LoggingConsole\lib\com.kcc.yy.kc.LoggingConsoleapi.jar
    java.util.zip.ZipException: error in opening zip file
         at java.util.zip.ZipFile.open(Native Method)
    error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.kcc.yy.kc.LoggingConsole\private\lib\com.kcc.yy.kc.LoggingConsolecore.jar
    java.util.zip.ZipException: error in opening zip file
         at java.util.zip.ZipFile.open(Native Method)
    error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.sap.pct.crm.kcdam.crmkmconvkc\lib\com.sap.pct.crm.kcdam.crmkmconvkcapi.jar
    java.util.zip.ZipException: error in opening zip file
         at java.util.zip.ZipFile.open(Native Method)
    error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.sap.pct.crm.kcdam.crmkmconvkc\private\lib\com.sap.pct.crm.kcdam.crmkmconvkccore.jar
    java.util.zip.ZipException: error in opening zip file
         at java.util.zip.ZipFile.open(Native Method)
    error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.sap.pct.crm.kcdam.crmdamkc\lib\com.sap.pct.crm.kcdam.crmdamkcapi.jar
    java.util.zip.ZipException: error in opening zip file
         at java.util.zip.ZipFile.open(Native Method)
    error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.sap.pct.crm.kcdam.crmdamkc\private\lib\com.sap.pct.crm.kcdam.crmdamkccore.jar
    java.util.zip.ZipException: error in opening zip file
         at java.util.zip.ZipFile.open(Native Method)
    error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.sap.portal.runtime.admin.LoggingConsole\lib\com.sap.portal.runtime.admin.LoggingConsoleapi.jar
    java.util.zip.ZipException: error in opening zip file
         at java.util.zip.ZipFile.open(Native Method)
    error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.sap.portal.runtime.admin.LoggingConsole\private\lib\com.sap.portal.runtime.admin.LoggingConsolecore.jar
    java.util.zip.ZipException: error in opening zip file
         at java.util.zip.ZipFile.open(Native Method)
    Portal initialization done.
    error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.kcc.yy.kc.PortalMonitor\private\lib\com.kcc.yy.kc.PortalMonitorcore.jar
    java.util.zip.ZipException: error in opening zip file
         at java.util.zip.ZipFile.open(Native Method)
    error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.kcc.yy.kc.atKCDesk.MastHead\lib\com.kcc.yy.kc.atKCDesk.MastHeadapi.jar
    java.util.zip.ZipException: error in opening zip file
         at java.util.zip.ZipFile.open(Native Method)
    error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.kcc.yy.kc.atKCDesk.MastHead\exlib\com.kcc.yy.kc.atKC.MastHeadapi.jar - 1kb
    java.util.zip.ZipException: error in opening zip file
         at java.util.zip.ZipFile.open(Native Method)
    error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.kcc.yy.kc.atKCDesk.MastHead\exlib\com.sap.portal.navigation.mastheadapi.jar
    java.util.zip.ZipException: error in opening zip file
         at java.util.zip.ZipFile.open(Native Method)
    error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.kcc.yy.kc.atKCDesk.MastHead\private\lib\com.kcc.yy.kc.atKCDesk.MastHeadcore.jar
    java.util.zip.ZipException: error in opening zip file
         at java.util.zip.ZipFile.open(Native Method)
    error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.kcc.yy.kc.atKCDesk.MastHead\private\exlib\com.kcc.yy.kc.atKC.MastHeadcore.jar - 5kb
    java.util.zip.ZipException: error in opening zip file
         at java.util.zip.ZipFile.open(Native Method)
    error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.kcc.yy.kc.atKCDesk.ToolArea\lib\com.kcc.yy.kc.atKCDesk.ToolAreaapi.jar
    java.util.zip.ZipException: error in opening zip file
         at java.util.zip.ZipFile.open(Native Method)
    error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.kcc.yy.kc.atKCDesk.ToolArea\private\lib\com.kcc.yy.kc.atKCDesk.ToolAreacore.jar
    java.util.zip.ZipException: error in opening zip file
         at java.util.zip.ZipFile.open(Native Method)
    error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.kcc.yy.kc.atKC.pagesensitivity\lib\com.kcc.yy.kc.atKC.pagesensitivityapi.jar
    java.util.zip.ZipException: error in opening zip file
         at java.util.zip.ZipFile.open(Native Method)
    error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.kcc.yy.kc.atKC.pagesensitivity\private\lib\com.kcc.yy.kc.atKC.pagesensitivitycore.jar
    java.util.zip.ZipException: error in opening zip file
         at java.util.zip.ZipFile.open(Native Method)
    error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.kcc.yy.kc.atKC.layouts\lib\com.kcc.yy.kc.atKC.layoutsapi.jar
    java.util.zip.ZipException: error in opening zip file
         at java.util.zip.ZipFile.open(Native Method)
    error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.kcc.yy.kc.atKC.layouts\private\lib\com.kcc.yy.kc.atKC.layoutscore.jar
    java.util.zip.ZipException: error in opening zip file
         at java.util.zip.ZipFile.open(Native Method)
    error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.kcc.mk.kc.bb\private\lib\com.kcc.mk.kc.bbcore.jar
    java.util.zip.ZipException: error in opening zip file
         at java.util.zip.ZipFile.open(Native Method)
    [email protected]5c #
    error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.kcc.yy.kc.atKC.Logon\lib\com.kcc.yy.kc.atKC.Logonapi.jar
    java.util.zip.ZipException: error in opening zip file
         at java.util.zip.ZipFile.open(Native Method)
    error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.kcc.yy.kc.atKC.Logon\private\lib\com.kcc.yy.kc.atKC.Logoncore.jar
    java.util.zip.ZipException: error in opening zip file
         at java.util.zip.ZipFile.open(Native Method)
    error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.kcc.yy.kc.systemviewer\private\lib\com.kcc.yy.kc.systemviewercore.jar
    java.util.zip.ZipException: error in opening zip file
         at java.util.zip.ZipFile.open(Native Method)
    [email protected]3e #
    error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.sap.pct.crm.debug.SOAPTest\lib\Jcatestapi.jar
    java.util.zip.ZipException: error in opening zip file
         at java.util.zip.ZipFile.open(Native Method)

  • Error while starting ABAP trial version system

    Hello Friends,
             I am getting the following error while starting thesystem.Please help me in solving the problem. I have seen this problem has happened for many people. Points rewarded for helpfull answers.
    error for dev_disp:
    kernel runs with dp version 224(ext=109) (@(#) DPLIB-INT-VERSION-224)
    length of sys_adm_ext is 360 bytes
    SWITCH TRC-HIDE on ***
    ***LOG Q00=> DpSapEnvInit, DPStart (00 4072) [dpxxdisp.c   1239]
         shared lib "dw_xml.dll" version 95 successfully loaded
         shared lib "dw_xtc.dll" version 95 successfully loaded
         shared lib "dw_stl.dll" version 95 successfully loaded
         shared lib "dw_gui.dll" version 95 successfully loaded
         shared lib "dw_mdm.dll" version 95 successfully loaded
    rdisp/softcancel_sequence :  -> 0,5,-1
    use internal message server connection to port 3900
    Tue Feb 05 16:11:12 2008
    WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 4 seconds
    ***LOG GZZ=> 1 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c  5355]
    MtxInit: 30000 0 0
    DpSysAdmExtInit: ABAP is active
    DpSysAdmExtInit: VMC (JAVA VM in WP) is not active
    DpIPCInit2: start server >INLD50044432A_NSP_00                    <
    DpShMCreate: sizeof(wp_adm)          6328     (904)
    DpShMCreate: sizeof(tm_adm)          3605136     (17936)
    DpShMCreate: sizeof(wp_ca_adm)          1200     (60)
    DpShMCreate: sizeof(appc_ca_adm)     1200     (60)
    DpCommTableSize: max/headSize/ftSize/tableSize=500/8/528040/528048
    DpShMCreate: sizeof(comm_adm)          528048     (1048)
    DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
    DpShMCreate: sizeof(slock_adm)          0     (96)
    DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
    DpShMCreate: sizeof(file_adm)          0     (72)
    DpShMCreate: sizeof(vmc_adm)          0     (1280)
    DpShMCreate: sizeof(wall_adm)          (22440/34344/56/100)
    DpShMCreate: sizeof(gw_adm)     48
    DpShMCreate: SHM_DP_ADM_KEY          (addr: 04E60040, size: 4205552)
    DpShMCreate: allocated sys_adm at 04E60040
    DpShMCreate: allocated wp_adm at 04E61A28
    DpShMCreate: allocated tm_adm_list at 04E632E0
    DpShMCreate: allocated tm_adm at 04E63310
    DpShMCreate: allocated wp_ca_adm at 051D35A0
    DpShMCreate: allocated appc_ca_adm at 051D3A50
    DpShMCreate: allocated comm_adm at 051D3F00
    DpShMCreate: system runs without slock table
    DpShMCreate: system runs without file table
    DpShMCreate: allocated vmc_adm_list at 05254DB0
    DpShMCreate: allocated gw_adm at 05254DF0
    DpShMCreate: system runs without vmc_adm
    DpShMCreate: allocated ca_info at 05254E20
    DpShMCreate: allocated wall_adm at 05254E28
    MBUF state OFF
    DpCommInitTable: init table for 500 entries
    Tue Feb 05 16:11:13 2008
    EmInit: MmSetImplementation( 2 ).
    MM global diagnostic options set: 0
    <ES> client 0 initializing ....
    <ES> InitFreeList
    <ES> block size is 1024 kByte.
    Using implementation view
    <EsNT> Memory Reset disabled as NT default
    <ES> 127 blocks reserved for free list.
    ES initialized.
    rdisp/http_min_wait_dia_wp : 1 -> 1
    ***LOG Q0K=> DpMsAttach, mscon ( INLD50044432A) [dpxxdisp.c   11663]
    Tue Feb 05 16:11:14 2008
    DpStartStopMsg: send start message (myname is >INLD50044432A_NSP_00                    <)
    DpStartStopMsg: start msg sent
    CCMS: alert/MONI_SEGM_SIZE = 0   monitoring and alerting switched off.
    DpMsgAdmin: Set release to 7000, patchlevel 0
    MBUF state PREPARED
    MBUF component UP
    DpMBufHwIdSet: set Hardware-ID
    ***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c   1050]
    DpMsgAdmin: Set patchno for this platform to 95
    Release check o.K.
    Tue Feb 05 16:11:54 2008
    ERROR => W0 (pid 2280) died [dpxxdisp.c   14318]
    ERROR => W1 (pid 2088) died [dpxxdisp.c   14318]
    ERROR => W2 (pid 1504) died [dpxxdisp.c   14318]
    my types changed after wp death/restart 0x9f --> 0x9e
    ERROR => W3 (pid 3396) died [dpxxdisp.c   14318]
    my types changed after wp death/restart 0x9e --> 0x9c
    ERROR => W4 (pid 2328) died [dpxxdisp.c   14318]
    my types changed after wp death/restart 0x9c --> 0x98
    ERROR => W5 (pid 3316) died [dpxxdisp.c   14318]
    my types changed after wp death/restart 0x98 --> 0x90
    ERROR => W6 (pid 3776) died [dpxxdisp.c   14318]
    my types changed after wp death/restart 0x90 --> 0x80
    DP_FATAL_ERROR => DpWPCheck: no more work processes
    DISPATCHER EMERGENCY SHUTDOWN ***
    increase tracelevel of WPs
    NiWait: sleep (10000ms) ...
    NiISelect: timeout 10000ms
    NiISelect: maximum fd=1677
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    error from dev_w0
    C  Try to connect (DEFAULT) on connection 0 ...
    C  *** ERROR => Connect to database failed, rc = -10757 (XUSER error (the USERKEY is unknown))
    [dbsdbsql.cpp 112]
    C  Try to connect (SQLOPT) on connection 0 ...
    C  *** ERROR => Connect to database failed, rc = -10709 (Connection failed (RTE:Database name is missing))
    [dbsdbsql.cpp 136]
    B  ***LOG BV3=> severe db error -10709    ; work process is stopped [dbsh#2 @ 1199] [dbsh    1199 ]
    B  ***LOG BY2=> sql error -10709 performing CON [dblink#3 @ 431] [dblink  0431 ]
    B  ***LOG BY0=> Connection failed (RTE:Database name is missing) [dblink#3 @ 431] [dblink  0431 ]
    M  ***LOG R19=> ThInit, db_connect ( DB-Connect 000256) [thxxhead.c   1426]
    M  in_ThErrHandle: 1
    M  *** ERROR => ThInit: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c   10240]

    M  Info for wp 0

    M    stat = WP_RUN
    M    waiting_for = NO_WAITING
    M    reqtype = DP_RQ_DIAWP
    M    act_reqtype = NO_REQTYPE
    M    rq_info = 0
    M    tid = -1
    M    mode = 255
    M    len = -1
    M    rq_id = 65535
    M    rq_source =
    M    last_tid = 0
    M    last_mode = 0
    M    semaphore = 0
    M    act_cs_count = 0
    M    csTrack = 0
    M    csTrackRwExcl = 0
    M    csTrackRwShrd = 0
    M    control_flag = 0
    M    int_checked_resource(RFC) = 0
    M    ext_checked_resource(RFC) = 0
    M    int_checked_resource(HTTP) = 0
    M    ext_checked_resource(HTTP) = 0
    M    report = >                                        <
    M    action = 0
    M    tab_name = >                              <
    M    vm = no VM

    M  *****************************************************************************
    M  *
    M  *  LOCATION    SAP-Server INLD50044432A_NSP_00 on host INLD50044432A (wp 0)
    M  *  ERROR       ThInit: db_connect
    M  *
    M  *  TIME        Tue Feb 05 16:11:15 2008
    M  *  RELEASE     700
    M  *  COMPONENT   Taskhandler
    M  *  VERSION     1
    M  *  RC          13
    M  *  MODULE      thxxhead.c
    M  *  LINE        10439
    M  *  COUNTER     1
    M  *
    M  *****************************************************************************

    M  PfStatDisconnect: disconnect statistics
    M  Entering TH_CALLHOOKS
    M  ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
    M  *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c   720]
    M  *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c  260]
    M  Entering ThSetStatError
    M  ThIErrHandle: do not call ThrCoreInfo (no_core_info=0, in_dynp_env=0)
    M  Entering ThReadDetachMode
    M  call ThrShutDown (1)...
    M  ***LOG Q02=> wp_halt, WPStop (Workproc 0 2280) [dpnttool.c   327]
    Rgds,
    Dinesh

    The application server is unable to connect to the DB because it does not have the username/password that is stored in the XUSER file. If this is a unix system, then check the home directory for sidadm to see if the .XUSER file (it might be named something like .XUSER.62) is there.
    Are you using the sidadm account to start the system?
    Thanks,
    J. Haynes
    Denver, CO US

  • Error with BI Publisher

    Hi All,
    I am receiving below error while opening the BI publisher from OBI Answers.
    Oracle BI Publisher Enterprise
    Reporting Login: java.net.UnknownHostException: <hostname>
    Error Details
    Error Codes:
    Can any one please help me on this as it is very urgent.
    Thank You,
    --sreekar aslesha suri                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    I am receiving below error while opening the BI publisher from OBI Answers:
    Error Reporting login: java.net.connection exception : connection refused
    I can log in to OBIEE and BI Publisher separately as Administrator.
    Q2. Yes I`m using Administrator for both OBIEE & Publisher
    Q3. My server (Answers) port is 7778 (SSO). LDAP isn`t configurated and Super user is checked with value Administrator. On JDBC is configured my database (on port 9704) and test connections works (established).
    Answers & Publisher i use both with Administrator and same password. There is no sso and no ldap configuration both on Answers and Publisher (no server for sso defined just ldap installed on port 7777 on Oracle Application Server but without proper configuration in Publisher Security tab). BI Publisher is using probably default security and I`ve checked the repository file (rpd) and there is no Impersonator user defined just Administrator user and group and xmlp groups.
    Should i configure ldap in BI Publisher? I don`t know the port for ldap but i do know the console for ldap (on oas i entered on it with orcladmin and with some other user).
    Where i can find ldap port and what you suggest to do for Answers and Publisher integration?

  • Error while starting disp+work

    Hello Friends,
    I am getting the following error while starting thesystem.Please help me in solving the problem. I have seen this problem has happened for many people but no solution provided. Points rewarded for helpfull answers.
    error from dev_disp:
    kernel runs with dp version 224(ext=109) (@(#) DPLIB-INT-VERSION-224)
    length of sys_adm_ext is 360 bytes
    SWITCH TRC-HIDE on ***
    ***LOG Q00=> DpSapEnvInit, DPStart (00 4072) http://dpxxdisp.c 1239
    shared lib "dw_xml.dll" version 95 successfully loaded
    shared lib "dw_xtc.dll" version 95 successfully loaded
    shared lib "dw_stl.dll" version 95 successfully loaded
    shared lib "dw_gui.dll" version 95 successfully loaded
    shared lib "dw_mdm.dll" version 95 successfully loaded
    rdisp/softcancel_sequence : -> 0,5,-1
    use internal message server connection to port 3900
    Tue Feb 05 16:11:12 2008
    WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 4 seconds
    ***LOG GZZ=> 1 possible network problems detected - check tracefile and adjust the DNS settings http://dpxxtool2.c 5355
    MtxInit: 30000 0 0
    DpSysAdmExtInit: ABAP is active
    DpSysAdmExtInit: VMC (JAVA VM in WP) is not active
    DpIPCInit2: start server >INLD50044432A_NSP_00 <
    DpShMCreate: sizeof(wp_adm) 6328 (904)
    DpShMCreate: sizeof(tm_adm) 3605136 (17936)
    DpShMCreate: sizeof(wp_ca_adm) 1200 (60)
    DpShMCreate: sizeof(appc_ca_adm) 1200 (60)
    DpCommTableSize: max/headSize/ftSize/tableSize=500/8/528040/528048
    DpShMCreate: sizeof(comm_adm) 528048 (1048)
    DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
    DpShMCreate: sizeof(slock_adm) 0 (96)
    DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
    DpShMCreate: sizeof(file_adm) 0 (72)
    DpShMCreate: sizeof(vmc_adm) 0 (1280)
    DpShMCreate: sizeof(wall_adm) (22440/34344/56/100)
    DpShMCreate: sizeof(gw_adm) 48
    DpShMCreate: SHM_DP_ADM_KEY (addr: 04E60040, size: 4205552)
    DpShMCreate: allocated sys_adm at 04E60040
    DpShMCreate: allocated wp_adm at 04E61A28
    DpShMCreate: allocated tm_adm_list at 04E632E0
    DpShMCreate: allocated tm_adm at 04E63310
    DpShMCreate: allocated wp_ca_adm at 051D35A0
    DpShMCreate: allocated appc_ca_adm at 051D3A50
    DpShMCreate: allocated comm_adm at 051D3F00
    DpShMCreate: system runs without slock table
    DpShMCreate: system runs without file table
    DpShMCreate: allocated vmc_adm_list at 05254DB0
    DpShMCreate: allocated gw_adm at 05254DF0
    DpShMCreate: system runs without vmc_adm
    DpShMCreate: allocated ca_info at 05254E20
    DpShMCreate: allocated wall_adm at 05254E28
    MBUF state OFF
    DpCommInitTable: init table for 500 entries
    Tue Feb 05 16:11:13 2008
    EmInit: MmSetImplementation( 2 ).
    MM global diagnostic options set: 0
    <ES> client 0 initializing ....
    <ES> InitFreeList
    <ES> block size is 1024 kByte.
    Using implementation view
    <EsNT> Memory Reset disabled as NT default
    <ES> 127 blocks reserved for free list.
    ES initialized.
    rdisp/http_min_wait_dia_wp : 1 -> 1
    ***LOG Q0K=> DpMsAttach, mscon ( INLD50044432A) http://dpxxdisp.c 11663
    Tue Feb 05 16:11:14 2008
    DpStartStopMsg: send start message (myname is >INLD50044432A_NSP_00 <)
    DpStartStopMsg: start msg sent
    CCMS: alert/MONI_SEGM_SIZE = 0 monitoring and alerting switched off.
    DpMsgAdmin: Set release to 7000, patchlevel 0
    MBUF state PREPARED
    MBUF component UP
    DpMBufHwIdSet: set Hardware-ID
    ***LOG Q1C=> DpMBufHwIdSet http://dpxxmbuf.c 1050
    DpMsgAdmin: Set patchno for this platform to 95
    Release check o.K.
    Tue Feb 05 16:11:54 2008
    ERROR => W0 (pid 2280) died http://dpxxdisp.c 14318
    ERROR => W1 (pid 2088) died http://dpxxdisp.c 14318
    ERROR => W2 (pid 1504) died http://dpxxdisp.c 14318
    my types changed after wp death/restart 0x9f --> 0x9e
    ERROR => W3 (pid 3396) died http://dpxxdisp.c 14318
    my types changed after wp death/restart 0x9e --> 0x9c
    ERROR => W4 (pid 2328) died http://dpxxdisp.c 14318
    my types changed after wp death/restart 0x9c --> 0x98
    ERROR => W5 (pid 3316) died http://dpxxdisp.c 14318
    my types changed after wp death/restart 0x98 --> 0x90
    ERROR => W6 (pid 3776) died http://dpxxdisp.c 14318
    my types changed after wp death/restart 0x90 --> 0x80
    DP_FATAL_ERROR => DpWPCheck: no more work processes
    DISPATCHER EMERGENCY SHUTDOWN ***
    increase tracelevel of WPs
    NiWait: sleep (10000ms) ...
    NiISelect: timeout 10000ms
    NiISelect: maximum fd=1677
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    error from dev_w0
    C Try to connect (DEFAULT) on connection 0 ...
    C *** ERROR => Connect to database failed, rc = -10757 (XUSER error (the USERKEY is unknown))
    http://dbsdbsql.cpp 112
    C Try to connect (SQLOPT) on connection 0 ...
    C *** ERROR => Connect to database failed, rc = -10709 (Connection failed (RTE:Database name is missing))
    http://dbsdbsql.cpp 136
    B ***LOG BV3=> severe db error -10709 ; work process is stopped dbsh#2 @ 1199 dbsh 1199
    B ***LOG BY2=> sql error -10709 performing CON dblink#3 @ 431 dblink 0431
    B ***LOG BY0=> Connection failed (RTE:Database name is missing) dblink#3 @ 431 dblink 0431
    M ***LOG R19=> ThInit, db_connect ( DB-Connect 000256) http://thxxhead.c 1426
    M in_ThErrHandle: 1
    M *** ERROR => ThInit: db_connect (step 1, th_errno 13, action 3, level 1) http://thxxhead.c 10240
    M
    M Info for wp 0
    M
    M stat = WP_RUN
    M waiting_for = NO_WAITING
    M reqtype = DP_RQ_DIAWP
    M act_reqtype = NO_REQTYPE
    M rq_info = 0
    M tid = -1
    M mode = 255
    M len = -1
    M rq_id = 65535
    M rq_source =
    M last_tid = 0
    M last_mode = 0
    M semaphore = 0
    M act_cs_count = 0
    M csTrack = 0
    M csTrackRwExcl = 0
    M csTrackRwShrd = 0
    M control_flag = 0
    M int_checked_resource(RFC) = 0
    M ext_checked_resource(RFC) = 0
    M int_checked_resource(HTTP) = 0
    M ext_checked_resource(HTTP) = 0
    M report = > <
    M action = 0
    M tab_name = > <
    M vm = no VM
    M
    M *****************************************************************************
    M *
    M * LOCATION SAP-Server INLD50044432A_NSP_00 on host INLD50044432A (wp 0)
    M * ERROR ThInit: db_connect
    M *
    M * TIME Tue Feb 05 16:11:15 2008
    M * RELEASE 700
    M * COMPONENT Taskhandler
    M * VERSION 1
    M * RC 13
    M * MODULE thxxhead.c
    M * LINE 10439
    M * COUNTER 1
    M *
    M *****************************************************************************
    M
    M PfStatDisconnect: disconnect statistics
    M Entering TH_CALLHOOKS
    M ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
    M *** ERROR => ThrSaveSPAFields: no valid thr_wpadm http://thxxrun1.c 720
    M *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed http://thxxtool3.c 260
    M Entering ThSetStatError
    M ThIErrHandle: do not call ThrCoreInfo (no_core_info=0, in_dynp_env=0)
    M Entering ThReadDetachMode
    M call ThrShutDown (1)...
    M ***LOG Q02=> wp_halt, WPStop (Workproc 0 2280) http://dpnttool.c 327
    Rgds,
    Dinesh

    Hi Bidwan,
            I tried executing the command for XUSER, Executed successfully. Still i am getting the same error..
    Error logs for dev_w0
    M  calling db_connect ...

    C  DBSDBSLIB : version 700.08, patch 0.095 (Make PL 0.95)
    C  MAXDB shared library (dbsdbslib) patchlevels (last 10)
    C    (0.095) MaxDB DBSL patch collection 1 2007 (note 1014270)
    C    (0.082) MaxDB DBSL patch collection 3 2006 (note 991258)
    C    (0.079) MaxDB DBSL patch collection 2 2006 (note 984406)
    C    (0.068) MaxDB DBSL patch collection 1 2006 (note 962708)
    C    (0.051) DB50 perm block defect (note 934194)
    C    (0.046) ADBC: invalid data when fetching cursor with hold (note 925337)
    C    (0.045) Signal 11 during creation of BIA index (note 920743)
    C    (0.038) MaxDB DBSL patch collection 2 2005 (note 908602)
    C    (0.034) Livecache unicode connect (use SDK 7.6.0 b11) (note 901576)
    C    (0.028) Disable LVC codepage checking (note 882788)


    C  Loading SQLDBC client runtime ...
    C  SQLDBC SDK Version : SQLDBC.H  7.6.0    BUILD 002-121-083-965
    C  SQLDBC Library Version : libSQLDBC 7.6.2    BUILD 014-123-152-175
    C  SQLDBC client runtime is MaxDB 7.6.2.014 CL 152175
    C  SQLDBC supports new DECIMAL interface : 0
    C  SQLDBC supports VARIABLE INPUT data : 1
    C  INFO : SQLOPT= -I 0 -t 0 -S SAPR3
    C  Try to connect (DEFAULT) on connection 0 ...
    C  *** ERROR => Connect to database failed, rc = -10757 (XUSER error (the USERKEY is unknown))
    [dbsdbsql.cpp 112]
    C  Try to connect (SQLOPT) on connection 0 ...
    C  *** ERROR => Connect to database failed, rc = -10709 (Connection failed (RTE:Database name is missing))
    [dbsdbsql.cpp 136]
    B  ***LOG BV3=> severe db error -10709    ; work process is stopped [dbsh#2 @ 1199] [dbsh    1199 ]
    B  ***LOG BY2=> sql error -10709 performing CON [dblink#3 @ 431] [dblink  0431 ]
    B  ***LOG BY0=> Connection failed (RTE:Database name is missing) [dblink#3 @ 431] [dblink  0431 ]
    M  ***LOG R19=> ThInit, db_connect ( DB-Connect 000256) [thxxhead.c   1426]
    M  in_ThErrHandle: 1
    M  *** ERROR => ThInit: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c   10240]
    I would like to mention that no SIDadm user has been created in windows user account. But installation was successfull
    Rgds,
    Dinesh

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

  • Datetime error in OBIEE using xml files

    Hi,
    I get the following error when i try to retrieve datetime column in Answers
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 46046] Datetime value 4/8/2000 23:35:00 does not match the specified format. (HY000)
    SQL Issued: SELECT Project_Fact.END_DATE saw_0 FROM Projects ORDER BY saw_0
    My xml looks like: <START_DATE>4/8/2000 23:35:00 </START_DATE>
    <END_DATE>4/15/2000 23:35:00 </END_DATE>
    Where is the error and what can i do to resolve this
    Thanks

    That data is not a true Oracle datetime configuration (or it is very unlikely that your DB is set with that as the default mask).
    The easiest way is to true that field into a Character in the physical layer then at the report level in Answer use a formula to make it a Datetime. By its nature all datatypes in XML are inherently Character strings.

  • 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);
    }

Maybe you are looking for

  • Can we disable implicit DB commit in JCO RFC function call?

    I called RFC function provided by ABAP from JCo connection, found that each RFC function is a db LUW itself. All the db access sql in RFC function is implicit commited. Till now, to wrap the db access sql in seperate "Update function module" or "Perf

  • APEX generating double quotes in queries

    When APEX generates a query, it puts double quotes around the database objects. For instance when it uploads Oracle forms xml or when you are making a query in the query builder of the SQL workshop. Personally I don't like it. Because of the case sen

  • Placing image throws whole site off.

    Help. I've been trying to work this out for hours and hours - going over to my friends who has a pc. My site works just fine on most apple browsers.. but not microsoft ie. The problem is the main image creates extra space to the right when i have it

  • "Get add-ons" page on "add-ons manager" in russian instead of english.What to do?

    "Get add-ons" page on "add-ons manager" in russian instead of english. How can i change that specific page back to English.

  • Bank Statement Conversion

    Hi all We get one file from the bank that is being ftp that contains all items for numerous bank statements. We need to create 2 files (header(AUSZUG.TXT ) and transaction file(UMSATZ.TXT)) per bank account contained in this file. So theoretically if