Recieving unexpected type error.

This is my code for now and I am recieving an "unexpected type" message. at the line that is in bold. If anyone could lend me a hand that would be great. If i am doing it wrong and you can catch it also please let me know. thanks.
* This class simulates a person walking through an alley with the potential
* to take one step in either direction until they reach the end of the alley.
* @author (Greg Esposito)
* @version (11-17-06)
public class AlleyWalker {
private Die AlleyWalker;
private int goaldistance;
private int numSteps;
private int position;
public AlleyWalker() {
this.AlleyWalker = new Die(2);
this.goaldistance = 10;
this.numSteps = 0;
this.position= 0;
public int getNumSteps() {
return this.numSteps;
public int getPosition() {
return this.position;
public void reset() {
this.position = 0;
public void step () {
if (this.AlleyWalker.roll() = 1) {
this.AlleyWalker.step(1);
this.position = this.position + 1;
this.numSteps = this.numSteps + 1;
else if (this.AlleyWalker.roll() = 2) {
this.AlleyWalker.step(-1);
this.position = this.position - 1;
this.numSteps = this.numSteps + 1;
Message was edited by:
giocatore83

Alright that worked out thanks. One last thing. I have to make a method where the program runs through the rolls until it reached 10 or -10. I am not sure how I should do this. If anyone could lend a helping hand on that let me know. Thanks

Similar Messages

  • Unexpected type error

    I am getting an unexpected type error in the following code:
    import java.awt.Graphics2D;
    import java.awt.geom.Ellipse2D;
    import java.awt.geom.Line2D;
    import java.awt.geom.Point2D;
    public class Line
       public Line(int aClick, Point2D.Double[] aPoint)
          clicks = aClick;
          points = aPoint;
       public void draw(Graphics2D g2)
          if (clicks == 1)
             double x = points[0].getX();
             double y = points[0].getY();
             final double RADIUS = 5;
             Ellipse2D.Double smallCircle
                = new Ellipse2D.Double(x - RADIUS, y - RADIUS,
                   2 * RADIUS, 2 * RADIUS);
             g2.draw(smallCircle);
          else if (clicks >= 2)
             g2.draw(new Line2D.Double(points[0], points[1]));
             double x1 = points[0].getX();
             double y1 = points[0].getY();
             double x2 = points[1].getX();
             double y2 = points[1].getY();
             double length = Math.sqrt((x1 - x2)(x1 - x2) + (y1 - y2)(y1 - y2));
             message = "length = " + length;
             double mx = (x1 + x2) / 2;
             double my = (y1 + y2) / 2;
             g2.drawString(message, (float)mx, (float)my);
       private int clicks;
       private Point2D.Double[] points;  
    }double length = Math.sqrt((x1 - x2)(x1 - x2) + (y1 - y2)(y1 - y2)); this is the part that the compiler complains.
    here is the second part of the program:
    import java.applet.Applet;
    import java.awt.Graphics;
    import java.awt.Graphics2D;
    import java.awt.event.MouseAdapter;
    import java.awt.event.MouseEvent;
    import java.awt.geom.Point2D;
    public class ExP10_10 extends Applet
       public ExP10_10()
          clicks = 0;
          points = new Point2D.Double[MAX_CLICKS];
          MousePressedListener listener = new MousePressedListener();
          addMouseListener(listener);
       public void paint(Graphics g)
          Graphics2D g2 = (Graphics2D)g;
          Line l = new Line(clicks, points);
          l.draw(g2);
       class MousePressedListener extends MouseAdapter
          public void mousePressed(MouseEvent event)
             if (clicks >= MAX_CLICKS) return;
             int mouseX = event.getX();
             int mouseY = event.getY();
             points[clicks] = new Point2D.Double(mouseX, mouseY);
             clicks++;
             repaint();
       private int clicks;
       private Point2D.Double[] points;
       private final int MAX_CLICKS = 2;
    }

    double length = Math.sqrt((x1 - x2)(x1 - x2) + (y1 - y2)(y1 - y2));Java doesn't automatically assume that two expressions next to each other are supposed to be multiplied. You need to be explicit:
    double length = Math.sqrt(((x1 - x2)*(x1 - x2)) + ((y1 - y2)*(y1 - y2)));The extra parentheses are not strictly necessary, as operator precedence will still put the multiplications before the addition. But, I always think it is best to be parenthesize things explicitly, so you don't have to worry about operator precedence (especially for things less obvious than multiplication before addition).
    I guess subtraction should be relatively fast, but for repeated operations, you could define:
    double xDiff = x1-x2;
    double yDiff = y1-y2;
    double length = Math.sqrt((xDiff * xDiff) + (yDiff * yDiff));

  • Compiler throws "unexpected type" error

    Hi,
    I am newbie to Generics, I wrote the below program as part of my learning exercise:
    =================
    class One<T> implements Comparable<? extends One<T>>
         T var;
         public void setVal(T val){
              var=val;
         public T getVal(){
              return this.var;
         public int compareTo(One<T> o1){
              if(this.getVal().equals(o1.getVal())){
    return 0;
    }else {
    return 1;
    class Two<T> extends One<T>
         public int compareTo(Two o1){
              // do nothing
              return 0;
    class GenTest
         public static void main(String[] args)
              One<String> obj_01=new One<String>();
              obj_01.setVal("Vinayaka");
              One<String> obj_02=new One<String>();
              obj_02.setVal("Vinayaka");
    =========
    Compilation fails with the below error:
    javac GenTest.java
    GenTest.java:1: unexpected type
    found : ? extends One<T>
    required: class or interface without bounds
    class One<T> implements Comparable<? extends One<T>>
    ^
    1 error
    Can any one please explain me what is wrong with this program ?

    You are mixing syntaxes. Your definition should be:
    class One<T> implements Comparable<One>(PS: please use code tags when posting code)

  • The return of the "Unexpected Data Type" error

    I've searched the forum and only found discussions of this from over a year ago, so either I'm a loner or this is rearing its ugly head again.
    I've got a project that I've been working on between two machines, both running AE 11.0.2.11 with the same plug-ins. One is a macbook pro, one is a macpro. Both are running 10.6.8 (I believe that's snow leopard). I've been saving the project files and assets to the dropbox folder on my machines so that everything is always in sync between them. ***It's been working flawlessly for months.*** I haven't updated anything recently, other than installing Adobe Acrobat on the desktop machine a few days ago.
    This morning on my desktop machine, I couldn't get the project to open without getting the "unexpected data type" error. Holding down shift did nothing. I instinctively started a new project and imported the .aep I was trying to open. No errors! Then I tried to change work spaces and the error came up again. I hit caps lock and tried again. No go. At one point the workspace drop-down had bullets next to *two* of the workspaces, as if they were both active simultaneously.
    My workaround for the moment was to go to my dropbox on the website and revert to a previously saved version of the same project (thank *YOU* dropbox) from a few days ago. That opened fine, though it's missing a few hours' work.
    My fear is that this will recur and I will have to keep going back in time to keep working (two steps forward, one step back) and I've got a deadline to meet. I will try to stay away from custom workspaces, as one poster to this forum says they are generating that error in CS6 (no helpful replies to that thread).
    Anyone else experiencing this in 2013? Any ideas? All help is much appreciated.
    AE CS6 11.0.2.11
    Mac Pro OS v 10.6.8
    Processor:  2x 2.66ghz dual core intel xeon
    12Gb 667mhz DDR2 RAM

    I just started getting the same error today. Never would've imagined workspaces would have ANYTHING to do with this. But I just went to workspaces and clicked 'reset workspace' for whatever I was on, reloaded the project and no error. WTF Adobe??

  • EXPDP error - ORA-39126: Worker unexpected fatal error in KUPW$WORKER.UNLOA

    Greetings All,
    Oracle 11g (11.2.0.0) on Windows 2008 R2
    I am getting the error below during a schema export of just 1 particular schema. Other schema expdp’s don’t encounter this problem.
    Processing object type SCHEMA_EXPORT/PACKAGE/PACKAGE_BODY
    Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT
    ORA-39126: Worker unexpected fatal error in KUPW$WORKER.UNLOAD_METADATA [REF_CONSTRAINT:"CM_MASTER"."PPY_PEN_FK"]
    ORA-04063: package body "XDB.DBMS_XDBUTIL_INT" has errors
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
    ORA-06512: at "SYS.KUPW$WORKER", line 8165
    ----- PL/SQL Call Stack -----
      object      line  object
      handle    number  name
    000000047B38A000     18990  package body SYS.KUPW$WORKER
    000000047B38A000      8192  package body SYS.KUPW$WORKER
    000000047B38A000      2823  package body SYS.KUPW$WORKER
    000000047B38A000      8847  package body SYS.KUPW$WORKER
    000000047B38A000      1649  package body SYS.KUPW$WORKER
    000000047A576CD0         2  anonymous block
    Job "CM_MASTER"."EXP_CM_MASTER" stopped due to fatal error at 17:11:30I have deleted the identified constraint, but then errors out again on another constraint.
    I have found a tentative resolution for the ORA-39126 error (delete database stats, then gather database stats) but have not done so yet.
    I have tried deleting the statistics for just the schema (cm_master), and then re-gathered stats for the same schema. Still get the error.
    I am concerned about the ORA-04063: package body “XDB.DBMS_XDBUTIL_INT” has errors.
    I have unlocked and set new password for the XDB user, but am not able to logon as XDB to re-compile the package body in question.
    We had some maintenance applied over the weekend that “revoked execute from public” on the following packages:
    dbms_datapump
    dbms_crypto
    dbms_crypto_toolkit
    dbms_java_test
    dbms_random
    dbms_sql
    utl_file
    utl_http
    utl_mail
    utl_smtp
    utl_tcpThe user performing the export with the problem (cm_master) was then granted execute back on the following packages:
    dbms_datapump
    dbms_crypto
    dbms_random
    dbms_sql
    utl_file
    utl_http
    utl_mail
    (not: dbms_crypto_toolkit, dbms_java_test,  utl_smtp, utl_tcp,)Other schemas were granted execute on the following packages and are NOT having expdp problems:
    dbms_datapump
    dbms_sql
    utl_file
    utl_http
    utl_mail
    (not: dbms_crypto, dbms_crypto_toolkit, dbms_random, utl_smtp, utl_tcp )I don't think the public revokes are causing this error because the "Other schemas" do not have this error and were not specifically granted back all of the public revokes that cm_master received back.
    I appreciate any suggestions.
    Thanks for your time,
    Bob
    Edited by: Snyds on Jun 5, 2012 10:03 AM

    rjamya,
    I checked dba_registry, all 18 rows returned are VALID.
    I attempted to compile the package body identified in the error messages:
    ORA-04063: package body "XDB.DBMS_XDBUTIL_INT" has errorswith
    alter package xdb.dbms_xdbutil_int compile body;I got thje following results
    Error starting at line 60 in command:
    alter package xdb.dbms_xdbutil_int compile body
    Error report:
    SQL Command: package XDB.DBMS_XDBUTIL_INT
    Failed: ORA-24344: success with compilation error
    24344. 00000 -  "success with compilation error"
    *Cause:    A sql/plsql compilation error occurred.
    *Action:   Return OCI_SUCCESS_WITH_INFO along with the error code
    package XDB.DBMS_XDBUTIL_INT altered.Any other suggestions regarding how to resolve errors in the XDB.DBMS_ packages?
    I also tried granting CM_MASTER execute on the packages that I revoked execute to PUBLIC on, with no effect.
    I tried “exclude=REF_CONSTRAINT” on the export, the problem seemed to move to the next section:
    Estimate in progress using BLOCKS method...
    Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
    Total estimation using BLOCKS method: 96.31 MB
    Processing object type SCHEMA_EXPORT/USER
    Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
    Processing object type SCHEMA_EXPORT/ROLE_GRANT
    Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
    Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
    Processing object type SCHEMA_EXPORT/DB_LINK
    Processing object type SCHEMA_EXPORT/SEQUENCE/SEQUENCE
    Processing object type SCHEMA_EXPORT/TABLE/TABLE
    Processing object type SCHEMA_EXPORT/TABLE/GRANT/OWNER_GRANT/OBJECT_GRANT
    Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX
    Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
    Processing object type SCHEMA_EXPORT/TABLE/COMMENT
    Processing object type SCHEMA_EXPORT/PACKAGE/PACKAGE_SPEC
    Processing object type SCHEMA_EXPORT/FUNCTION/FUNCTION
    Processing object type SCHEMA_EXPORT/PACKAGE/COMPILE_PACKAGE/PACKAGE_SPEC/ALTER_PACKAGE_SPEC
    Processing object type SCHEMA_EXPORT/FUNCTION/ALTER_FUNCTION
    Processing object type SCHEMA_EXPORT/VIEW/VIEW
    Processing object type SCHEMA_EXPORT/PACKAGE/PACKAGE_BODY
    ORA-39126: Worker unexpected fatal error in KUPW$WORKER.UNLOAD_METADATA [PACKAGE_BODY:"CM_MASTER"."SR_MAINTENANCE"]
    ORA-04063: package body "XDB.DBMS_XDBUTIL_INT" has errors
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
    ORA-06512: at "SYS.KUPW$WORKER", line 8165
    ----- PL/SQL Call Stack -----
      object      line  object
      handle    number  name
    000000047B38A000     18990  package body SYS.KUPW$WORKER
    000000047B38A000      8192  package body SYS.KUPW$WORKER
    000000047B38A000      2823  package body SYS.KUPW$WORKER
    000000047B38A000      8847  package body SYS.KUPW$WORKER
    000000047B38A000      1649  package body SYS.KUPW$WORKER
    000000047A576CD0         2  anonymous block
    Job "CM_MASTER"."EXP_CM_MASTER" stopped due to fatal error at 19:36:23I tried the suggestion from my Google-ing, drop database statistics, then gather database statistics. No effect, same error.
    I also tried granting CM_MASTER execute on the packages that I revoked execute to PUBLIC on, with no effect.
    Again what seems odd is that I can export other schemas without errors.
    Any other suggestions, please.
    Thanks,
    Bob
    Edited by: Snyds on Jun 5, 2012 12:04 PM

  • Exchange ActiveSync has shut down because an unexpected critical error occurred

    Hi, 
    At one point all phones stopped syncing and when checking event log i came to this error:
    Exchange ActiveSync has shut down because an unexpected critical error occurred.
    URL=
    --- Exception start ---
    Exception type: System.OutOfMemoryException
    Exception message: Insufficient memory to continue the execution of the program.
    Exception level: 0
    Exception stack trace:    at Microsoft.Exchange.Data.Storage.GenericListData`2.DeserializeData(BinaryReader reader, ComponentDataPool componentDataPool)
       at Microsoft.Exchange.AirSync.DeviceBehaviorData.DeserializeData(BinaryReader reader, ComponentDataPool componentDataPool)
       at Microsoft.Exchange.Data.Storage.DerivedData`1.DeserializeData(BinaryReader reader, ComponentDataPool componentDataPool)
       at Microsoft.Exchange.Data.Storage.GenericListData`1.DeserializeData(BinaryReader reader, ComponentDataPool componentDataPool)
       at Microsoft.Exchange.Data.Storage.GenericDictionaryData`3.DeserializeData(BinaryReader reader, ComponentDataPool componentDataPool)
       at Microsoft.Exchange.Data.Storage.SyncState.DeserializeSyncStateTable(Int64 idxTable)
       at Microsoft.Exchange.Data.Storage.SyncState.Deserialize(PropertyDefinition property)
       at Microsoft.Exchange.Data.Storage.SyncState.Load(Boolean reloadFromBackend, PropertyDefinition[] additionalPropsToLoad)
       at Microsoft.Exchange.Data.Storage.SyncState..ctor(SyncStateStorage syncStateStorage, StoreObject storeObject, SyncStateInfo syncStateInfo, Boolean syncStateIsNew)
       at Microsoft.Exchange.Data.Storage.CustomSyncState.GetSyncState(SyncStateStorage syncStateStorage, Folder syncStateParentFolder, SyncStateInfo syncStateInfo, StoreObjectId storeObjectId)
       at Microsoft.Exchange.Data.Storage.SyncStateStorage.GetCustomSyncState(SyncStateInfo syncStateInfo)
       at Microsoft.Exchange.AirSync.GlobalInfo.LoadFromMailbox(MailboxSession mailboxSession, SyncStateStorage syncStateStorage, ProtocolLogger protocolLogger)
       at Microsoft.Exchange.AirSync.Command.OpenSyncStorage(Boolean shouldOpenGlobalSyncState, Boolean shouldUseBudget)
       at Microsoft.Exchange.AirSync.Command.WorkerThread()
    --- Exception end ---
    mail server has 35GBs of Ram, plenty of disk space, no extra transaction logs adding or anything like that. Right now phones work, but every other minute that error pops up and after sometime event 1013 is logged saying that Exchange activesync has been
    loaded.
    Thanks

    Hi Luksharp
    Is it happening only for Iphones or is it for all types of phones as well ?
    What version of Exchange server you are running ?
    Are you experiencing this issue after any recent upgrade or changes in CAS server ?
    Just check the sync state policy refer below article
    http://blog.chrislehr.com/2012/02/difference-in-policy-versions.html
    Looks like Sync State Policy is loaded for user's mailbox from latest version of CAS server and it was contacted the lower version of CAS for mailbox access.
    Just ensure all of your CAS servers are up to date with all mailbox and hub in correct versions.
    Remember to mark as helpful if you find my contribution useful or as an answer if it does answer your question.That will encourage me - and others - to take time out to help you Check out my latest blog posts on http://exchangequery.com

  • Expdp unexpected fatal error

    Hello Experts
    I am trying do a datapump  and I get the error as given below.  I tried to use the  EXCLUDE=STATISTICS clause, but still I get the same error. Please guide me to move forward.
    Export: Release 11.2.0.1.0 - Production on Thu Nov 14 13:28:36 2013
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    Connected to: Oracle Database 11g Release 11.2.0.3.0 - 64bit Production
    Starting "test"."SYS_EXPORT_SCHEMA_05":  test/********@mydb schemas=my_schema directory=DATAPUMP dumpfile=dev_my_schema_DB_11_14_2013.dp logfile=dev_my_schema_DB_11_14_2013.log FLASHBACK_TIME=SYSTIMESTAMP
    Estimate in progress using BLOCKS method...
    Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
    Total estimation using BLOCKS method: 3.226 GB
    Processing object type SCHEMA_EXPORT/USER
    Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
    Processing object type SCHEMA_EXPORT/ROLE_GRANT
    Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
    Processing object type SCHEMA_EXPORT/TABLESPACE_QUOTA
    Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
    Processing object type SCHEMA_EXPORT/SYNONYM/SYNONYM
    Processing object type SCHEMA_EXPORT/DB_LINK
    Processing object type SCHEMA_EXPORT/SEQUENCE/SEQUENCE
    ORA-39126: Worker unexpected fatal error in KUPW$WORKER.FETCH_XML_OBJECTS [SEQUENCE:"my_schema"."my_schema_ID_SEQ"]
    ORA-44203: timeout waiting for lock on cursor
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
    ORA-06512: at "SYS.KUPW$WORKER", line 9001
    ----- PL/SQL Call Stack -----
      object      line  object
      handle    number  name
    0xf7388d08     20462  package body SYS.KUPW$WORKER
    0xf7388d08      9028  package body SYS.KUPW$WORKER
    0xf7388d08     10935  package body SYS.KUPW$WORKER
    0xf7388d08      2728  package body SYS.KUPW$WORKER
    0xf7388d08      9697  package body SYS.KUPW$WORKER
    0xf7388d08      1775  package body SYS.KUPW$WORKER
    0x16bd96fe8         2  anonymous block
    Job "test"."SYS_EXPORT_SCHEMA_05" stopped due to fatal error at 13:35:50

    I tried the following query to find uncommitted transactions and I see only 1 which is by SYSMAN and status ia INACTIVE.
    select t.start_time,s.sid,s.serial#,s.username,s.status,s.schemaname,
    s.osuser,s.process,s.machine,s.terminal,s.program,s.module,to_char(s.logon_time,'DD/MON/YY HH24:MI:SS') logon_time
    from v$transaction t, v$session s
    WHERE S.SADDR = T.SES_ADDR
    order by start_time;

  • Error data pump import: Worker unexpected fatal error in KUPW$WORKER.MAIN

    Hello.
    I try to import dump
    impdp DIRECTORY=data_pump_dir DUMPFILE=04-2013.dmp TRANSFORM=OID:n LOGFILE=04-2013.dmp.log
    (user - system (tried with sys) , (also with parallel=1 (or 2, or 8))and have following error:
    Import: Release 11.2.0.1.0 - Production on Fri May 31 12:55:42 2013
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    Connected to: Oracle Database 11g Release 11.2.0.1.0 - 64bit Production
    ORA-39014: One or more workers have prematurely exited.
    ORA-39029: worker 1 with process name "DW00" prematurely terminated
    ORA-31671: Worker process DW00 had an unhandled exception.
    ORA-39079: unable to enqueue message RQ
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
    ORA-06512: at "SYS.KUPC$QUE_INT", line 965
    ORA-00931: missing identifier
    ORA-06512: at "SYS.KUPW$WORKER", line 16746
    ORA-06512: at "SYS.KUPW$WORKER", line 19035
    ORA-06512: at "SYS.KUPW$WORKER", line 8191
    ORA-39126: Worker unexpected fatal error in KUPW$WORKER.MAIN []
    ORA-06512: at "SYS.KUPW$WORKER", line 1705
    ORA-44002: invalid object name
    ORA-06512: at line 2 
    How can I fix it?
    Alert_log
    Fri May 31 14:26:21 2013
    DM00 started with pid=32, OS id=36385, job SYSTEM.SYS_IMPORT_FULL_03
    Fri May 31 14:26:22 2013
    DW00 started with pid=33, OS id=36387, wid=1, job SYSTEM.SYS_IMPORT_FULL_03
    DW00 terminating with fatal err=39079, pid=33, wid=1, job SYSTEM.Also there is some invalid objects in SYS:
    SYS.DBMS_SQLTUNE_INTERNAL
    SYS.DBMS_SQLTUNE
    SYS.DBMS_WRR_INTERNAL
    SYS.DBMS_WORKLOAD_REPLAY
    SYS.PRVT_SQLPA
    SYS.DBMS_SMB_INTERNAL
    WMSYS.LTUTIL
    WMSYS.LTADM
    WMSYS.UD_TRIGS
    WMSYS.OWM_DDL_PKG
    WMSYS.OWM_MIG_PKG
    EXFSYS.DBMS_EXPFIL_DR
    EXFSYS.DBMS_EXPFIL
    EXFSYS.ADM_EXPFIL_SYSTRIG
    CTXSYS.DRVDDL
    XDB.DBMS_XDBZ0
    XDB.DBMS_XSLPROCESSOR
    XDB.DBMS_XDBUTIL_INT
    XDB.DBMS_CSX_ADMIN
    EXFSYS.DBMS_RLMGR_UTL
    EXFSYS.DBMS_RLMGR_IR
    EXFSYS.DBMS_RLMGR_IRPK
    EXFSYS.DBMS_RLMGR_DEPASEXP
    MDSYS.SDO_CS
    SYSMAN.EMD_MAINTENANCE
    SYSMAN.MGMT_ADMIN_DATA

    here are trace files [http://files.mail.ru/B05EBC4402A342D0AE1E88BFB04191DB|http://files.mail.ru/B05EBC4402A342D0AE1E88BFB04191DB]
    error here:
    KUPM:12:47:19.571: Error detected by MCP
    KUPM:12:47:19.572: ORA-39014: One or more workers have prematurely exited.
    KUPM:12:47:19.572: ORA-39029: worker 1 with process name "DW00" prematurely terminated
    KUPM:12:47:19.572: ORA-31671: Worker process DW00 had an unhandled exception.
    ORA-39079: unable to enqueue message RQ
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
    ORA-06512: at "SYS.KUPC$QUE_INT", line 965
    ORA-00931: missing identifier
    ORA-06512: at "SYS.KUPW$WORKER", line 16746
    ORA-06512: at "SYS.KUPW$WORKER", line 19035
    ORA-06512: at "SYS.KUPW$WORKER", line 8191
    ORA-39126: Worker unexpected fatal error in KUPW$WORKER.MAIN []
    ORA-06512: at "SYS.KUPW$WORKER", line 1705
    ORA-44002: invalid object name
    ORA-06512: at line 2
    KUPM:12:47:19.577: In restart_worker for worker 1...
    KUPM:12:47:19.577: Error being processed is:  -26457
    KUPM:12:47:19.577: worker id is:
    KUPM:12:47:19.577: Worker error is: 0
    KUPM:12:47:19.577: Exited main loop...
    KUPM:12:47:19.577: Returned to MAIN
    KUPV:12:47:19.577: Update request for job: SYSTEM.SYS_IMPORT_FULL_03, func: 1
    KUPM:12:47:19.578: Entered state: UNDEFINED
    KUPM:12:47:19.578: In RESPOND_TO_START
    KUPC:12:47:19.578: Before ENQ: Sending Type: 2041 ID:
    KUPC:12:47:19.578:  RP,KUPC$C_1_20130603124648,MCP,KUPC$A_1_20130603124649,10,Y
    kwqberlst !retval block
    kwqberlst rqan->lagno_kwqiia  5
    kwqberlst rqan->lascn_kwqiia > 0 block
    kwqberlst rqan->lascn_kwqiia  5
    kwqberlst ascn 2375213 lascn 22
    KUPM:12:47:19.579: In check_workers...
    KUPM:12:47:19.579: Live worker count is:  0
    KUPM:12:47:19.579: worker id is:
    KUPM:12:47:19.579: Worker error is: 0
    KUPM:12:47:19.579: Job is completing

  • ORA-39125:Worker unexpected fatal error for different different objects...

    Hi All,
    I am using Oracle database 10.2.0.4 on windows 2003 server.
    I want to take full bakup/schema level backup, for this I am using expdp. when I run this expdp it's getting failed with below error:=
    ===================================================================================
    take the schema level backup: Starting "SYSTEM"."SYS_EXPORT_SCHEMA_03": system/********@TEST schemas=JISPBILCORBILLING501 directory=BACKUP_DIR dumpfile=JISPBILCORBILLING501.dmp logfile=JISPBILCORBILLING501.log
    Estimate in progress using BLOCKS method...
    Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
    ORA-39125: Worker unexpected fatal error in KUPW$WORKER.GET_TABLE_DATA_OBJECTS while calling DBMS_METADATA.FETCH_XML_CLOB []
    ORA-01115: IO error reading block from file 5 (block # 3913)
    ORA-01110: data file 5: 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST\JISPBILCORBILLING501.DBF'
    ORA-27091: unable to queue I/O
    ORA-27070: async read/write failed
    OSD-04006: ReadFile() failure, unable to read from file
    O/S-Error: (OS 38) Reached the end of the file.
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
    ORA-06512: at "SYS.KUPW$WORKER", line 6307
    ----- PL/SQL Call Stack -----
    object line object
    handle number name
    000007FF9ABA7AC0 15032 package body SYS.KUPW$WORKER
    000007FF9ABA7AC0 6372 package body SYS.KUPW$WORKER
    000007FF9ABA7AC0 9206 package body SYS.KUPW$WORKER
    000007FF9ABA7AC0 1936 package body SYS.KUPW$WORKER
    000007FF9ABA7AC0 6944 package body SYS.KUPW$WORKER
    000007FF9ABA7AC0 1314 package body SYS.KUPW$WORKER
    000007FF94192598 2 anonymous block
    Job "SYSTEM"."SYS_EXPORT_SCHEMA_03" stopped due to fatal error at 11:12:50
    ==================================================================================================
    On the same server if I take the other database full backup then also getting similar type of error:
    Starting "SYSTEM"."SYS_EXPORT_FULL_11": system/********@jisp full=y directory=BACKUP_DIR dumpfile=jispratcorbilling501_full%U.dmp filesize=3G logfile=jispratcorbilling.log
    ORA-39125: Worker unexpected fatal error in KUPW$WORKER.UNLOAD_METADATA while ca
    lling DBMS_METADATA.FETCH_XML_CLOB [TYPE:"SYSMAN"."MGMT_CONTAINER_CRED_ARRAY"]
    ORA-22813: operand value exceeds system limits
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 229
    ORA-06512: at "SYS.KUPW$WORKER", line 889
    ----- PL/SQL Call Stack -----
    object line object
    handle number name
    000007FFCB72CDB0 15032 package body SYS.KUPW$WORKER
    000007FFCB72CDB0 6372 package body SYS.KUPW$WORKER
    000007FFCB72CDB0 2396 package body SYS.KUPW$WORKER
    000007FFCB72CDB0 6944 package body SYS.KUPW$WORKER
    000007FFCB72CDB0 1314 package body SYS.KUPW$WORKER
    000007FFCBAA7290 2 anonymous block
    Job "SYSTEM"."SYS_EXPORT_FULL_11" stopped due to fatal error at 11:48:49
    ====================================================================================================
    Can anyone suggest me what to look for this error?
    Thanks...

    I did
    1. DMSYS account unlock as well change the password .
    2. run this query and verify it VALID status.
    select COMP_NAME,VERSION,STATUS from dba_registry where COMP_NAME='Oracle Data Mining';
    is any thing else require?

  • Impdp error ORA-39125: Worker unexpected fatal error in KUPW$WORKER.PUT_DDL

    Hi,
    I am trying to generate sql script form the dmp file.
    but getting this error.
    C:\Documents and Settings\satish.HTSS>impdp egift/egift@local directory=DIR1 dum
    pfile=exp.dmp sqlfile=create.sql
    Import: Release 10.2.0.1.0 - Production on Saturday, 24 May, 2008 0:16:07
    Copyright (c) 2003, 2005, Oracle.  All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Produc
    tion
    With the Partitioning, OLAP and Data Mining options
    Master table "EGIFT"."SYS_SQL_FILE_FULL_01" successfully loaded/unloaded
    Starting "EGIFT"."SYS_SQL_FILE_FULL_01":  egift/********@local directory=DIR1 du
    mpfile=exp.dmp sqlfile=create.sql
    Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
    Processing object type SCHEMA_EXPORT/SEQUENCE/SEQUENCE
    Processing object type SCHEMA_EXPORT/TABLE/TABLE
    Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX
    Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
    Processing object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
    Processing object type SCHEMA_EXPORT/TABLE/COMMENT
    Processing object type SCHEMA_EXPORT/PACKAGE/PACKAGE_SPEC
    Processing object type SCHEMA_EXPORT/FUNCTION/FUNCTION
    Processing object type SCHEMA_EXPORT/PROCEDURE/PROCEDURE
    Processing object type SCHEMA_EXPORT/PACKAGE/COMPILE_PACKAGE/PACKAGE_SPEC/ALTER_
    PACKAGE_SPEC
    Processing object type SCHEMA_EXPORT/FUNCTION/ALTER_FUNCTION
    Processing object type SCHEMA_EXPORT/PROCEDURE/ALTER_PROCEDURE
    Processing object type SCHEMA_EXPORT/VIEW/VIEW
    Processing object type SCHEMA_EXPORT/PACKAGE/PACKAGE_BODY
    Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT
    Processing object type SCHEMA_EXPORT/TABLE/TRIGGER
    ORA-39125: Worker unexpected fatal error in KUPW$WORKER.PUT_DDLS while calling D
    BMS_METADATA.CONVERT []
    ORA-06502: PL/SQL: numeric or value error
    LPX-00007: unexpected end-of-file encountered
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
    ORA-06512: at "SYS.KUPW$WORKER", line 6235
    ----- PL/SQL Call Stack -----
      object      line  object
      handle    number  name
    20B135F8     14916  package body SYS.KUPW$WORKER
    20B135F8      6300  package body SYS.KUPW$WORKER
    20B135F8     12279  package body SYS.KUPW$WORKER
    20B135F8      3279  package body SYS.KUPW$WORKER
    20B135F8      3956  package body SYS.KUPW$WORKER
    20B135F8      6931  package body SYS.KUPW$WORKER
    20B135F8      1262  package body SYS.KUPW$WORKER
    18E96684         2  anonymous block
    Job "EGIFT"."SYS_SQL_FILE_FULL_01" stopped due to fatal error at 00:16:31and this error always comes when it turns to generate sql for the triggers.
    i am facing this error continuously.
    thanks

    Hi,
    Its an unpatched db.So you must patch it first.Here is what is mentioned about this error
    39125, 00000, "Worker unexpected fatal error in %s while calling %s [%s]" // *Cause: An unhandled exception was detected internally within the worker
    // process for the Data Pump job while calling the specified external
    // routine. This is an internal error. Additional information may be
    // supplied.
    // *Action: If problem persists, contact Oracle Customer Support.
    So the better part is to contact Support.See if this thread can help you.Its not having much but still ,
    Error ORA-39125 and ORA-04063 during export for transportable tablespace
    Aman....

  • Impdp - ORA-39126: Worker unexpected fatal error in KUPW$WORKER.LOAD_METADA

    Hi,
    I am trying to refresh my local DB and getting this error.
    I have recreated(drop and create) the SR user and tried importing the fresh copy.
    Import is working fine on the new Database i.e Deleting and creating the database.
    pl. help me finding the solution.
    version : 10.1.0.2.0
    _____________________import statment_____________________________
    impdp SR/SR@db SCHEMAS=SR DIRECTORY=DUMP_FILES_DIR DUMPFILE=DUMPFILE_0313_%U.dmp PARALLEL=4
    LOGFILE=imp_0313.LOG EXCLUDE=GRANT TRANSFORM=SEGMENT_ATTRIBUTES:n
    Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX
    ORA-39126: Worker unexpected fatal error in KUPW$WORKER.LOAD_METADATA [INDEX:"SR
    "."XPKEMP_SAL_FND"]
    SELECT process_order, flags, xml_clob, NVL(dump_fileid, :1), NVL(dump_position,
    :2), dump_length, dump_allocation, grantor, object_row, object_schema, object_lo
    ng_name, processing_status, processing_state, base_object_type, base_object_sche
    ma, base_object_name, property, in_progress FROM "SR"."SYS_IMPORT_SCHEMA_01" WHE
    RE process_order between :3 AND :4 AND processing_state <> :5 AND duplicate = 0
    ORDER BY process_order
    ORA-01555: snapshot too old: rollback segment number 2 with name "_SYSSMU2$" too
    small
    ----- PL/SQL Call Stack -----
    object line object
    handle number name
    172874A8 13460 package body SYS.KUPW$WORKER
    172874A8 5810 package body SYS.KUPW$WORKER
    172874A8 3080 package body SYS.KUPW$WORKER
    172874A8 6353 package body SYS.KUPW$WORKER
    172874A8 1208 package body SYS.KUPW$WORKER
    17AF3BA0 2 anonymous block
    Job "SR"."SYS_IMPORT_SCHEMA_01" stopped due to fatal error at 14:41

    ORA-01555: snapshot too old: rollback segment number 2 with name "_SYSSMU2$" too
    small
    Looks like you are hitting snapshot too old error, Fix this one first, look for undo sizes, undo_retention.. This should resolve your problem
    if it is still not resolved, refer to this document if you are hitting a bug related to oracle workspace manager.
    Note:273267.1

  • ORA-39126: Worker unexpected fatal error

    Hi,
    when importing from a full export file by following commande line :
    impdp system/***@orcl DUMPFILE=EXP_FUL_H9DEV.DMP LOGFILE=MYLOG.log
    I recieved :
    ORA-39126: Worker unexpected fatal error in KUPW$WORKER.PUT_DDL [VIEW:"H9DEV"."PS_AEAPPL_VW"]
    ORA-44001: invalid schema
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
    ORA-06512: at "SYS.KUPW$WORKER", line 6273
    Any idea ?
    Thanks for help.

    thank for answer. Here the rest of information :
    ----- PL/SQL Call Stack -----
    object line object
    handle number name
    6FD3C3CC 14916 package body SYS.KUPW$WORKER
    6FD3C3CC 6300 package body SYS.KUPW$WORKER
    6FD3C3CC 12689 package body SYS.KUPW$WORKER
    6FD3C3CC 11968 package body SYS.KUPW$WORKER
    6FD3C3CC 3279 package body SYS.KUPW$WORKER
    6FD3C3CC 6889 package body SYS.KUPW$WORKER
    6FD3C3CC 1262 package body SYS.KUPW$WORKER
    6FE88CDC 2 anonymous block
    Job "SYSTEM"."SYS_IMPORT_FULL_01" stopped due to fatal error at 01:02:03
    And also :
    SQL> desc PS_AEAPPL_VW
    ERROR:
    ORA-04043: object PS_AEAPPL_VW does not exist
    SQL> select object_name from dba_objects where object_name like '%PS_AEAPPL_VW%';
    no rows selected

  • ORA-39126: Worker unexpected fatal error in KUPW$WORKER

    Any suggestions for error below
    the comp_name from dba_registry are all VALID
    OS : Windows 2008 R2
    database version 11.2.0.1.0
    Import: Release 11.2.0.1.0 - Production on Fri Sep 21 23:15:33 2012
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Master table "SYSTEM"."SYS_IMPORT_FULL_08" successfully loaded/unloaded
    Starting "SYSTEM"."SYS_IMPORT_FULL_08": system/******** directory=ORADUMP dumpfile=essex.dmp logfile=essex-import.log remap_schema=CONFIRM:CON_ESSEX,SBS:SBS_ESSEX REMAP_TABLESPACE=CONFIRM:CON_ESSEX exclude=statistics
    Processing object type SCHEMA_EXPORT/USER
    ORA-39126: Worker unexpected fatal error in KUPW$WORKER.LOAD_METADATA [SELECT process_order, flags, xml_clob, NVL(dump_fileid, :1), NVL(dump_position, :2), dump_length, dump_allocation, NVL(value_n, 0), grantor, object_row, object_schema, object_long_name, partition_name, subpartition_name, processing_status, processing_state, base_object_type, base_object_schema, base_object_name, base_process_order, property, size_estimate, in_progress, original_object_schema, original_object_name, creation_level, object_int_oid FROM "SYSTEM"."SYS_IMPORT_FULL_08" WHERE  process_order between :3 AND :4 AND duplicate = 0 AND processing_state NOT IN (:5, :6, :7) ORDER BY process_order]
    ORA-39183: internal error -19 ocurred during decompression phase 2
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
    ORA-06512: at "SYS.KUPW$WORKER", line 8165
    ----- PL/SQL Call Stack -----
    object line object
    handle number name
    000007FFBC220BC0 18990 package body SYS.KUPW$WORKER
    000007FFBC220BC0 8192 package body SYS.KUPW$WORKER
    000007FFBC220BC0 4173 package body SYS.KUPW$WORKER
    000007FFBC220BC0 8875 package body SYS.KUPW$WORKER
    000007FFBC220BC0 1649 package body SYS.KUPW$WORKER
    000007FFA2F9E3D8 2 anonymous block
    ORA-39126: Worker unexpected fatal error in KUPW$WORKER.LOAD_METADATA [SELECT process_order, flags, xml_clob, NVL(dump_fileid, :1), NVL(dump_position, :2), dump_length, dump_allocation, NVL(value_n, 0), grantor, object_row, object_schema, object_long_name, partition_name, subpartition_name, processing_status, processing_state, base_object_type, base_object_schema, base_object_name, base_process_order, property, size_estimate, in_progress, original_object_schema, original_object_name, creation_level, object_int_oid FROM "SYSTEM"."SYS_IMPORT_FULL_08" WHERE  process_order between :3 AND :4 AND duplicate = 0 AND processing_state NOT IN (:5, :6, :7) ORDER BY process_order]
    ORA-39183: internal error -19 ocurred during decompression phase 2
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
    ORA-06512: at "SYS.KUPW$WORKER", line 8165
    ----- PL/SQL Call Stack -----
    object line object
    handle number name
    000007FFBC220BC0 18990 package body SYS.KUPW$WORKER
    000007FFBC220BC0 8192 package body SYS.KUPW$WORKER
    000007FFBC220BC0 4173 package body SYS.KUPW$WORKER
    000007FFBC220BC0 8875 package body SYS.KUPW$WORKER
    000007FFBC220BC0 1649 package body SYS.KUPW$WORKER
    000007FFA2F9E3D8 2 anonymous block
    Job "SYSTEM"."SYS_IMPORT_FULL_08" stopped due to fatal error at 23:15:41

    I have ran the impdp command on same database before and they have worked fine
    we have 11.2.0.1.0 version both on source and target database
    nothing has changed on the db as the target database has been up and running
    i have also logged to metalink
    dont want to upgrade to 11.2.0.3.0 at this point if there is a work around for this
    Edited by: 912919 on 21-Sep-2012 15:47

  • MaxL Command    :    ERROR - 1241101 - Unexpected Essbase error 1007083

    Hi,
    I have created outline here I have created one dimension i.e. Account
    and also created Rule file as per databse outline. It is valid
    successfully.
    Now I have to load dimension by using MaxL command.
    I have created Account.csv
    within that I have take :
    Account->xyz
    xyz->abc members.
    I am loading dimension by using following statement:
    import database PLAN.PLANDB dimensions from data_file 'D:\Practice\Account
    .csv' using rules_file 'C:\Oracle\Middleware\user_projects\epmsystem1\EssbaseSer
    ver\essbaseserver1\app\PLAN\PLANDB\plan.rul' on error append to 'C:\Oracle\Middl
    eware\user_projects\epmsystem1\EssbaseServer\essbaseserver1\app\PLAN\Log\plan.log';
    So I getting following error:
    OK/INFO - 1053012 - Object [PLANDB] is locked by user [admin@Native Directory].
    OK/INFO - 1053012 - Object [52772261] is locked by user [admin@Native Directory
    ERROR - 1007083 - Dimension build failed. Error code [1090003]. Check the ser
    ver log file and the dimension build error file for possible additional info..
    OK/INFO - 1053013 - Object [52772261] unlocked by user [admin@Native Directory]
    ERROR - 1241101 - Unexpected Essbase error 1007083.
    OK/INFO - 1053013 - Object [PLANDB] unlocked by user [admin@Native Directory].
    and also in log file I getting message like:
    \\Column 1 Ignored; No DimBuild Dimension (3325)
    \\Column 3 - Invalid Dimension
    So could you tell me why I getting this types of error.
    what is the meaning of log file information i.e. "Invalid dimension."

    Hi,
    As per the error message, there was a mismatch of the dimension tagging or incorrect rules. Did you try to build the dimension/members using EAS Console?
    Take a simple sources file and rules file and re-build the dimension.
    You can try the following:
    1. Launch EAS Console and login using Administrative user credentials
    2. Connect to Essbase Server using administrative user credentials
    3. Create a test Application & Database say TestApp & TestDb
    4. Open the outline in the edit mode and create a dimension "Measures"
    5. Open the notepad and Create a source file as:
    Profit Margin Sales
    Profit Margin COGS
    Save the file in the c:\ drive as Sales.txt
    6. In EAS Console, right-click on database and select create Rules File and import the Source file
    7. Set the Field Properties.
    8. Build the dimension and check if the members are added to the Measures dimension
    9. Delete the members under Measures and then try the MaxL Script.
    Hope it helps....
    KosuruS

  • Unexpected type  required: variable   found   : value

    Hello, these are my errors:
    PWC6197: An error occurred at line: 43 in the jsp file: /jsp/ListRedirect.jsp
    PWC6199: Generated servlet error:
    string:///ListRedirect_jsp.java:96: unexpected type
    required: variable
    found : value
    PWC6197: An error occurred at line: 43 in the jsp file: /jsp/ListRedirect.jsp
    PWC6199: Generated servlet error:
    string:///ListRedirect_jsp.java:96: incomparable types: java.lang.String and int
    ==================================
    any suggestions??
    <%      
    if (listData.getListURL()= null || listData.getListInfo() == 0)
              String baseUrl = "/content/listings.html?";
             String listUrl = null;
                  if (userData.isAgentType()) {
                    listUrl = parentPage + baseUrl + "ag_id=" + userData.getAgentID();
                  }  if (userData.isBrokerType()) {
                  listUrl = parentPage + baseUrl + "br_id=" + userData.getAdverID();
                  }  if (userData.isOfficeType()) {
                  listUrl = parentPage + baseUrl + "ag_id="= + userData.getAdverID();
                  } else {
                  listUrl = parentPage + "/content/homefinder.html";
                   if (listData.getListURL() && listData.getListInfo() == 1) {
                       listUrl = listData.getListURL();
               else {
                    listUrl = parentPage + "/content/homefinder.html";
    %>     

    mimsc wrote:
    if (listData.getListURL()= null || listData.getListInfo() == 0)
    The 1st part of this if statement is incorrectly an assignment, not a equation.
    Further on, this code belongs in Java classes like servlets, not in JSPs. This would not only introduce clean code separation, but also greatly improve debugging and maintenance.

Maybe you are looking for

  • Publishing iCal group to web WITH colors

    Here is my problem. I can publish my iCal group to the web and view the group calendars just fine, but the colors do not show up in web view like they do in the application. What am I doing wrong, or is there a solution? Thanks!

  • Ever since I downloaded the new version of iTunes, my iPhone won't sync with the computer. It doesn't even show up.

    I downloaded the updated version of iTunes. Ever since then, my iphone won't even come up as a device. Everytime I plug it in, something comes up asking me do I want to trust this computer on my phone.. I've been using this computer for my iphone dow

  • How to add a calendar Entry on top

    Hi, We have an requirement where client wants that if an entry is added in an calendar (All day recurrent event) then that entry should come on top. The OOTB behavior is that if any  "All day recurrent" entry is added or modified for any day, it will

  • Audition CS6 doesn't seem to recognize that I have a 5.1 system while mapping channels. Any ideas?

    Hi there everyone. I'm trying to mix in 5.1 surround sound. I started a project and set it to 5.1, and I can edit everything just fine. The problem is that I can't monitor my results, because Audition doesn't seem to recognize that I have a 5.1 syste

  • File naming-new capture

    Just upgraded to PP6 and have a bit of a problem.  When I do a new video capture from tape, PP will not let me name the file.  The process seems the same, but when I type in my new file name, I get an error message saying "cannot change file, keeping