Creating a new instance of a member class?

I'm writting a serialization library for a college project and I have a problem with deserializing an object which class contains a member class. A rough example:
class Outer{
     class Member{
          double d =0;
     public Member member =new Member();     
}Most basically I tried to get a new instance of the Member class in order to get the double field, change it's value, then use that new instance as a field of an object of the Outer class.
Field f = Outer.class.getDeclaredField("member");
f.setAccessible(true);
f.getClass().newInstance(); Both this and the Constructor method throw an exception:
Exception in thread "main" java.lang.InstantiationException: java.lang.reflect.Fieldpointing at the line with newInstance().
Is there anything I can do to create an object of a member class? And if not then taking into account that I have to deserialize the Outer object from an XML file what could be the alternative?

The error message already gives you a hint that it's not class Outer.Member you're instantiating there (review the API docs)...
import java.lang.reflect.*;
public class Outer{
  public static void main(final String[] args) {
    final Field f = Outer.class.getDeclaredField("member");
    f.setAccessible(true);
    final Constructor ctor =
            f.getType().getDeclaredConstructor(new Class[] { Outer.class });
    final Object outer = new Outer();
    final Object member = ctor.newInstance(new Object[] { outer });
    // set member.d
    f.set(outer, member);
  class Member{
    double d =0;
  public Member member =new Member();     
}

Similar Messages

  • Creating a new instance of a class within a superclass

    I have a class with 2 subclasses and in the top classs I have a method that needs to create a new instance of whihc ever class called it.
    Example:
    class Parent
         void method()
              addToQueue( new whatever type of event is calling this function )
    class Child1 extends Parent
    class Child2 extends Parent
    }What I mean is , if Child1 calls the method then a new Child1 gets added to the queue but if Child 2 calls method a new Child 2 gets added to the queue. Is this possible?
    Thanks.

    try
    void method()
    addToQueue(this.getClass().newInstance());
    }Is this what you want ?Won't that always add an object of type Parent?
    no if we invoke this method on the child object...
    we currently dun know how op going to implement the addToQueue()
    so... just making my guess this method will always add to same queue shared among
    Parent and it's childs......

  • Create a new instance of a class without starting new windows.

    I've a class with basic SWING functions that displays an interface. Within this class is a method which updates the status bar on the interface. I want to be able to reference this method from other classes in order to update the status bar. However, in order to do this, I seem to have to create a new instance of the class which contains the SWING code, and therefore it creates a new window.
    Can somebody give me an example, showing how I might update a component on the interface without a new window being created.
    Many thanks in advance for any help offererd.

