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));
Similar Messages
-
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) -
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:
giocatore83Alright 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
-
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 RAMI 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 AMrjamya,
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.
ThanksHi 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 -
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:50I 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_DATAhere 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 -
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? -
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.
thanksHi,
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.... -
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:41ORA-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 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:41I 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. -
Why does the following code error?
MyMenuInt.java
import java.awt.*;
import javax.swing.*;
public class MyMenuInt extends JFrame
private static JTextArea jta=new JTextArea(20,15);
private Integer count=0;
public MyMenuInt()
JPanel jp=new JPanel();
JMenuBar jmb=new JMenuBar();
JMenu Count=new JMenu("Count");
JMenuItem inc=new JMenuItem("Inc");
JMenuItem dec=new JMenuItem("Dec");
JMenuItem reset=new JMenuItem("Reset");
JMenuItem exit=new JMenuItem("Exit");
jp.setLayout(new BorderLayout());
jta.setText(String.valueOf(count+"\n"));
jta.setEditable(false);
JScrollPane jsp=new JScrollPane(jta);
jp.add(jsp,BorderLayout.CENTER);
add(jp);
Count.add(inc);
Count.add(dec);
Count.add(reset);
Count.add(exit);
jmb.add(Count);
MyCountListenerInt incl=new MyCountListenerInt(inc,count);
MyCountListenerInt decl=new MyCountListenerInt(dec,count);
MyCountListenerInt resetl=new MyCountListenerInt(reset,count);
MyCountListenerInt exitl=new MyCountListenerInt(exit,count);
setJMenuBar(jmb);
Count.setMnemonic('C');
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
setTitle("Practice Exercise Day 17");
setSize(333,741);
setVisible(true);
public static void appendTextArea(String txt)
jta.append(txt+"\n");
public static void resetTextArea()
jta.setText(String.valueOf(0+"\n"));
public static void main(String args[])
MyMenuInt mm=new MyMenuInt();
MyCountListenerInt.java
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class MyCountListenerInt implements ActionListener
private static Integer num;
//Make num static so that all the instances of this class share one reference of count
//instead of each instance having its own reference which causes unsync'd output.
//Since this variable is static, when Java does its optimizations and gets to the 2nd, 3rd, etc
//instantiations of this class it sees that this variable is already in memory with a reference
//to count so it uses the existing variable in memory instead of creating another reference.
private JMenuItem jmi1;
public MyCountListenerInt(JMenuItem jmi,Integer count)
num=count;
jmi1=jmi;
jmi1.addActionListener(this);
public void actionPerformed(ActionEvent ae)
if(ae.getActionCommand().equals("Inc"))
MyMenuInt.appendTextArea(String.valueOf(num+1));
num+=1;
if(ae.getActionCommand().equals("Dec"))
MyMenuInt.appendTextArea(String.valueOf(num-1));
num-=1;
if(ae.getActionCommand().equals("Reset"))
num=0;
MyMenuInt.resetTextArea();
if(ae.getActionCommand().equals("Exit"))
System.exit(0);
}the error:
MyMenuInt.java:43: unexpected type
required: variable
found : value
jta.append(txt+"\n");
^
1 errorthis is from:
public static void appendTextArea(String txt)
jta.append(txt+"\n");
}thanks! :)kajbj wrote:
John_Musbach wrote:
Thanks for the replies, the dashes are really in my code to make it beautiful. My friend said it would work.It doesn't, unless you comment them out. E.g this works:
Oh oops, I totally forgot. Thanks for the reminder! :)
Maybe you are looking for
-
Disabling Networked Printer Web Interfaces
Hello, I did a search with my novice search skills and didn't find exactly what related to my issue. I have multiple virtual print servers on Win08 R2 with networked printers from different manufacturers. Is there a way other than going to each prin
-
Hi, I am trying to send an email from my application using apex.oraclecorp.com Below is the process defined. DECLARE l_body CLOB; l_body_html CLOB; v_name varchar2(900); r_name varchar2(900); st_date date; ed_date date; BEGIN FOR C1 IN (select "USERN
-
How to "Create a tablespace for the OEM repository" 8.05
CREATE TABLESPACE REPOSIT_TABLESPACE DATAFILE 'ORACLE_HOME\DATABASE\DATAFILE' SIZE XM; My question is which datafile name I should put in the statement above ? after connect as system/manager. The starter database has four datafiles already, I have a
-
Best way to track a navigation status?
I have build navigation systems in the past that had several layers of submenues. These would for example be structured like the following, where you would have button a 1, 2 and 3(1st level), button 2 has a subbutton that we will call 2.1 and 2.2(2n
-
System Landscape and system alias
Dear All EP Expert, I have some general questions. 1) If i wanted to connect my EP 7.0 to backend ECC 6. Is there any specific name that i must use for my system landscape and system alias? 2) Is the system lanscape come in when i include the busines