Finding an Object named (thisStr)???

Hi,
Im trying to find an object (specifically a jscrollpane) with the name of a string variable.... for example...
String[] array = {"myStr","another","andanother"};
JComboBox fileList = new JComboBox(array);
fileList.addActionListener(this);
JScrollPane myStr = new JScrollPane();
JScrollPane another= new JScrollPane();
JScrollPane andanother= new JScrollPane();
public void actionPerformed(ActionEvent evt) {
if (evt.getSource() == fileList) {
JComboBox cb = (JComboBox)evt.getSource(); 
JScrollPane selItem = (JScrollPane)cb.getSelectedItem();  //won't cast here
// sets other scrollpanes to not visible          
for (int j=0;j<3;j++){
     JTable desItem = (JTable)cb.getItemAt(j);               desItem.setVisible(false);
//makes selected scrollpane visible                    
showTable(selItem);
protected void showTable(JScrollPane selItem){
     selItem.setVisible(true);
}I simply want to select a scrollpane with the combobox and make that one visible, and the other not visible... I currently have the list inside the combobox with the same names as the actual scrollpanes....
How do I get it to work?? Now it gives me some cast error?

I am unsure what you are doing exactly but I can only hope that the line
where you attempt to cast a JTable as something which inside your
combo box is just a silly error and not a true reflection of your GUI.

Similar Messages

  • Question about Best Practices - Redwood Landscape/Object Naming Conventions

    Having reviewed documentation and posts, I find that there is not that much information available in regards to best practices for the Redwood Scheduler in a SAP environment. We are running the free version.
    1) The job scheduling for SAP reference book (SAP Press) recommends multiple Redwood installations and using export/import to move jobs and other redwood objects from say DEV->QAS->PROD. Presentations from the help.sap.com Web Site show the Redwood Scheduler linked to Solution Manager and handling job submissions for DEV-QAS-PROD. Point and Shoot (just be careful where you aim!) functionality is described as an advantage for the product. There is a SAP note (#895253) on making Redwood highly available. I am open to comments inputs and suggestions on this issue based on SAP client experiences.
    2) Related to 1), I have not seen much documentation on Redwood object naming conventions. I am interested in hearing how SAP clients have dealt with Redwood object naming (i.e. applications, job streams, scripts, events, locks). To date, I have seen in a presentation where customer objects are named starting with Z_. I like to include the object type in the name (e.g. EVT - Event, CHN - Job Chain, SCR - Script, LCK - Lock) keeping in mind the character length limitation of 30 characters. I also have an associated issue with Event naming given that we have 4 environments (DEV, QA, Staging, PROD). Assuming that we are not about to have one installation per environment, then we need to include the environment in the event name. The downside here is that we lose transportability for the job stream. We need to modify the job chain to wait for a different event name when running in a different environment. Comments?

    Hi Paul,
    As suggested in book u2018job scheduling for SAP from SAPu2019 press it is better to have multiple instances of Cronacle version (at least 2 u2013 one for development & quality and other separate one for production. This will have no confusion).
    Regarding transporting / replicating of the object definitions - it is really easy to import and export the objects like Events, Job Chain, Script, Locks etc. Also it is very easy and less time consuming to create a fresh in each system. Only complicated job chains creation can be time consuming.
    In normal cases the testing for background jobs mostly happens only in SAP quality instance and then the final scheduling in production. So it is very much possible to just export the verified script / job chain form Cronacle quality instance and import the same in Cronacle production instance (use of Cronacle shell is really recommended for fast processing)
    Regarding OSS note 895253 u2013 yes it is highly recommended to keep your central repository, processing server and licencing information on highly available clustered environment. This is very much required as Redwood Cronacle acts as central job scheduler in your SAP landscape (with OEM version).
    As you have confirmed, you are using OEM and hence you have only one process server.
    Regarding the conventions for names, it is recommended to create a centrally accessible naming convention document and then follow it. For example in my company we are using the naming convention for the jobs as Z_AAU_MM_ZCHGSTA2_AU01_LSV where A is for APAC region, AU is for Australia (country), MM is for Materials management and then ZCHGSTA2_AU01_LSV is the free text as provided by batch job requester.
    For other Redwood Cronacle specific objects also you can derive naming conventions based on SAP instances like if you want all the related scripts / job chains to be stored in one application, its name can be APPL_<logical name of the instance>.
    So in a nutshell, it is highly recommend
    Also the integration of SAP solution manager with redwood is to receive monitoring and alerting data and to pass the Redwood Cronacle information to SAP SOL MAN to create single point of control. You can find information on the purpose of XAL and XMW interfaces in Cronacle help (F1). 
    Hope this answers your queries. Please write if you need some more information / help in this regard.
    Best regards,
    Vithal

  • D3L "produce" error: unable to find attribute object for top node

    Hi
    I'm new to this forum, hope someone can help me with this because it's really been causing a headache for a few days now.
    I'm trying to deliver a flat file message with an interconnect standard ftp adapter. All the transformations go well but then i get this error message:
    oracle.oai.agent.adapter.technology.D3LException: [SmartQueueDispatcher] <struct id="GallupData" name="" comment="" ...>: unable to find attribute object for top node, got `[  stationId: 01
    startDate: 040801
    (messsage truncated)
    emission: 1
    ]' instead
         at oracle.oai.agent.adapter.technology.D3L.produce(D3L.java:391)
         at oracle.oai.agent.adapter.technology.TechBridge.messageReceived(TechBridge.java:876)
         at oracle.oai.agent.client.SmartQueueDispatcher.run(SmartQueueDispatcher.java:451)
         at java.lang.Thread.run(Unknown Source)
    The message is exactly 65570 bytes (in the format written to the log).
    Any help appreciated.
    Leon Simonsen

    I finally solved the problem: The name of the d3l xml file must be named with the name of the data type. Just thought i'd let anyone know.

  • Keeps finding a "Object" not the real type.. I am really lost.. :D

    The calls to other objects work fine, I have testing all of them.. but! when I compile I get a error about finding a "object" type and not a String type at
    for(String blackStone : blackUnits.keySet())
                   if( getSetLib(blackStone) == 0 ) { removeSet.add(blackStone); }
             }   this is the whole class
    import java.util.ArrayList;
    import java.util.HashMap;
    import java.util.HashSet;
    import java.util.Set;
    public class Stat
        private Token[][] board;
        private int bSize;
        private HashMap<String, HashSet> unitsWhite;
        private HashMap<String, HashSet> unitsBlack;
        double last;
        public Stat(Token[][] goBoard, int size)
            board = goBoard;
            bSize = size;
            unitsWhite = new HashMap< String , HashSet>();
            unitsBlack = new HashMap< String , HashSet>();
            last = bSize -1;
         * Delimiter is /
        public HashSet getLib(int x , int y)
            HashSet liberties = new HashSet<String>();
            //error catch
            if(board[x][y] == null){return liberties;}
            int tempX = x;
            int tempY = y;
            //error catch for out of rage if size ect..
            for(int i = 0 , liby = y ,libx = x ; i <= 3; i++)
                if(i == 0){libx = -1; liby = 0;}
                if(i == 1){libx = 0; liby = -1;}
                if(i == 2){libx = 1; liby = 0;}
                if(i == 3){libx = 0; liby = 1;}
                tempX = x+libx;
                tempY = y+liby;
                if(tempX >= 0 || tempY >= 0)
                    if( tempX <= last || tempY <= last )   
                         if( (tempX < 0 || tempY < 0) || ( tempX >= last || tempY >= last ) )
                           tempX = 0;
                           tempY = 0;
                         else
                            if( board[tempX][tempY] == null) { liberties.add(tempX+"/"+tempY); }
            return liberties;  
        public void getTer()
        public void checkForCaptured()
            Token black = null;
            Token white = null;
            HashMap blackUnits;
            HashMap whiteUnits; 
            HashSet removeSet ;
            removeSet = new HashSet<String>();
            //look for a Token on the board and if you find one look for any dead  Tokens
            //looks for a Token
            for(int x=0; x < bSize;x++)
              { for(int y=0 ; y < bSize   ;y++)
               { if(board[x][y] != null)
                   if (black == null)if( board[x][y].getColor().equals("black") ) black =  board[y][x];
                   if (white == null)if( board[x][y].getColor().equals("white") ) white =  board[y][x];
            System.out.println("this is black tokens color" +black.getColor());
            //looks for a dead unit
            if(black != null)
             { blackUnits = black.getUnits();
               System.out.println("black :" +blackUnits.keySet().size() ) ;
               for(String blackStone : blackUnits.keySet())
                   if( getSetLib(blackStone) == 0 ) { removeSet.add(blackStone); }
            if(white != null)
            { whiteUnits = white.getUnits();
                System.out.println(" white: "+whiteUnits.keySet().size() );
              for( String whiteStone : whiteUnits.keySet() )
               { if( getSetLib(whiteStone) == 0 ) { removeSet.add(whiteStone); } }
            board.removeUnitsSet(removeSet);    
         public int getSetLib(HashSet Units)
             return 0;
    }someone point me in the correct direction PLZ! I don't mind RTFM if you give me a FM and page/line to look at.
    THANKS!
    Message was edited by:
    monji112000

    The compiler doesn't know that you're only putting Strings in as keys. HashMap takes references to Object as keys and hence returns references to Object in keySet(). Note, however, that the object itself is still what you put in there. But the compiler only has the declared return type of the method to look at.
    // pre 1.5
    for (Iterator iter = set.iterator(); iter.hasNext();) {
        String key = (String)iter.next(); // cast Object to String. Only works if you actually put a String in
        // do stuff with key
    // 1.5, if you don't use generics
    for (Object obj : set) {
        String key = (String)obj;
        // do stuff with key
    // 1.5, with generics
    Set<String> set = ...;
    for (String key : set) {
        // do stuff with key
    }Since you have a Map, you'll have Map<String, SomeValueType>.
    http://java.sun.com/j2se/1.5.0/docs/guide/language/generics.html
    http://java.sun.com/j2se/1.5/pdf/generics-tutorial.pdf

  • Why am I getting "There is already an object named '#TempTable...' in the database." within my SQL Server IF Statement

    The creation of My #TempTable is based on my input Parameter and I am getting "There is already an object named '#TempTable_Service_X_Claims' in the database." Why???
    USE [Report]
    GO
    DECLARE @ProviderType CHAR(1)
    SET @ProviderType = 'G'
    IF Object_ID('TempDB..#TempTable_Service_X_Claims') IS NOT NULL DROP TABLE [#TempTable_Service_X_Claims]
    IF @ProviderType = 'I'
    BEGIN
    SELECT...
    INTO [#TempTable_Service_X_Claims]
    FROM [dbo].[service_x]
    LEFT JOIN [dbo].[affiliation]
    ON [affiliation].[AFF_NBR] = [service_x].[AFF_NBR]
    AND [affiliation].[PROV_NBR] = [service_x].[Prov_Nbr]
    AND [affiliation].[VOID] = ''
    AND [affiliation].[c_ymdeff] <= [service_x].[C_EFF_DATE]
    AND [affiliation].[c_ymdend] >= [service_x].[C_EFF_DATE]
    WHERE [service_x].[C_EFF_DATE] >= '1/1/2013'
    AND [service_x].[C_EFF_DATE] <= '12/31/2013' --AND [affiliation].[PRAC_NBR] = @PracticeNbr
    AND [affiliation].[PRAC_NBR] = 'F330'
    END
    -- THEREFORE, USE THIS QUERY FOR "G" GROUP SELECTION SINCE IT USES [NPI]
    IF @ProviderType = 'G'
    BEGIN
    SELECT...
    INTO [#TempTable_Service_X_Claims]
    FROM [dbo].[service_x]
    LEFT JOIN [dbo].[affiliation]
    ON [affiliation].[AFF_NBR] = [service_x].[AFF_NBR]
    AND [affiliation].[PROV_NBR] = [service_x].[Prov_Nbr]
    AND [affiliation].[VOID] = ''
    AND [affiliation].[c_ymdeff] <= [service_x].[C_EFF_DATE]
    AND [affiliation].[c_ymdend] >= [service_x].[C_EFF_DATE]
    WHERE [service_x].[C_EFF_DATE] >= '1/1/2013'
    AND [service_x].[C_EFF_DATE] <= '12/31/2013'
    AND [affiliation].[NPI] = '1700947884 '
    END
    Thanks in advance for your review and am hopeful for a reply.
    PSULionRP

    The creation of My #TempTable is based on my input Parameter and I am getting "There is already an object named '#TempTable_Service_X_Claims' in the database." Why???
    USE [Report]
    GO
    DECLARE @ProviderType CHAR(1)
    SET @ProviderType = 'G'
    IF Object_ID('TempDB..#TempTable_Service_X_Claims') IS NOT NULL DROP TABLE [#TempTable_Service_X_Claims]
    IF @ProviderType = 'I'
    BEGIN
    SELECT...
    INTO [#TempTable_Service_X_Claims]
    FROM [dbo].[service_x]
    LEFT JOIN [dbo].[affiliation]
    ON [affiliation].[AFF_NBR] = [service_x].[AFF_NBR]
    AND [affiliation].[PROV_NBR] = [service_x].[Prov_Nbr]
    AND [affiliation].[VOID] = ''
    AND [affiliation].[c_ymdeff] <= [service_x].[C_EFF_DATE]
    AND [affiliation].[c_ymdend] >= [service_x].[C_EFF_DATE]
    WHERE [service_x].[C_EFF_DATE] >= '1/1/2013'
    AND [service_x].[C_EFF_DATE] <= '12/31/2013' --AND [affiliation].[PRAC_NBR] = @PracticeNbr
    AND [affiliation].[PRAC_NBR] = 'F330'
    END
    -- THEREFORE, USE THIS QUERY FOR "G" GROUP SELECTION SINCE IT USES [NPI]
    IF @ProviderType = 'G'
    BEGIN
    SELECT...
    INTO [#TempTable_Service_X_Claims]
    FROM [dbo].[service_x]
    LEFT JOIN [dbo].[affiliation]
    ON [affiliation].[AFF_NBR] = [service_x].[AFF_NBR]
    AND [affiliation].[PROV_NBR] = [service_x].[Prov_Nbr]
    AND [affiliation].[VOID] = ''
    AND [affiliation].[c_ymdeff] <= [service_x].[C_EFF_DATE]
    AND [affiliation].[c_ymdend] >= [service_x].[C_EFF_DATE]
    WHERE [service_x].[C_EFF_DATE] >= '1/1/2013'
    AND [service_x].[C_EFF_DATE] <= '12/31/2013'
    AND [affiliation].[NPI] = '1700947884 '
    END
    Thanks in advance for your review and am hopeful for a reply.
    PSULionRP
    Is it possible that this procedure is being executed more than once concurrently (even against different databases)) within the instance?
    Microsoft SQL Server Storage Engine PM

  • Unable to find the Workbook named......

    Helle All,
    I am getting the following error when I call a Discoverer report from a URL link.
    "Unable to find the Workbook named:ASSIGNEDPROJECTTEAMRPT
    Select a valid Workbook from the list below."
    When I get this error the worksheet called "ASSIGNEDPROJECTTEAMRPT" is in the list below. I am wondering why it says the worksheet doesn't exist then gives it to me a list?
    Any ideas?
    Thanks for any help,
    Bradley

    Whoops that would be "Hello All"
    Bradley

  • Unable to find the Workbook named:REN_SUM1

    Unable to find the Workbook named:REN_SUM1 Portal error
    I am getting this error when i click the link in portal screen. The link should display a discoverer report. I am displaying the discoverer reports from portal.
    Unable to find the Workbook named:REN_SUMMARY21
    Select a valid Workbook from the list below.
    However it provides a list of workbooks and from there i am able to select.

    Whoops that would be "Hello All"
    Bradley

  • EJB 3.0: java.io.IOException: Unable to find session object ...

    Hello,
    We have an EJB3 application deployed to an Oracle AS 10.1.3.1.0 instance.
    Our main point of entry to the application is a stateful session bean (that controls access), that has injected several other stateful session beans.
    Like this:
    +@Stateful(name = "TstreamUserSession")+
    +public class TstreamUserSessionBean extends UserSessionBean implements TstreamUserSession {+
    +@EJB(name = "ContactSession")+
    private ContactSessionLocal contactSession;
    +@EJB(name = "GuestSession")+
    private GuestSessionLocal guestSession;
    +@EJB(name = "TechCustomerSession")+
    private TechCustomerSessionLocal techCustomerSession;
    +@EJB(name = "PmSession")+
    private PmSessionLocal pmSession;
    +@EJB(name = "CustomerSession")+
    private CustomerSessionLocal customerSession;
    +@EJB(name = "PartnerSession")+
    private PartnerSessionLocal partnerSession;
    +@EJB(name = "AdminSession")+
    private AdminSessionLocal adminSession;
    +@EJB(name = "SuperAdminSession")+
    private SuperAdminSessionLocal superAdminSession;
    +@EJB(name = "VmSession")+
    private VmSessionLocal vmSession;
    +public TstreamUserSessionBean() {+
    +}+
    +...+
    In this class, we also look up these sessions, because we need several instances of these, in this manner:
    +private synchronized Object getSessionInstance(String sessionName) throws AccessDeniedException {+
              +try {+
                   InitialContext ic = new InitialContext();
                   return ic.lookup("java:comp/env/" sessionName);+
              +} catch (NamingException e) {+
              +}+
         +}+
    However, we keep getting the following messages after a certain period.
    java.io.IOException: Unable to find session object 2816103596632839360 for location 'AdminSession'
    +10/01/12 11:50:04 at com.evermind.server.ejb.EJBInternalInputStream.resolveObject(EJBInternalInputStream.java:70)+
    +10/01/12 11:50:04 at java.io.ObjectInputStream.checkResolve(ObjectInputStream.java:1346)+
    +10/01/12 11:50:04 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)+
    +10/01/12 11:50:04 at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1912)+
    +10/01/12 11:50:04 at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1836)+
    +10/01/12 11:50:04 at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1713)+
    +10/01/12 11:50:04 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)+
    +10/01/12 11:50:04 at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)+
    +10/01/12 11:50:04 at com.evermind.server.ejb.StatefulSessionEJBObject.activateBean(StatefulSessionEJBObject.java:581)+
    +10/01/12 11:50:04 at com.evermind.server.ejb.StatefulSessionEJBObject.remove_X(StatefulSessionEJBObject.java:213)+
    +10/01/12 11:50:04 at com.evermind.server.ejb.StatefulSessionEJBObject.remove_X(StatefulSessionEJBObject.java:159)+
    +10/01/12 11:50:04 at com.evermind.server.ejb.StatefulSessionEJBHome.processTimedOutSessions(StatefulSessionEJBHome.java:371)+
    +10/01/12 11:50:04 at com.evermind.server.ejb.StatefulSessionEJBHome.cleanUpMaintenance(StatefulSessionEJBHome.java:306)+
    +10/01/12 11:50:04 at com.evermind.server.ejb.EJBTask.run(EJBTask.java:47)+
    +10/01/12 11:50:04 at com.evermind.util.Task.schedule(Task.java:51)+
    +10/01/12 11:50:04 at com.evermind.util.TaskManager.run(TaskManager.java:221)+
    +10/01/12 11:50:04 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)+
    +10/01/12 11:50:04 at java.lang.Thread.run(Thread.java:595)+
    I guess this occurs when the stateful session TstreamUserSession is reactivated?
    Or when the ones being injected are passivated?
    Any idea why this occurs, or how to suppress it, because it really spams our logs...
    Thanks.

    Hello,
    We have an EJB3 application deployed to an Oracle AS 10.1.3.1.0 instance.
    Our main point of entry to the application is a stateful session bean (that controls access), that has injected several other stateful session beans.
    Like this:
    +@Stateful(name = "TstreamUserSession")+
    +public class TstreamUserSessionBean extends UserSessionBean implements TstreamUserSession {+
    +@EJB(name = "ContactSession")+
    private ContactSessionLocal contactSession;
    +@EJB(name = "GuestSession")+
    private GuestSessionLocal guestSession;
    +@EJB(name = "TechCustomerSession")+
    private TechCustomerSessionLocal techCustomerSession;
    +@EJB(name = "PmSession")+
    private PmSessionLocal pmSession;
    +@EJB(name = "CustomerSession")+
    private CustomerSessionLocal customerSession;
    +@EJB(name = "PartnerSession")+
    private PartnerSessionLocal partnerSession;
    +@EJB(name = "AdminSession")+
    private AdminSessionLocal adminSession;
    +@EJB(name = "SuperAdminSession")+
    private SuperAdminSessionLocal superAdminSession;
    +@EJB(name = "VmSession")+
    private VmSessionLocal vmSession;
    +public TstreamUserSessionBean() {+
    +}+
    +...+
    In this class, we also look up these sessions, because we need several instances of these, in this manner:
    +private synchronized Object getSessionInstance(String sessionName) throws AccessDeniedException {+
              +try {+
                   InitialContext ic = new InitialContext();
                   return ic.lookup("java:comp/env/" sessionName);+
              +} catch (NamingException e) {+
              +}+
         +}+
    However, we keep getting the following messages after a certain period.
    java.io.IOException: Unable to find session object 2816103596632839360 for location 'AdminSession'
    +10/01/12 11:50:04 at com.evermind.server.ejb.EJBInternalInputStream.resolveObject(EJBInternalInputStream.java:70)+
    +10/01/12 11:50:04 at java.io.ObjectInputStream.checkResolve(ObjectInputStream.java:1346)+
    +10/01/12 11:50:04 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)+
    +10/01/12 11:50:04 at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1912)+
    +10/01/12 11:50:04 at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1836)+
    +10/01/12 11:50:04 at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1713)+
    +10/01/12 11:50:04 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)+
    +10/01/12 11:50:04 at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)+
    +10/01/12 11:50:04 at com.evermind.server.ejb.StatefulSessionEJBObject.activateBean(StatefulSessionEJBObject.java:581)+
    +10/01/12 11:50:04 at com.evermind.server.ejb.StatefulSessionEJBObject.remove_X(StatefulSessionEJBObject.java:213)+
    +10/01/12 11:50:04 at com.evermind.server.ejb.StatefulSessionEJBObject.remove_X(StatefulSessionEJBObject.java:159)+
    +10/01/12 11:50:04 at com.evermind.server.ejb.StatefulSessionEJBHome.processTimedOutSessions(StatefulSessionEJBHome.java:371)+
    +10/01/12 11:50:04 at com.evermind.server.ejb.StatefulSessionEJBHome.cleanUpMaintenance(StatefulSessionEJBHome.java:306)+
    +10/01/12 11:50:04 at com.evermind.server.ejb.EJBTask.run(EJBTask.java:47)+
    +10/01/12 11:50:04 at com.evermind.util.Task.schedule(Task.java:51)+
    +10/01/12 11:50:04 at com.evermind.util.TaskManager.run(TaskManager.java:221)+
    +10/01/12 11:50:04 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)+
    +10/01/12 11:50:04 at java.lang.Thread.run(Thread.java:595)+
    I guess this occurs when the stateful session TstreamUserSession is reactivated?
    Or when the ones being injected are passivated?
    Any idea why this occurs, or how to suppress it, because it really spams our logs...
    Thanks.

  • Find Database Object gives error message in 3.2.20.09.87

    Since updating to SQL Developer 3.2.20.09.87 I've been getting error messages when running Find Database Object. The message on the logging page is: ORA-00942: table or view does not exist
    Followed by:
    select null name, -1 LINE, -1 COL, null USAGE,
    case when obj.object_type like 'JAVA%' then 'JAVA' else obj.object_type end TYPE,
    OWNER, case when obj.object_type like 'JAVA%' then 'JAVA' else obj.object_type end OBJECT_TYPE,
    obj.OBJECT_NAME
    from sys.dba_objects obj where rownum <= 500 and obj.object_type != 'TABLE PARTITION' and obj.object_type != 'TABLE SUBPARTITION' and obj.object_type != 'JAVA CLASS' and object_name like ?
    union all
    select null name, -1 LINE, -1 COL, null USAGE,
    'MATERIALIZED VIEW LOG' TYPE, log_owner OWNER,
    'MATERIALIZED VIEW LOG' OBJECT_TYPE, master OBJECT_NAME
    from all_snapshot_logs where master like ?
    union
    select null name, -1 LINE, -1 COL, null USAGE,
    'DATABASE LINK' TYPE, owner OWNER,
    'DATABASE LINK' OBJECT_TYPE, db_link OBJECT_NAME
    from all_db_links where rownum <= 500 and db_link like ?
    union all
    select c.column_name name, -1 LINE, -1 COL, null USAGE, o.object_type TYPE, c.OWNER, o.object_type OBJECT_TYPE, c.table_NAME OBJECT_NAME
    from sys.all_tab_columns c, all_objects o
    where c.table_name=o.object_name and c.owner = o.owner and rownum <= 500 and c.column_name like ?
    union all
    select name, LINE, COL, USAGE, TYPE, OWNER, OBJECT_TYPE, OBJECT_NAME
    from sys.all_identifiers where rownum <= 500 and name like ?
    My database version is: 10.2.0.4.0
    I'm grateful that SQL Developer peacefully coexists with earlier versions.
    Anything I can do?
    Thanks.

    Hi,
    I cannot seem to find a bug or forum reference for this issue at the moment, but I recall there was some problem on 10g connections where SQL Developer thinks you have DBA view privileges even when you don't. So, on 11g, a user with very basic privileges can do a Find DB Object without seeing the error you got on 10.2.0.4. On 10.2.0.x you should be able to workaround the problem if you can arrange to get grant select_catalog_role for that userid.
    Regards,
    Gary

  • Sap Script - Where to find "bipmap" objects.

    Hi All,
    In a window of the Sap Script I find this code:
    BITMAP EC_LG_0020 OBJECT GRAPHICS ID BMAP TYPE BMON
    INCLUDE EC_ST1_0020 OBJECT TEXT ID ST LANGUAGE IT PARAGRAPH H1
    My question: where can I find the objects saved on the Sap System, like EC_LG_0020?
    If I launch the tcode SO10 I can find only the object EC_ST1_0020.
    Any help will be well appreciated.
    Thanks in advance.
    Regards,
        Giovanni

    Hi
    All Images in SAP can be Found using SE78  Tcode , based on the whether it is Color or Blackn white image u can search in this Tcode.
    And all Standard texts can be found using SO10 tcode..
    for further information chk this link
    https://wiki.sdn.sap.com/wiki/display/ABAP/SAPscript
    surya

  • Unable to delete User object in FIM Portal - Cannot find the object "#calculateRequestSetTransitionsAssembleStatementsPartition"

    Hi,
    ***Problem
    I encounter a problem with FIM (version 4.1.3441.0 and 4.1.3496.0) when I try to delete a User object (and only a User object) whatever if it is
    manually/Expiration Workflow/Powershell.
    Deleting a User object used to be perfectly functional and, without any product version modification, stopped working. I haven't neither deleted/modified or add a
    "Grant" MPR or any of the corresponding Sets since last time I saw it working.
    Displayed error is "Request could not be dispatched" in FIM Portal and is referencing a stored procedure in Event Viewer.
    ***Error details
    When I try to delete a User object, here is the output :
    Portal
    "Processing error" on submit
    with the following details 
    Request status is stuck at "Validating" until next restart of FIM Service (after what it becomes “Canceled”)
    Request’s “Applied Policy” tab does not contain any MPR where, at least, a “Grant” MPR is expected
    As SQL Timeout is relatively high and error happens quickly, I don’t think there is a Timeout problem under that.
    Logs
    « Application »
    The Portal cannot connect to the middle tier using the web service interface.  This failure prevents all portal scenarios from functioning correctly.
    The cause may be due to a missing or invalid server url, a downed server, or an invalid server firewall configuration.
    Ensure the portal configuration is present and points to the resource management service.
     « Forefront Identity Manager »
    Reraised Error 50000, Level 16, State 1, Procedure ReRaiseException, Line 37, Message: Reraised Error 1088, Level 16, State 12, Procedure CalculateRequestSetTransitionsAssembleStatements,
    Line 332, Message: Cannot find the object "#calculateRequestSetTransitionsAssembleStatementsPartition" because it does not exist or you do not have permissions.
    Transaction count after EXECUTE indicates a mismatching number of BEGIN and COMMIT statements. Previous count = 1, current count = 0.
    Microsoft.ResourceManagement.WebServices.Exceptions.UnwillingToPerformException: Other ---> System.Data.SqlClient.SqlException: Reraised Error 50000, Level 16, State
    1, Procedure ReRaiseException, Line 37, Message: Reraised Error 1088, Level 16, State 12, Procedure CalculateRequestSetTransitionsAssembleStatements, Line 332, Message: Cannot find the object "#calculateRequestSetTransitionsAssembleStatementsPartition"
    because it does not exist or you do not have permissions.
    Transaction count after EXECUTE indicates a mismatching number of BEGIN and COMMIT statements. Previous count = 1, current count = 0.
       at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
       at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler,
    TdsParserStateObject stateObj)
       at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
       at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
       at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult
    result)
       at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
       at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
       at Microsoft.ResourceManagement.Data.DataAccess.UpdateRequest(RequestType request, IEnumerable`1 updates)
       --- End of inner exception stack trace ---
    Requestor: urn:uuid:7fb2b853-24f0-4498-9534-4e10589723c4
    Correlation Identifier: e7209633-46d0-4f4b-a59e-807649ef71ea
    Microsoft.ResourceManagement.WebServices.Exceptions.UnwillingToPerformException: Other ---> System.InvalidCastException: Specified cast is not valid.
       at Microsoft.ResourceManagement.WebServices.RequestDispatcher.CreateRequest(UniqueIdentifier requestor, UniqueIdentifier targetIdentifier, OperationType
    operation, String businessJustification, List`1 requestParameters, CultureInfo locale, Boolean isChildRequest, Guid cause, Boolean doEvaluation, Nullable`1 serviceId, Nullable`1 servicePartitionId, UniqueId messageIdentifier, UniqueIdentifier requestContextIdentifier,
    Boolean maintenanceMode)
       at Microsoft.ResourceManagement.WebServices.RequestDispatcher.CreateRequest(UniqueIdentifier requestor, UniqueIdentifier targetIdentifier, OperationType
    operation, String businessJustification, List`1 requestParameters, CultureInfo locale, Boolean isChildRequest, Guid cause, Boolean doEvaluation, Nullable`1 serviceId, Nullable`1 servicePartitionId, UniqueId messageIdentifier)
       at Microsoft.ResourceManagement.WebServices.ResourceManagementService.Delete(Message request)
       --- End of inner exception stack trace ---
    For information, a maintenance plan rebuild/reorganize indexes daily and this problem has occurred on servers with different performances.
    Is any of you has already encounter this problem ?
    Any help would be greatly appreciated,
    Thanks in advance for your help,
    Matthew

    While there are several SQL Agent jobs (FIM Temporal Events, Maintain Sets, and Maintain Groups among others)created by the FIM install only one of those is enabled and scheduled and it calls all of the same stored procedures that the other
    jobs do. Step 2 is Maintain sets and Step 3 is maintain groups. So the Maintain sets and groups jobs never need to get enabled and scheduled, but if you want them to be maintained more frequently then you can.
    David Lundell, Get your copy of FIM Best Practices Volume 1 http://blog.ilmbestpractices.com/2010/08/book-is-here-fim-best-practices-volume.html

  • [CS3 JS] Find/Change Object Problem

    app.changeObjectPreferences = NothingEnum.nothing does not seem to clear the change object preferences for me.
    app.findObjectPreferences = NothingEnum.nothing works as expected, as do both app.findTextPreferences = NothingEnum.nothing and app.changeTextPreferences = NothingEnum.nothing.
    Does anyone else use the new Find/Change Object?

    Hello. I'm new here but it seems to be the only place where I can post this question to.
    I'm working in a C# application that uses InDesign CS3 scripting. I'm trying to create an index automatically from a tabbed list of words in a text file.
    As C# is a strongly typed language, I have to cast all objects to the right type. I'm having problems when I try to add the page numbers to the created index entries using the following code (I've used the CreateIndexEntry.jsx scrip as a starting point).
    //Find all occurrences of the word or set of words (the topic name)
    ((InDesign.FindTextPreference) app.FindTextPreferences).FindWhat = topic.Name;
    InDesign.Objects foundTexts = doc.FindText(System.Reflection.Missing.Value);
    It's supposed to be an Array of Text objects (InDesign.Text) but when I try to cast each object using this
    //Code is forced because I've tried everything here
    //Loop through each finding and add page numbers to topic
    IEnumerator textEnum = foundTexts.GetEnumerator();
    while (textEnum.MoveNext())
    object text = textEnum.Current;
    topic.PageReferences.Add((InDesign.Text)text, InDesign.idPageReferenceType.idCurrentPage, System.Reflection.Missing.Value, System.Reflection.Missing.Value);
    I got the following exception (translated).
    text is not an InDesign.Text object (Interfaces doesn't match)
    So the question is what object type should I use to cast each object resulting by calling the Document's FindText method.
    Every suggestion will ve very welcome.
    Thank You very much.

  • How to find an object from its ID in Integration Repository

    When trying to import a package, I get an error
    "Internal error when importing object 553afdf1-c83d-11d9-871d-0007e9102256....
    I have tried to find the object using the Object->Find... menu item, but selecting Object ID in the attributes field and entering this string does not return any hits.
    Am I doing this right, or is there another way to find the object?
    Kind Regards,
    Tony.

    I am using PI7.0, If i get your question very well: I think there is no option to get an object with Id, all options are:
    Name,Changed on, Changed by,... etc.
    Pls check again.
    BR,
    Alok

  • Is there any best practice or standard for database object naming ?

    Hi
    Thank you for reading my post
    is there any standard or best practice for databse objects naming ?
    for example how should we name columns of a table ? should it be like TOTAL_VOTE or TOTALVOTE and many other items.
    Thanks

    what does oracle suggest as a naming schema for tables , fields , views. indexes , tablespaces , ... If you look at the data dictionary you will see that not even Oracle keeps rigidly to any specific standard, although there are tendencies :)
    "The nice thing about standards is that there are so many of them to choose from."      
    -- Andrew Tannenbaum
    Cheers, APC

  • Is there any ways to find the object that triggered the keyevent

    i am having difficulty in this part of keyevent iam almost struck here i want to know is there an possibility to find the object that triggreed the keyevent

    hi!
    getSource() method returns the suorce object