    I've a class with basic SWING functions that displays
    an interface. Within this class is a method which
    updates the status bar on the interface. I want to be
    able to reference this method from other classes in
    order to update the status bar. However, in order to
    do this, I seem to have to create a new instance of
    the class which contains the SWING code, and
    therefore it creates a new window.
    Can somebody give me an example, showing how I might
    update a component on the interface without a new
    window being created.
    Many thanks in advance for any help offererd.It sounds like you have a class that extends JFrame or such like and your code must be going
               Blah  test = new Blah();
                test.showStatus("text");Whereas all you need is a reference to that Classs.
    So in your class with basic SWING functions that displays an interface.
    You Might have something like this
              // The Label for displaying Status messages on
              JLabel statusLabel = new JLabel();
              this.add( statusLabel , BorderLayout.SOUTH );What you want to do is provide other Classes a 'method' for changing your Status Label, so in that class you might do something like:
          Allow Setting of Text in A JLabel From various Threads.
         And of course other classes......
         The JLabel statusLabel is a member of this class.
         ie defined in this class.
        @param inText    the new Text to display
       public void setStatusText( String inText )
                    final String x = inText;
                    SwingUtilities.invokeLater( new Runnable()
                              public void run()
                                       statusLabel.setText( x );
      }You still need a reference to your first class in your second class though.
    So you might have something like this:
            private firstClass firstClassReference;        // Store Reference
            public secondClass(  firstClass  oneWindow )
                          // create whatever.........
                         this.firstClassReference = oneWindow;
    // blah blah.
          private someMethod()
                            firstClassReference.setStatusText( "Hello from Second Class");
        }Hope that gives you some ideas

  • Service Manager 9.21: How to create a new instance of scautolistener and assign a port to it.

    Hi,
    2 instances of scautolistener are already running and i want to create a new instance of scautolistener.
    The sm.cfg file entry of scautolistener instances are:
    sm -scautolistener:12670 -debugscauto -log:..\logs\scauto.log
    sm -scautolistener:12690 -log:..\logs\scsmtp.log
    Please guide me as how to create a new instance of scautolistener.

    first, you cannot create instances of methods. but you can create instances of classes (==objects).
    the algorithm for primes does not work yet (its your work) but i inserted the code to create your object.
    import java.math.*;
    public class IsPrime {
    public boolean isPrime1(int arg){
    for(int e = 2; e < arg; e++){
    int remainder=arg%e;
    if(remainder==0){
    System.out.println("This number is not a prime number");
    break;
    else {
    System.out.println("This number is a prime number");
    break;
    return true;
    public static void main(String[] args){
    System.out.println(args.length);
    if (args.length>1){
    System.out.println("Sorry you can only enter one number");
    else{
    String sNum =args[0];
    int iNum=Integer.parseInt(sNum);
    IsPrime myPrimesObject = new IsPrime(); // here is your object
    if (myPrimesObject.IsPrime1(iNum)==true)
    System.out.println("is a prime");else System.out.println("is not a prime");
    }

  • How to create a new instance of a method

    How can I create a new instance of
    public int IsPrime1(int arg) method in my main program and execute it. It has to be a non static method.
    I have this code
    import java.math.*;
    public class IsPrime {
         public int IsPrime1(int arg){
                   for(int e = 2; e < arg; e++){
                        int remainder=arg%e;
                             if(remainder==0){
                                  System.out.println("This number is not a prime number");
                                  break;
                             else {
                                  System.out.println("This number is a prime number");
                                  break;
         public static void main(String[] args){
              System.out.println(args.length);
              if (args.length>1){
                        System.out.println("Sorry you can only enter one number");               
              else{
              String sNum =args[0];
                   int iNum=Integer.parseInt(sNum);
    }

    first, you cannot create instances of methods. but you can create instances of classes (==objects).
    the algorithm for primes does not work yet (its your work) but i inserted the code to create your object.
    import java.math.*;
    public class IsPrime {
    public boolean isPrime1(int arg){
    for(int e = 2; e < arg; e++){
    int remainder=arg%e;
    if(remainder==0){
    System.out.println("This number is not a prime number");
    break;
    else {
    System.out.println("This number is a prime number");
    break;
    return true;
    public static void main(String[] args){
    System.out.println(args.length);
    if (args.length>1){
    System.out.println("Sorry you can only enter one number");
    else{
    String sNum =args[0];
    int iNum=Integer.parseInt(sNum);
    IsPrime myPrimesObject = new IsPrime(); // here is your object
    if (myPrimesObject.IsPrime1(iNum)==true)
    System.out.println("is a prime");else System.out.println("is not a prime");
    }

  • Why create a new instance of Main?

    I see many code samples posted that create a new instance of Main, but none of them seem to use it. But yet the Netbeans IDE won't seem to run without it. What is it for? How can it be utilized? How can it be nullified if it's not needed?

    Yes, that's a fair interpretation of my question. Why
    would Netbeans, or other IDE's, create a new instance
    of Main? Common logic says that there can only be one
    Main. More than one creates confusion.There can only be one main(String[] args) per class, but there's nothing which says that there can't be one main method in each class. I usually uses main methods to show example code, or to have some code which performs some kind of tests.
    Kaj

  • Schedule Webi (and Crystal) report without creating a new instance

    Hi all,
    I'm looking for the way to not create a new instance of the report when we schedule a report? Is it any actions on the InfoObject object? Or is it just impossible to do?
    Thanks in advance !
    Edited by: jerome.vervier on Nov 21, 2011 11:40 AM

    Hi,
    With regards to your query, whenever a report is scheduled an instance of it will be created.
    Therefore, it is not possible to schedule a report without creating an instance.
    Regards,
    Shreyans

  • How can i create a new instance on unix

    Hi,
    How can i create a new instance(instance only) on UNIX and how can i mount my database with this new instance.

    udayjampani wrote:
    Hi,
    How can i create a new instance(instance only) on UNIX and how can i mount my database with this new instance.1) Define Instance in your way!!?
    If you simply create a pfile and startup nomount with it, then -in theory- you have an instance running ( this method is used e.g. for restoring a rman backup )
    2) You can't. Database files are bound to a certain instance. What you can do is recreate an instance with e.g. a different name, using the scripts generated by a 'alter database backup controlfile to trace;' command
    Cheers
    FJFranken

  • Create a new instance in HPUNIX 8.1.7.database without Xwindows

    Can Somebody help me?
    I want to create a new instance in HP-UX 8.1.7 database. There is no Xwindows installed. I think i should do this in SQL plus.
    If so can sombody give my this script.
    thanks

    Can Somebody help me?
    I want to create a new instance in HP-UX 8.1.7 database. There is no Xwindows installed. I think i should do this in SQL plus.
    If so can sombody give my this script.
    thanks I have not tried this but expect you could use dbca (database creation assistant) with a script on the HP host.
    RP.

  • Problems when creating a new instance of an Input parameter for a REM

    I am working in a small demo which calls a Remote Enable Function Module in order to read data from the back end system. Since the function module I need to call ("BP_BUPA_SEARCH_BY_USER") is not Remote Enable I created a copy of it and made it Remote Enable ("Z_BUPA_SEARCH_BY_USER"). I have created the model within webdynpro without any problems but when my application reaches the line where I create a new instance of the object Z_Bupa_Search_By_User_Input (see below the source code), just before to call the remote function, the application stops there. I have exactly the same code in another bapi calls and it works fine. I am wondering if my problem has anything to do with the fact the function module i am calling is the function module I created. Any advice is very welcome.
    Regards,
    Diego.
    Source Code:
    msg.reportSuccess("------>>>");  "THIS LINE IS PRINTED
    Z_Bupa_Search_By_User_Input searchByUser =
    new Z_Bupa_Search_By_User_Input();  "PROGRAM STOPS HERE          
    msg.reportSuccess("<<<------");  "THIS LINE DOES NOT                
    wdContext.nodeZ_Bupa_Search_By_User_Input().bind(searchByUser);
    msg.reportSuccess("<----
    msg.reportSuccess("if (Internet_User != null)");
    if (Internet_User != null) {
    Usselmodbe ir_user = new Usselmodbe();
    ir_user.setSign("I");
    ir_user.setOption("EQ");
    ir_user.setLow(Internet_User);
    searchByUser.addIr_User(ir_user);

    Hi,
    Try to get some more error info, e.g. like this:
    try {
    Z_Bupa_Search_By_User_Input searchByUser =
    new Z_Bupa_Search_By_User_Input(); "PROGRAM STOPS HERE
    } catch (Exception e) {
        msg.raiseException(e.getMessage(), true);
    msg.reportSuccess("<<<------"); "THIS LINE DOES NOT
    good luck,
    Roelof

  • PS2013 - When creating a new instance of Project Server hangs in 'Waiting for resources' status

    Hi,
    I have one instance of Project Server 2013 fully operational and I tried to duplicate the instance to make some tests. As I know the issue of using the same Content Database of Project Server in the same Server Farm, I used the powershell  backup/restore/dismount
    and mount the content database to change the site IDs to avoid index duplication. The Project server database was a regular SQL backup and restore in another database.
    I created a new Web App in the port 90 as show below.
    Then I included the Content database of Project Server as separated DB from SharePoint for this new SharePoint -acme90 and I tried to create the new instance. The creation hanged in "Waiting for Resources" status.
    To make another check excluding the reuse of the SharePoint-80 I tried to create another instance both in the SharePoint-80 where is the working instance and in the SharePoint-90, everything default and again they all hanged in Waiting for Resource.
    If I try to create the instance using PowerShell I got the following error:
    PS C:\Users\epm_setup> Mount-SPProjectWebInstance -DatabaseName Test_EPM -SiteCo
    llection http://acme02/epm -Lcid 1046
    Mount-SPProjectWebInstance : Cannot find an SPSite object with Id or Url:
    http://acme02/epm.
    At line:1 char:1
    + Mount-SPProjectWebInstance -DatabaseName Test_EPM -SiteCollection
    http://acme02/ ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ~~~
        + CategoryInfo          : InvalidData: (Microsoft.Offic...ountPwaInstance:
       PSCmdletMountPwaInstance) [Mount-SPProjectWebInstance], SPCmdletPipeBindEx
      ception
        + FullyQualifiedErrorId : Microsoft.Office.Project.Server.Cmdlet.PSCmdletM
       ountPwaInstance
    All SharePoint and Project Server services are running, all App Pools and sites are started at the IIS. I could not find a hanging timer job.
    I cannot stop the hanged process or dismount the instances using Powershell since no instance created.
    How should I solve the hanging status of creation of the instance? As they are in Hyper-V I can go back using one snapshot.
    Thank you.
    Best regards, Ricardo Segawa - Segawas Projetos / Microsoft Partner

    Hi Eric,
    Thank your for your interest in this case.
    I checked for running and crashed PWA jobs and deleted all of them just after restoring the snapshot and tried to create the new instance in the new web app in port 90 (besides the existing and working instance in port 80), but again it hanged in "waiting
    for resources". There is not any timer job hanging, no error in event viewer or in log. So the error is well before working with cloned dbs.
    Answering your questiion, I am working all on 2013. My intention is backup one instance of the port 80 and copy to the instance of port 90, changing of course the url and the index of the content db of SharePoint. The process I used was:
    Create a new web app in port 90, creating a new SharePoint_Content_2 on a
    http://server:90 site.
    Created the top level site called Portal using the Team Site template.
    Create a new content db for new instance of Project Server named EPM_Content_2 using Central Admin.
    Backup content db from port 80 instance of Project Server and restore to this EPM_content_2 using PowerShell cmd.
    Dismounted and mounted this Project Server content db to create new index for existing sites to avoid index conflicts.
    Backup the Project Server DB from port 80 using SQL backup and restored as ProjectWebApp2 db for port 90 instance.
    Tried to create a new instance of Project Server
    http://server:90/pwa on web app of port 90 using the ProjectWebApp2 db and using the same app pool of the other instance. But as in the previous case, it hang out in "Waiting for resources".
    Best regards, Ricardo Segawa - Segawas Projetos / Microsoft Partner

  • How to create a new object for a particular class?

    Hi,
      Can anybody please tell  the steps for creating a new object for a particular class.
    Thanks,
    Sreeja

    Declare the object as TYPE REF TO the class and use the CREATE OBJECT statement to create an object.
    DATA <obj_name> TYPE REF TO <class_name>.
    CREATE OBJECT <obj_name>.
    Please mark points if the solution was useful.
    Regards,
    Manoj

  • How to create a new instance without XWindows in HP_U 8.1.7

    Can Somebody help me?
    I want to create a new instance in HP-UX 8.1.7 database. There is no Xwindows installed. I think i should do this in SQL plus.
    If so can sombody give my this script.
    thanks

    First get a Telnet session on your platform.
    In the following, foo is the name of the database to be created. Obviously you will replace this in your script names and script contents with the name of the database you are about to create.
    The values of parameters, filenames, distribution of files across filesystems, numbers and sizes of rollback segments and redo logs contained in these scripts should not be considered to be "recommended" in any way. These are just examples to demonstrate syntax. (Although the values given here will create a perfectly viable database.)
    create_db_foo.sql
    create database foo
    maxlogfiles 16
    maxlogmembers 3
    maxdatafiles 30
    maxinstances 1
    maxloghistory 100
    logfile
    group 1 (
    '/local/oracle/redo_logs/foo/log1a.rdo',
    '/local/oracle/redo_logs/foo/log1b.rdo'
    ) size 50M,
    group 2 (
    '/local/oracle/redo_logs/foo/log2a.rdo',
    '/local/oracle/redo_logs/foo/log2b.rdo'
    ) size 50M,
    group 3 (
    '/local/oracle/redo_logs/foo/log3a.rdo',
    '/local/oracle/redo_logs/foo/log3b.rdo'
    ) size 50M
    datafile
    '/local/oracle/data/foo/system.dbf' size 300m;
    create_ts_foo.sql
    create tablespace DATA
    datafile '/local/oracle/data/foo/data1.dbf' size 200m;
    create tablespace TEMP
    datafile '/local/oracle/data/foo/temp1.dbf' size 100m;
    create tablespace INDEXES
    datafile '/local/oracle/data/foo/indexes1.dbf' size 100m;
    create tablespace ROLLBACK_SEGS
    datafile '/local/oracle/data/foo/rbs.dbf' size 50m;
    create_rbs_foo.sql
    create rollback segment rbs_1
    tablespace rollback_segs
    storage (initial 1M next 1M
    minextents 5 maxextents unlimited
    create rollback segment rbs_2
    tablespace rollback_segs
    storage (initial 1M next 1M
    minextents 5 maxextents unlimited
    create rollback segment rbs_3
    tablespace rollback_segs
    storage (initial 1M next 1M
    minextents 5 maxextents unlimited
    create rollback segment rbs_4
    tablespace rollback_segs
    storage (initial 1M next 1M
    minextents 5 maxextents unlimited

  • Whlie creating a new instance, listener doesn't work

    Hi
    I got some problem while install a new instance.
    Maybe listener configured incorrectly
    please help me out.
    I created a new instance(SID:BUS) by myself.
    I didn't use DBCA or anyother tools
    There's legacy instance on my NT server.
    That's why I have to add a new instance.
    Here's list of command I've issued
    1. set initBUS.ora
    2. register as a service
    3. startup with nomount
    4. issue create database command
    5. run those script
    @C:\oracle\ora92\rdbms\admin\catalog.sql
    @C:\oracle\ora92\rdbms\admin\catproc.sql
    @C:\oracle\ora92\sqlplus\admin\pupbld.sql
    6. restart
    The problem is I can't connect to new SID(BUS) even though I add new sid to listener.ora(legacy sid works fine)
    I am sure that my new instance's listener works fine with this command
    c:\>lsnrctl status
    but it has unknown status ( I don't understand what stands for)
    when I try connecto sid(BUS), system back this msg
    SQL> conn sys/oracle as sysdba
    ERROR:
    ORA-12560: TNS:protocol adaptor error
    what is the problem?
    or which file or configure do I have to check?
    Thanks in advance
    here's listener.ora
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 601a4)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\ora92)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = ora9)
    (ORACLE_HOME = C:\oracle\ora92)
    (SID_NAME = ora9)
    (SID_DESC =
    (GLOBAL_DBNAME = OEMREP)
    (ORACLE_HOME = C:\oracle\ora92)
    (SID_NAME = OEMREP)
    (SID_DESC =
    (GLOBAL_DBNAME = BUS)
    (ORACLE_HOME = C:\oracle\ora92)
    (SID_NAME = BUS)
    here's tnsping results
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = ********)(PORT = 1521))) (C
    ONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = BUS)))
    **(20ms)
    here's listener log file
    19-NOV-2007 21:09:02 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=BUS)(CID=(PROGRAM=C:\oracle\ora92\bin\sqlplus.exe)(HOST=704C1)(USER=Administrator))) * (ADDRESS=(PROTOCOL=tcp)(HOST=211.183.9.223)(PORT=2565)) * establish * BUS * 12500
    TNS-12500: TNS:listener failed to start a dedicated server
    TNS-12560: TNS:protocol adapter error TNS-00530: Protocol adapter
    > error 32-bit Windows Error: 2: No such file or directory

    Sorry. It didn't work.
    Here's error MSG
    Microsoft Windows 2000 [Version 5.00.2195]
    (C) Copyright 1985-2000 Microsoft Corp.
    C:\Documents and Settings\Administrator>set ORACLE_SID=BUS
    C:\Documents and Settings\Administrator>sqlplus /nolog
    SQL*Plus: Release 9.2.0.1.0 - Production on 월 Nov 19 21:55:38 2007
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    SQL> conn sys/oracle as sysdba
    ERROR:
    ORA-12560: TNS:protocol adaptor error
    SQL> quit
    C:\Documents and Settings\Administrator>sqlplus /nolog
    SQL*Plus: Release 9.2.0.1.0 - Production on 월 Nov 19 21:56:08 2007
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    SQL> conn sys/oracle@bus as sysdba
    ERROR:
    ORA-12500: TNS:listener failed to start a dedicated server process
    SQL>

  • Running into strange errors when creating a new instance

    Hello:
    I am running 9.2.0.8 on a Windows 2003 Server.
    When I try to create a new instance, I chose a New Database/UTF-8/16KB Block Size. Everything else was default value. However, I get a "ORA-29807: specified operator does not exist" error. When I looked into the Create log file, the file, CreateDBCatalog.log has the following errors:
    No errors.
    No errors.
    drop table AUDIT_ACTIONS
    ERROR at line 1:
    ORA-00942: table or view does not exist
    No errors.
    CREATE ROLE exp_full_database
    ERROR at line 1:
    ORA-01921: role name 'EXP_FULL_DATABASE' conflicts with another user or role name
    CREATE ROLE imp_full_database
    ERROR at line 1:
    ORA-01921: role name 'IMP_FULL_DATABASE' conflicts with another user or role name
    drop table system.logstdby$skip_support
    ERROR at line 1:
    ORA-00942: table or view does not exist
    Warning: View created with compilation errors.
    Warning: View created with compilation errors.
    CREATE ROLE exp_full_database
    ERROR at line 1:
    ORA-01921: role name 'EXP_FULL_DATABASE' conflicts with another user or role name
    CREATE ROLE imp_full_database
    ERROR at line 1:
    ORA-01921: role name 'IMP_FULL_DATABASE' conflicts with another user or role name
    drop synonym DBA_LOCKS
    ERROR at line 1:
    ORA-01434: private synonym to be dropped does not exist
    drop view DBA_LOCKS
    ERROR at line 1:
    ORA-00942: table or view does not exist
    No errors.
    drop package body sys.diana
    ERROR at line 1:
    ORA-04043: object DIANA does not exist
    drop package sys.diana
    ERROR at line 1:
    ORA-04043: object DIANA does not exist
    drop table sys.pstubtbl
    ERROR at line 1:
    ORA-00942: table or view does not exist
    drop package body sys.diutil
    ERROR at line 1:
    ORA-04043: object DIUTIL does not exist
    drop package sys.diutil
    ERROR at line 1:
    ORA-04043: object DIUTIL does not exist
    drop procedure sys.pstubt
    ERROR at line 1:
    ORA-04043: object PSTUBT does not exist
    drop procedure sys.pstub
    ERROR at line 1:
    ORA-04043: object PSTUB does not exist
    drop procedure sys.subptxt2
    ERROR at line 1:
    ORA-04043: object SUBPTXT2 does not exist
    drop procedure sys.subptxt
    ERROR at line 1:
    ORA-04043: object SUBPTXT does not exist
    No errors.
    No errors.
    No errors.
    No errors.
    drop type dbms_xplan_type_table
    ERROR at line 1:
    ORA-04043: object DBMS_XPLAN_TYPE_TABLE does not exist
    drop type dbms_xplan_type
    ERROR at line 1:
    ORA-04043: object DBMS_XPLAN_TYPE does not exist
    No errors.
    DROP TABLE ODCI_SECOBJ$
    ERROR at line 1:
    ORA-00942: table or view does not exist
    DROP TABLE ODCI_WARNINGS$
    ERROR at line 1:
    ORA-00942: table or view does not exist
    No errors.
    No errors.
    No errors.
    No errors.
    drop sequence dbms_lock_id
    ERROR at line 1:
    ORA-02289: sequence does not exist
    drop table dbms_alert_info
    ERROR at line 1:
    ORA-00942: table or view does not exist
    No errors.
    No errors.
    No errors.
    No errors.
    No errors.
    No errors.
    No errors.
    No errors.
    No errors.
    No errors.
    No errors.
    No errors.
    No errors.
    No errors.
    No errors.
    No errors.
    No errors.
    No errors.
    No errors.
    No errors.
    No errors.
    No errors.
    No errors.
    drop table SYSTEM.AQ$_Internet_Agent_Privs
    ERROR at line 1:
    ORA-00942: table or view does not exist
    drop table SYSTEM.AQ$_Internet_Agents
    ERROR at line 1:
    ORA-00942: table or view does not exist
    No errors.
    No errors.
    No errors.
    No errors.
    No errors.
    No errors.
    No errors.
    No errors.
    No errors.
    DROP SYNONYM def$_tran
    ERROR at line 1:
    ORA-01434: private synonym to be dropped does not exist
    DROP SYNONYM def$_call
    ERROR at line 1:
    ORA-01434: private synonym to be dropped does not exist
    DROP SYNONYM def$_defaultdest
    ERROR at line 1:
    ORA-01434: private synonym to be dropped does not exist
    DBMS_DEBUG successfully loaded.
    PBUTL     successfully loaded.
    PBRPH     successfully loaded.
    PBSDE     successfully loaded.
    PBREAK     successfully loaded.
    DROP TYPE SYS.RewriteMessage FORCE
    ERROR at line 1:
    ORA-04043: object REWRITEMESSAGE does not exist
    DROP TYPE SYS.RewriteArrayType FORCE
    ERROR at line 1:
    ORA-04043: object REWRITEARRAYTYPE does not exist
    DROP TYPE SYS.ExplainMVMessage FORCE
    ERROR at line 1:
    ORA-04043: object EXPLAINMVMESSAGE does not exist
    DROP TYPE SYS.ExplainMVArrayType FORCE
    ERROR at line 1:
    ORA-04043: object EXPLAINMVARRAYTYPE does not exist
    No errors.
    drop view sys.transport_set_violations
    ERROR at line 1:
    ORA-00942: table or view does not exist
    drop table sys.transts_error$
    ERROR at line 1:
    ORA-00942: table or view does not exist
    No errors.
    No errors.
    No errors.
    No errors.
    No errors.
    No errors.
    No errors.
    No errors.
    No errors.
    No errors.
    No errors.
    No errors.
    No errors.
    No errors.
    No errors.
    No errors.
    No errors.
    No errors.
    No errors.
    No errors.
    No errors.
    No errors.
    No errors.
    No errors.
    No errors.
    No errors.
    No errors.
    No errors.
    drop operator XMLSequence
    ERROR at line 1:
    ORA-29807: specified operator does not exist
    What does this mean?
    venki
    Edited by: thevenkat on Mar 11, 2009 10:17 PM

    Venki,
    The ORA-00942 is okay because there is no existing object. But what stuck me is the ORA-01921 error which may indicate that this might not be a new database.
    CREATE ROLE exp_full_database
    ERROR at line 1:
    ORA-01921: role name 'EXP_FULL_DATABASE' conflicts with another user or role name
    CREATE ROLE imp_full_database
    ERROR at line 1:
    ORA-01921: role name 'IMP_FULL_DATABASE' conflicts with another user or role name
    Are there any existing databases on this server? Have you tried to create it on other machine?I searched on Metalink too and found Doc ID: 237486.1 ORA-29807 Signalled While Creating Database using DBCA which say that eroror could be ignored. You may want to review that as well.
    Ittichai

Maybe you are looking for

  • Background image for ApplicationControlBar

    Hello, Forgive my english and its accent, this is a bit urgent. I need to set a background image for an applicationContolBar... with css and with css only(an external css file) I tried a few ways but no use... is this possible? Please help... sharat8

  • HT1212 How do I unlock my iPod touch

    My brothers iPod touch is locked with the screen reading "iPod is diabled, try again in 22,824,216 minutes." How do I get this unlocked? Thanks!

  • JSF How to create Editable treetable

    Hi, We need to implement a editable tree table in our page similar to hgrid in OA framework. For eg: 1. Master row contain department details which is readonly 2. Child row contain employee details. a. we should be able to add, update delete employes

  • Where can i get sales data on my published book?

    All I see on ITunes Connect is trends -- not very helpful, especially since it looks like I only have one purchased copy of my book!

  • How do I star photoshop CC . Using windows 8

    where do i go to start using phothoshop CC. I'm using windows CC