Maybe you are looking for

  • How to send Parameters FORM to PHP WEB Page with method POST (secure)?

    Hello everyone, i hope someone can help me to find a solution to this problem! i have to send "+precious+" parameters from an oracle form to php page, like username and password, with a secure method... i tried with WEB.SHOW_DOCUMENT procedure but it

  • How to check multiple special characters in this query.

    When the master_title has no comma in it, I am getting an empty master_title. This is because INSTR(master_title,',',1,1) is returning 0. In addition, I want to be able to specify other characters besides the comma. Example: ":" "/" "-". Can we fit t

  • Browse purchased movies, TV programmes on iPhone 5

    iPad (3) with iOS 6 compared to iPhone 5 in iTunes Store. I can't see purchased movies, TV programmes etc on the iPhone. Is this just my iPhone or yours too?

  • PLANNED ORDER & PRODUCTION ORDER DATES.

    Dear All, How to come Dates in Planned order and then Production order. in Discrete Mfg. through MRP Run. I want details How to calculates production dates MANOJ

  • Another login problem - or is my query at fault?

    I’m pretty new to CF (and coding in general) but am ‘enjoying’ the learning experience….slowly coming to grips with it but I will stress the ‘slowly’! OK I have Ben Forta’s CFMX7 WACK and am trying to implement a basic user authentication/login page.