Comparison of references between generics. Missing error/warning?

If you compare two object references belonging to classes not assignable to each-other either way like this:
public class SameClassStringBuffer {
    public boolean same (Class c, StringBuffer sb) {
           return c == sb;
}The sun compiler returns and error saying:
incomparable types: java.lang.Class and java.lang.StringBuffer
           return c == sb;^
... what makes sense.
Now, if you compare two references with generic types potentially not asignable to each other there is no error. The following compiles with no complains:
public class Same<X,Y> {
    public boolean same (X a, Y b) {
           return a == b;
}It it obvious that at runtime that is not an issue cause both are Object type references at that point, yet it is still, in my opinion, an unsafe and bug prone code. Why is there no error or at least a warning message? A case not contemplated by the language steering group? Or am I missing something?
Thanks.

But generics is a (probably the) mejor source of warning in java today. The solution is typically a cast and or adding the annotation @SuppressWarning to silence it.
In this particular case, if there was at least a warning, you would need to cast the references explicitly to something common (Object should always work) and then compare.
x == (Object)yThe point of the warning is to tell the programmer that what he is doing may cause problems; "you can go ahead but double check if it is really what you want".
As side note, a warning would have spare me a couple of hours trying to find out what was going on in a piece of code of mine (not as trivial as the example). I'd rather had the "annoying" warning. In any case I think there is little to wonder about the cause of such warning or error as it would just be consistent to the behaviour with specific types. If people still wonders what it means looking at that comparison between (potentially) different typed references I guess they should learn a bit more Java or OO before anything (No offence for anybody intended).

Similar Messages

  • Diff between Error,Warning and Abort message

    Hi Friends
    Can any body tell the Diff between Error,Warning and Abort message
    Thanks

    Error - Its the abnormal behaviour which was not expected. Its means the process has been hualted at this point. Unless and untill you resolve this, you can not procedd further.
    Warnings: Its just the effect of a process it may have on other processes. You can continue doing irrespective of the warnings.
    Abort : to terminate a computer processing or data transfer activity.
    Thanks..
    Shambhu

  • Adding generics causes error in code

    Hi,
    I have written a method to see if a supplied array of enums contains the specified enum.
    The first version of the code had warnings:-
    public static boolean enumInList(Enum type, Enum[] typesList) {
              if (type == null) {
                   return (true);
              for (Enum enum1 : typesList) {
                   if ((type.compareTo(enum1) == 0)) {
                        return (true);
              return (false);
         }...the warnings were 'Enum is a raw type. References to generic type Enum<E> should be parameterized'
    When I removed these the code looks as follows:-
    public static boolean enumInList(Enum<?> type, Enum<?>[] typesList) {
              if (type == null) {
                   return (true);
              for (Enum<?> enum1 : typesList) {
                   if ((type.compareTo(enum1) == 0)) {
                        return (true);
              return (false);
         }The warnings disappeared but the 'compareTo' now as a serios error which says:-
    The method compareTo(capture#2-of ?) in the type Enum<capture#2-of ?> is not applicable for the arguments (Enum<capture#3-of ?>)
    So by removing the warnings I have made the code worse but removing the warnings is the correct thing to so.
    Therefore is there a way i can write to code to have both no warnings or errors but without having to resort to using annotation to suppress the warnings.
    Thanks,
    Dave.

    the warning message is telling you that the enum compareTo method is expecting an enum of the same type, whereas your method definition specifies two enums of potentially different types. you should need to introduce a generic type indicating that the two enum types are equivalent:
    public static <E extends Enum<E>> boolean enumInList(Enum<E> type, Enum<E>[] typesList)this will indicate that you expect 2 enum params with the same type.
    that said, i have no idea why you are using compareTo to test for equality. either use "type.equals(enum1)", or better yet, "type == enum1" (which has the benefit of being null-safe).

  • Reference to generic type Set E should be parmeterized

    I have the following code in a class:
    1:Event theEvent = (Event) session.load(Event.class, eventId);
                2:Set<Event> eventSet;
                3:eventSet = user.getFavouriteEvents();
                4:eventSet.add(theEvent);At line 3, I get the following warning message:
    Type safety: The expresson of raw type Set is converted to Set<Event>. References to generic type Set<E> should be parameterized.
    What does this mean? What do I need to do to get past this warning.
    Thanks
    Sharma

    Found the problem. I forgot to parameterize the Set in the getFavouriteEvents() method.
    Thanks
    Sharma

  • Error/warning in dict. Activator while activating the infocube

    Hi All,
        When we are trying to add one of the characteristic info object into Infocube, the system throws following message. deleted the index ,then also same issue.
    Activation of Objects with Type InfoCube
    Checking Objects with Type InfoCube
    Checking InfoCube ZARCFI03
    Check of InfoCube ZARCFI03:
    InfoCube ZARCFI03 is consistent
    Saving Objects with Type InfoCube
    Saving InfoCube ZARCFI03
    Dimension ZARCFI03P saved
    Dimension ZARCFI03T saved
    Dimension ZARCFI03U saved
    Dimension ZARCFI031 saved
    Dimension ZARCFI032 saved
    Dimension ZARCFI033 saved
    Dimension ZARCFI034 saved
    Dimension ZARCFI035 saved
    Dimension ZARCFI036 saved
    Dimension ZARCFI037 saved
    InfoCube ZARCFI03 saved
    InfoCube ZARCFI03 saved successfully
    Internal Activation (InfoCube )
    Preprocessing / Creation of DDIC Objects for InfoCube ZARCFI03
    Creation of DDIC Objects:
    Dimension Table /BIC/DZARCFI03P saved
    Table /BIC/DZARCFI03P: Index 010 for field SID_0REQUID saved
    Table /BIC/DZARCFI03P: Index 020 for field SID_0RECORDTP saved
    Table /BIC/DZARCFI03P: Index 030 for field SID_0REQUID saved
    Dimension Table /BIC/DZARCFI03T saved
    Table /BIC/DZARCFI03T: Index 010 for field SID_0FISCVARNT saved
    Table /BIC/DZARCFI03T: Index 020 for field SID_0FISCVARNT saved
    Dimension Table /BIC/DZARCFI03U saved
    Table /BIC/DZARCFI03U: Index 010 for field SID_0LOC_CURRCY saved
    Table /BIC/DZARCFI03U: Index 020 for field SID_0DOC_CURRCY saved
    Table /BIC/DZARCFI03U: Index 030 for field SID_0LOC_CURRCY saved
    Dimension Table /BIC/DZARCFI031 saved
    Table /BIC/DZARCFI031: Index 010 for field SID_0COMP_CODE saved
    Dimension Table /BIC/DZARCFI032 saved
    Table /BIC/DZARCFI032: Index 010 for field SID_0CRED_ACCNT saved
    Table /BIC/DZARCFI032: Index 020 for field SID_0DEBITOR saved
    Table /BIC/DZARCFI032: Index 030 for field SID_0FI_SUBSID saved
    Table /BIC/DZARCFI032: Index 040 for field SID_ZCBKTXT saved
    Table /BIC/DZARCFI032: Index 050 for field SID_0CRED_ACCNT saved
    Dimension Table /BIC/DZARCFI033 saved
    Table /BIC/DZARCFI033: Index 010 for field SID_0DUNN_KEY saved
    Table /BIC/DZARCFI033: Index 020 for field SID_0LAST_DUNN saved
    Table /BIC/DZARCFI033: Index 030 for field SID_0DUNN_BLOCK saved
    Table /BIC/DZARCFI033: Index 040 for field SID_0DUNN_LEVEL saved
    Table /BIC/DZARCFI033: Index 050 for field SID_0DUNN_KEY saved
    Dimension Table /BIC/DZARCFI034 saved
    Table /BIC/DZARCFI034: Index 010 for field SID_0COUNTRY saved
    Table /BIC/DZARCFI034: Index 020 for field SID_0REASON_CDE saved
    Table /BIC/DZARCFI034: Index 030 for field SID_0PYMT_METH saved
    Table /BIC/DZARCFI034: Index 040 for field SID_0PMNT_BLOCK saved
    Table /BIC/DZARCFI034: Index 050 for field SID_0PMNTTRMS saved
    Table /BIC/DZARCFI034: Index 060 for field SID_0COUNTRY saved
    Dimension Table /BIC/DZARCFI035 saved
    Table /BIC/DZARCFI035: Index 010 for field SID_0BLINE_DATE saved
    Table /BIC/DZARCFI035: Index 020 for field SID_0DSCT_DATE1 saved
    Table /BIC/DZARCFI035: Index 030 for field SID_0DSCT_DATE2 saved
    Table /BIC/DZARCFI035: Index 040 for field SID_0BLINE_DATE saved
    Dimension Table /BIC/DZARCFI036 saved
    Table /BIC/DZARCFI036: Index 010 for field SID_0ACCT_TYPE saved
    Table /BIC/DZARCFI036: Index 020 for field SID_0CHRT_ACCTS saved
    Table /BIC/DZARCFI036: Index 030 for field SID_0ACCT_TYPE saved
    Dimension Table /BIC/DZARCFI037 saved
    Table /BIC/DZARCFI037: Index 010 for field SID_0AC_DOC_NO saved
    Table /BIC/DZARCFI037: Index 020 for field SID_0DOC_DATE saved
    Table /BIC/DZARCFI037: Index 030 for field SID_0POST_KEY saved
    Table /BIC/DZARCFI037: Index 040 for field SID_0SP_GL_IND saved
    Table /BIC/DZARCFI037: Index 050 for field SID_0FI_DOCSTAT saved
    Table /BIC/DZARCFI037: Index 060 for field SID_0PSTNG_DATE saved
    Table /BIC/DZARCFI037: Index 070 for field SID_0REF_DOC_NO saved
    Table /BIC/DZARCFI037: Index 080 for field SID_0ALLOC_NMBR saved
    Table /BIC/DZARCFI037: Index 090 for field SID_0AC_DOC_NO saved
    Fact Table /BIC/FZARCFI03 saved
    Table /BIC/FZARCFI03: Index 010 for field KEY_ZARCFI03P saved
    Table /BIC/FZARCFI03: Index 020 for field KEY_ZARCFI03T saved
    Table /BIC/FZARCFI03: Index 030 for field KEY_ZARCFI03U saved
    Table /BIC/FZARCFI03: Index 040 for field KEY_ZARCFI031 saved
    Table /BIC/FZARCFI03: Index 050 for field KEY_ZARCFI032 saved
    Table /BIC/FZARCFI03: Index 060 for field KEY_ZARCFI033 saved
    Table /BIC/FZARCFI03: Index 070 for field KEY_ZARCFI034 saved
    Table /BIC/FZARCFI03: Index 080 for field KEY_ZARCFI035 saved
    Table /BIC/FZARCFI03: Index 090 for field KEY_ZARCFI036 saved
    Table /BIC/FZARCFI03: Index 100 for field KEY_ZARCFI037 saved
    Compr.Fact Table /BIC/EZARCFI03 saved
    Table /BIC/EZARCFI03: Index 010 for field KEY_ZARCFI03P saved
    Table /BIC/EZARCFI03: Index 020 for field KEY_ZARCFI03T saved
    Table /BIC/EZARCFI03: Index 030 for field KEY_ZARCFI03U saved
    Table /BIC/EZARCFI03: Index 040 for field KEY_ZARCFI031 saved
    Table /BIC/EZARCFI03: Index 050 for field KEY_ZARCFI032 saved
    Table /BIC/EZARCFI03: Index 060 for field KEY_ZARCFI033 saved
    Table /BIC/EZARCFI03: Index 070 for field KEY_ZARCFI034 saved
    Table /BIC/EZARCFI03: Index 080 for field KEY_ZARCFI035 saved
    Table /BIC/EZARCFI03: Index 090 for field KEY_ZARCFI036 saved
    Table /BIC/EZARCFI03: Index 100 for field KEY_ZARCFI037 saved
    View /BIC/VZARCFI03T saved
    View /BIC/VZARCFI03I saved
    View /BIC/VZARCFI03N saved
    View /BIC/VZARCFI03J saved
    View /BIC/VZARCFI03M saved
    View /BIC/VZARCFI03H saved
    View /BIC/VZARCFI032 saved
    Activate all Dictionary objects ( 19 ):
    Error/warning in dict. activator, detailed log  --> Detail
    Activate table /BIC/DZARCFI031
    Enhancement category for table missing
    Enhancement category for include or subtype missing
    Table /BIC/DZARCFI031 was activated with warnings
    Activate table /BIC/DZARCFI032
    Enhancement category for table missing
    Enhancement category for include or subtype missing
    Index /BIC/DZARCFI032-010 must be converted
    Index /BIC/DZARCFI032-050 must be created in the database
    /BIC/DZARCFI032: Structure change at field level (DB is adjusted)
    Adjust table in DB >>>
    sql:
    DROP INDEX "/BIC/DZARCFI032~01"
    DDL time(___1): ........18 milliseconds
    sql:
    ALTER TABLE "/BIC/DZARCFI032"
    ADD ("SID_0CRED_ACCNT" NUMBER (000010)
    DEFAULT 0 NOT NULL )
    DDL time(___1): .......232 milliseconds
    <<< Database operations successful
    Table : Adjust secondary indexes in the database
    sql:
    CREATE
    INDEX "/BIC/DZARCFI032~05" ON "/BIC/DZARCFI032"
    ("SID_0CRED_ACCNT")
    PCTFREE 10
    INITRANS 002
    TABLESPACE PSAPDIMI
    STORAGE (INITIAL 0000000016 K
    NEXT 0000000016 K
    MINEXTENTS 0000000001
    MAXEXTENTS UNLIMITED
    PCTINCREASE 0000
    FREELISTS 001)
    DDL time(___1): ........42 milliseconds
    sql:
    DELETE FROM DDSTORAGE WHERE
    DBSYSABBR = 'ORA' AND
    TABNAME = '/BIC/DZARCFI032' AND
    INDEXNAME = '050'
    DDL time(___2): .........1 milliseconds
    sql:
    CREATE
    INDEX "/BIC/DZARCFI032~01" ON "/BIC/DZARCFI032"
    ("SID_0C_CTR_AREA",
    "SID_0DEBITOR",
    "SID_0FI_SUBSID",
    "SID_ZCBKTXT",
    "SID_0CRED_ACCNT")
    PCTFREE 10
    INITRANS 002
    TABLESPACE PSAPDIMI
    STORAGE (INITIAL 0000000016 K
    NEXT 0000000016 K
    MINEXTENTS 0000000001
    MAXEXTENTS UNLIMITED
    PCTINCREASE 0000
    FREELISTS 001)
    DDL time(___3): ........27 milliseconds
    sql:
    DELETE FROM DDSTORAGE WHERE
    DBSYSABBR = 'ORA' AND
    TABNAME = '/BIC/DZARCFI032' AND
    INDEXNAME = '010'
    DDL time(___4): .........1 milliseconds
    <<< Database operations successful
    Table /BIC/DZARCFI032 was activated with warnings
    Activate table /BIC/DZARCFI033
    Enhancement category for table missing
    Enhancement category for include or subtype missing
    Table /BIC/DZARCFI033 was activated with warnings
    Activate table /BIC/DZARCFI034
    Enhancement category for table missing
    Enhancement category for include or subtype missing
    Table /BIC/DZARCFI034 was activated with warnings
    Activate table /BIC/DZARCFI035
    Enhancement category for table missing
    Enhancement category for include or subtype missing
    Table /BIC/DZARCFI035 was activated with warnings
    Activate table /BIC/DZARCFI036
    Enhancement category for table missing
    Enhancement category for include or subtype missing
    Table /BIC/DZARCFI036 was activated with warnings
    Activate table /BIC/DZARCFI037
    Enhancement category for table missing
    Enhancement category for include or subtype missing
    Table /BIC/DZARCFI037 was activated with warnings
    Activate table /BIC/DZARCFI03P
    Enhancement category for table missing
    Enhancement category for include or subtype missing
    Table /BIC/DZARCFI03P was activated with warnings
    Activate table /BIC/DZARCFI03T
    Enhancement category for table missing
    Enhancement category for include or subtype missing
    Table /BIC/DZARCFI03T was activated with warnings
    Activate table /BIC/DZARCFI03U
    Enhancement category for table missing
    Enhancement category for include or subtype missing
    Table /BIC/DZARCFI03U was activated with warnings
    Activate table /BIC/VZARCFI032
    Enhancement category for table missing
    Enhancement category for include or subtype missing
    Field S001_0DEBITOR in table /BIC/VZARCFI032 is specified twice. Please check
    Field S002_0DEBITOR in table /BIC/VZARCFI032 is specified twice. Please check
    Table /BIC/VZARCFI032 was not activated
    Activate table /BIC/VZARCFI03H
    Enhancement category for table missing
    Enhancement category for include or subtype missing
    Field H001_0DEBITOR in table /BIC/VZARCFI03H is specified twice. Please check
    Field S001_0DEBITOR in table /BIC/VZARCFI03H is specified twice. Please check
    Field S002_0DEBITOR in table /BIC/VZARCFI03H is specified twice. Please check
    Table /BIC/VZARCFI03H was not activated
    Activate table /BIC/VZARCFI03I
    Enhancement category for table missing
    Enhancement category for include or subtype missing
    Table /BIC/VZARCFI03I was activated with warnings
    Activate table /BIC/VZARCFI03J
    Enhancement category for table missing
    Enhancement category for include or subtype missing
    Table /BIC/VZARCFI03J was activated with warnings
    Activate table /BIC/VZARCFI03M
    Enhancement category for table missing
    Enhancement category for include or subtype missing
    Field 0DEBITOR__0COUNTRY in table /BIC/VZARCFI03M is specified twice. Please check
    Field 0DEBITOR__0INDUSTRY in table /BIC/VZARCFI03M is specified twice. Please check
    Table /BIC/VZARCFI03M was not activated
    Activate table /BIC/VZARCFI03N
    Enhancement category for table missing
    Enhancement category for include or subtype missing
    Field 0DEBITOR__0COUNTRY in table /BIC/VZARCFI03N is specified twice. Please check
    Field 0DEBITOR__0INDUSTRY in table /BIC/VZARCFI03N is specified twice. Please check
    Table /BIC/VZARCFI03N was not activated
    Activate table /BIC/VZARCFI03T
    Enhancement category for table missing
    Enhancement category for include or subtype missing
    Field 0DEBITOR__0COUNTRY in table /BIC/VZARCFI03T is specified twice. Please check
    Field 0DEBITOR__0INDUSTRY in table /BIC/VZARCFI03T is specified twice. Please check
    Table /BIC/VZARCFI03T was not activated
    Activate table /BIC/EZARCFI03
    Enhancement category for table missing
    Enhancement category for include or subtype missing
    Index /BIC/EZARCFI03-P completely contains the fields of index 010
    Index /BIC/EZARCFI03-010 must be created in the database
    Index /BIC/EZARCFI03-020 must be created in the database
    Index /BIC/EZARCFI03-030 must be created in the database
    Index /BIC/EZARCFI03-040 must be created in the database
    Index /BIC/EZARCFI03-050 must be created in the database
    Index /BIC/EZARCFI03-060 must be created in the database
    Index /BIC/EZARCFI03-070 must be created in the database
    Index /BIC/EZARCFI03-080 must be created in the database
    Index /BIC/EZARCFI03-090 must be created in the database
    Index /BIC/EZARCFI03-100 must be created in the database
    No data exists (structure change caused by DROP / CREATE)
    Table /BIC/EZARCFI03 is modified (Deleted or deleted/created new)
    Adjust table in DB >>>
    sql:
    DROP TABLE "/BIC/EZARCFI03"
    DDL time(___1): .......157 milliseconds
    sql:
    CREATE TABLE "/BIC/EZARCFI03"
    ("KEY_ZARCFI03P" NUMBER (000010)
    DEFAULT 0 NOT NULL,
    "KEY_ZARCFI03T" NUMBER (000010)
    DEFAULT 0 NOT NULL,
    "KEY_ZARCFI03U" NUMBER (000010)
    DEFAULT 0 NOT NULL,
    "KEY_ZARCFI031" NUMBER (000010)
    DEFAULT 0 NOT NULL,
    "KEY_ZARCFI032" NUMBER (000010)
    DEFAULT 0 NOT NULL,
    "KEY_ZARCFI033" NUMBER (000010)
    DEFAULT 0 NOT NULL,
    "KEY_ZARCFI034" NUMBER (000010)
    DEFAULT 0 NOT NULL,
    "KEY_ZARCFI035" NUMBER (000010)
    DEFAULT 0 NOT NULL,
    "KEY_ZARCFI036" NUMBER (000010)
    DEFAULT 0 NOT NULL,
    "KEY_ZARCFI037" NUMBER (000010)
    DEFAULT 0 NOT NULL,
    "DEB_CRE_LC" NUMBER (000017, 000002)
    DEFAULT 0 NOT NULL,
    "DISC_BASE" NUMBER (000017, 000002)
    DEFAULT 0 NOT NULL,
    "DSC_AMT_LC" NUMBER (000017, 000002)
    DEFAULT 0 NOT NULL,
    "DEB_CRE_DC" NUMBER (000017, 000002)
    DEFAULT 0 NOT NULL,
    "DSC_AMT_DC" NUMBER (000017, 000002)
    DEFAULT 0 NOT NULL,
    "CREDIT_DC" NUMBER (000017, 000002)
    DEFAULT 0 NOT NULL,
    "CREDIT_LC" NUMBER (000017, 000002)
    DEFAULT 0 NOT NULL,
    "DEBIT_DC" NUMBER (000017, 000002)
    DEFAULT 0 NOT NULL,
    "DEBIT_LC" NUMBER (000017, 000002)
    DEFAULT 0 NOT NULL,
    "NETTAKEN" NUMBER (000017, 000003)
    DEFAULT 0 NOT NULL,
    "INT_CALC_1" NUMBER (000017, 000002)
    DEFAULT 0 NOT NULL,
    "INT_CALC_2" NUMBER (000017, 000002)
    DEFAULT 0 NOT NULL,
    "INT_CALC_N" NUMBER (000017, 000002)
    DEFAULT 0 NOT NULL,
    "INT_CALCT1" NUMBER (000017, 000002)
    DEFAULT 0 NOT NULL,
    "INT_CALCT2" NUMBER (000017, 000002)
    DEFAULT 0 NOT NULL,
    "INT_CALCTN" NUMBER (000017, 000002)
    DEFAULT 0 NOT NULL,
    "/BIC/ZVDBCRGR" NUMBER (000017, 000002)
    DEFAULT 0 NOT NULL,
    "/BIC/ZVCREDGR" NUMBER (000017, 000002)
    DEFAULT 0 NOT NULL,
    "/BIC/ZVDSC1GR" NUMBER (000017, 000002)
    DEFAULT 0 NOT NULL,
    "/BIC/ZVDEBTGR" NUMBER (000017, 000002)
    DEFAULT 0 NOT NULL)
    PCTFREE 10
    PCTUSED 00
    INITRANS 001
    TABLESPACE PSAPFACTD
    STORAGE (INITIAL 0000000016 K
    NEXT 0000000016 K
    MINEXTENTS 0000000001
    MAXEXTENTS UNLIMITED
    PCTINCREASE 0000
    FREELISTS 001
    FREELIST GROUPS 01)
    DDL time(___1): ........70 milliseconds
    sql:
    DELETE FROM DDSTORAGE WHERE
    DBSYSABBR = 'ORA' AND
    TABNAME = '/BIC/EZARCFI03' AND
    INDEXNAME = ' '
    DDL time(___2): .........1 milliseconds
    <<< Database operations successful
    Table : Adjust secondary indexes in the database
    sql:
    CREATE BITMAP
    INDEX "/BIC/EZARCFI03~010" ON "/BIC/EZARCFI03"
    ("KEY_ZARCFI03P")
    PCTFREE 10
    INITRANS 002
    TABLESPACE PSAPFACTI
    STORAGE (INITIAL 0000000016 K
    NEXT 0000002560 K
    MINEXTENTS 0000000001
    MAXEXTENTS UNLIMITED
    PCTINCREASE 0000
    FREELISTS 004)
    DDL time(___1): ........38 milliseconds
    sql:
    DELETE FROM DDSTORAGE WHERE
    DBSYSABBR = 'ORA' AND
    TABNAME = '/BIC/EZARCFI03' AND
    INDEXNAME = '010'
    DDL time(___2): .........1 milliseconds
    sql:
    CREATE BITMAP
    INDEX "/BIC/EZARCFI03~020" ON "/BIC/EZARCFI03"
    ("KEY_ZARCFI03T")
    PCTFREE 10
    INITRANS 002
    TABLESPACE PSAPFACTI
    STORAGE (INITIAL 0000000016 K
    NEXT 0000002560 K
    MINEXTENTS 0000000001
    MAXEXTENTS UNLIMITED
    PCTINCREASE 0000
    FREELISTS 004)
    DDL time(___3): .........9 milliseconds
    sql:
    DELETE FROM DDSTORAGE WHERE
    DBSYSABBR = 'ORA' AND
    TABNAME = '/BIC/EZARCFI03' AND
    INDEXNAME = '020'
    DDL time(___4): .........1 milliseconds
    sql:
    CREATE BITMAP
    INDEX "/BIC/EZARCFI03~030" ON "/BIC/EZARCFI03"
    ("KEY_ZARCFI03U")
    PCTFREE 10
    INITRANS 002
    TABLESPACE PSAPFACTI
    STORAGE (INITIAL 0000000016 K
    NEXT 0000002560 K
    MINEXTENTS 0000000001
    MAXEXTENTS UNLIMITED
    PCTINCREASE 0000
    FREELISTS 004)
    DDL time(___5): ........17 milliseconds
    sql:
    DELETE FROM DDSTORAGE WHERE
    DBSYSABBR = 'ORA' AND
    TABNAME = '/BIC/EZARCFI03' AND
    INDEXNAME = '030'
    DDL time(___6): .........1 milliseconds
    sql:
    CREATE BITMAP
    INDEX "/BIC/EZARCFI03~040" ON "/BIC/EZARCFI03"
    ("KEY_ZARCFI031")
    PCTFREE 10
    INITRANS 002
    TABLESPACE PSAPFACTI
    STORAGE (INITIAL 0000000016 K
    NEXT 0000002560 K
    MINEXTENTS 0000000001
    MAXEXTENTS UNLIMITED
    PCTINCREASE 0000
    FREELISTS 004)
    DDL time(___7): .........9 milliseconds
    sql:
    DELETE FROM DDSTORAGE WHERE
    DBSYSABBR = 'ORA' AND
    TABNAME = '/BIC/EZARCFI03' AND
    INDEXNAME = '040'
    DDL time(___8): .........1 milliseconds
    sql:
    CREATE BITMAP
    INDEX "/BIC/EZARCFI03~050" ON "/BIC/EZARCFI03"
    ("KEY_ZARCFI032")
    PCTFREE 10
    INITRANS 002
    TABLESPACE PSAPFACTI
    STORAGE (INITIAL 0000000016 K
    NEXT 0000002560 K
    MINEXTENTS 0000000001
    MAXEXTENTS UNLIMITED
    PCTINCREASE 0000
    FREELISTS 004)
    DDL time(___9): .........9 milliseconds
    sql:
    DELETE FROM DDSTORAGE WHERE
    DBSYSABBR = 'ORA' AND
    TABNAME = '/BIC/EZARCFI03' AND
    INDEXNAME = '050'
    DDL time(__10): .........1 milliseconds
    sql:
    CREATE BITMAP
    INDEX "/BIC/EZARCFI03~060" ON "/BIC/EZARCFI03"
    ("KEY_ZARCFI033")
    PCTFREE 10
    INITRANS 002
    TABLESPACE PSAPFACTI
    STORAGE (INITIAL 0000000016 K
    NEXT 0000002560 K
    MINEXTENTS 0000000001
    MAXEXTENTS UNLIMITED
    PCTINCREASE 0000
    FREELISTS 004)
    DDL time(__11): .........8 milliseconds
    sql:
    DELETE FROM DDSTORAGE WHERE
    DBSYSABBR = 'ORA' AND
    TABNAME = '/BIC/EZARCFI03' AND
    INDEXNAME = '060'
    DDL time(__12): .........1 milliseconds
    sql:
    CREATE BITMAP
    INDEX "/BIC/EZARCFI03~070" ON "/BIC/EZARCFI03"
    ("KEY_ZARCFI034")
    PCTFREE 10
    INITRANS 002
    TABLESPACE PSAPFACTI
    STORAGE (INITIAL 0000000016 K
    NEXT 0000002560 K
    MINEXTENTS 0000000001
    MAXEXTENTS UNLIMITED
    PCTINCREASE 0000
    FREELISTS 004)
    DDL time(__13): ........11 milliseconds
    sql:
    DELETE FROM DDSTORAGE WHERE
    DBSYSABBR = 'ORA' AND
    TABNAME = '/BIC/EZARCFI03' AND
    INDEXNAME = '070'
    DDL time(__14): .........1 milliseconds
    sql:
    CREATE BITMAP
    INDEX "/BIC/EZARCFI03~080" ON "/BIC/EZARCFI03"
    ("KEY_ZARCFI035")
    PCTFREE 10
    INITRANS 002
    TABLESPACE PSAPFACTI
    STORAGE (INITIAL 0000000016 K
    NEXT 0000002560 K
    MINEXTENTS 0000000001
    MAXEXTENTS UNLIMITED
    PCTINCREASE 0000
    FREELISTS 004)
    DDL time(__15): .........8 milliseconds
    sql:
    DELETE FROM DDSTORAGE WHERE
    DBSYSABBR = 'ORA' AND
    TABNAME = '/BIC/EZARCFI03' AND
    INDEXNAME = '080'
    DDL time(__16): .........1 milliseconds
    sql:
    CREATE BITMAP
    INDEX "/BIC/EZARCFI03~090" ON "/BIC/EZARCFI03"
    ("KEY_ZARCFI036")
    PCTFREE 10
    INITRANS 002
    TABLESPACE PSAPFACTI
    STORAGE (INITIAL 0000000016 K
    NEXT 0000002560 K
    MINEXTENTS 0000000001
    MAXEXTENTS UNLIMITED
    PCTINCREASE 0000
    FREELISTS 004)
    DDL time(__17): .........8 milliseconds
    sql:
    DELETE FROM DDSTORAGE WHERE
    DBSYSABBR = 'ORA' AND
    TABNAME = '/BIC/EZARCFI03' AND
    INDEXNAME = '090'
    DDL time(__18): .........1 milliseconds
    sql:
    CREATE BITMAP
    INDEX "/BIC/EZARCFI03~100" ON "/BIC/EZARCFI03"
    ("KEY_ZARCFI037")
    PCTFREE 10
    INITRANS 002
    TABLESPACE PSAPFACTI
    STORAGE (INITIAL 0000000016 K
    NEXT 0000002560 K
    MINEXTENTS 0000000001
    MAXEXTENTS UNLIMITED
    PCTINCREASE 0000
    FREELISTS 004)
    DDL time(__19): .........8 milliseconds
    sql:
    DELETE FROM DDSTORAGE WHERE
    DBSYSABBR = 'ORA' AND
    TABNAME = '/BIC/EZARCFI03' AND
    INDEXNAME = '100'
    DDL time(__20): .........1 milliseconds
    sql:
    CREATE
    INDEX "/BIC/EZARCFI03~P" ON "/BIC/EZARCFI03"
    ("KEY_ZARCFI03P",
    "KEY_ZARCFI03T",
    "KEY_ZARCFI03U",
    "KEY_ZARCFI031",
    "KEY_ZARCFI032",
    "KEY_ZARCFI033",
    "KEY_ZARCFI034",
    "KEY_ZARCFI035",
    "KEY_ZARCFI036",
    "KEY_ZARCFI037")
    PCTFREE 10
    INITRANS 002
    TABLESPACE PSAPFACTI
    STORAGE (INITIAL 0000000016 K
    NEXT 0000000016 K
    MINEXTENTS 0000000001
    MAXEXTENTS UNLIMITED
    PCTINCREASE 0000
    FREELISTS 004)
    DDL time(__21): .........9 milliseconds
    sql:
    DELETE FROM DDSTORAGE WHERE
    DBSYSABBR = 'ORA' AND
    TABNAME = '/BIC/EZARCFI03' AND
    INDEXNAME = 'P'
    DDL time(__22): .........1 milliseconds
    <<< Database operations successful
    Table /BIC/EZARCFI03 was activated with warnings
    Activate table /BIC/FZARCFI03
    Enhancement category for table missing
    Enhancement category for include or subtype missing
    Index /BIC/FZARCFI03-010 must be created in the database
    Index /BIC/FZARCFI03-020 must be created in the database
    Index /BIC/FZARCFI03-030 must be created in the database
    Index /BIC/FZARCFI03-040 must be created in the database
    Index /BIC/FZARCFI03-050 must be created in the database
    Index /BIC/FZARCFI03-060 must be created in the database
    Index /BIC/FZARCFI03-070 must be created in the database
    Index /BIC/FZARCFI03-080 must be created in the database
    Index /BIC/FZARCFI03-090 must be created in the database
    Index /BIC/FZARCFI03-100 must be created in the database
    /BIC/FZARCFI03: Structure change at field level (Index is created new)
    Adjust table in DB >>>
    <<< Database operations successful
    Table : Adjust secondary indexes in the database
    sql:
    CREATE BITMAP
    INDEX "/BIC/FZARCFI03~010" ON "/BIC/FZARCFI03"
    ("KEY_ZARCFI03P")
    LOCAL
    PCTFREE 10
    INITRANS 002
    TABLESPACE PSAPFACTI
    STORAGE (INITIAL 0000000016 K
    NEXT 0000002560 K
    MINEXTENTS 0000000001
    MAXEXTENTS UNLIMITED
    PCTINCREASE 0000
    FREELISTS 004)
    DDL time(___1): .....2,718 milliseconds
    sql:
    DELETE FROM DDSTORAGE WHERE
    DBSYSABBR = 'ORA' AND
    TABNAME = '/BIC/FZARCFI03' AND
    INDEXNAME = '010'
    DDL time(___2): ........11 milliseconds
    sql:
    CREATE BITMAP
    INDEX "/BIC/FZARCFI03~020" ON "/BIC/FZARCFI03"
    ("KEY_ZARCFI03T")
    LOCAL
    PCTFREE 10
    INITRANS 002
    TABLESPACE PSAPFACTI
    STORAGE (INITIAL 0000000016 K
    NEXT 0000002560 K
    MINEXTENTS 0000000001
    MAXEXTENTS UNLIMITED
    PCTINCREASE 0000
    FREELISTS 004)
    DDL time(___3): .......848 milliseconds
    sql:
    DELETE FROM DDSTORAGE WHERE
    DBSYSABBR = 'ORA' AND
    TABNAME = '/BIC/FZARCFI03' AND
    INDEXNAME = '020'
    DDL time(___4): .........9 milliseconds
    sql:
    CREATE BITMAP
    INDEX "/BIC/FZARCFI03~030" ON "/BIC/FZARCFI03"
    ("KEY_ZARCFI03U")
    LOCAL
    PCTFREE 10
    INITRANS 002
    TABLESPACE PSAPFACTI

    closed thread as no response

  • Company code 1000's witholding tax reference number is missing

    Hello All,
    We are running the report RFIDYYWT / t.code S_P00_07000134 for the first time to file tax returns in the US.
    And we see the following errors;
    27    Company code 1000's witholding tax reference number is missing
    28    EDI identifier for company code 1000 is missing
    I did check the Additional Data for our US company code on OBY6 but there are no fields as such for Withholding Tax Reference and EDI Identifier.
    Also checked the Output Group US1 config under Withholding Tax. Not sure about Parameter Types "Tax Ref. 1" and "EDI Ref." fields.
    I see different threads with similar issues but could not find a solution for this specific problem. Could someone help us fix this problem so we can file this year's returns on time ? This is turning out to be a critical issue for our Finance team ...
    Thanks

    Found it - for US company Code, I went into the additional data of OBY6 and scrolled to the "Next Page". The namTax number USA (TIN) can be discovered, in the hidden pages of SAP

  • Missing file - warning msg ?

    When I open my ibooks author file I get a missing file warning.
    The warning window show the missing file name but no other information.
    How can I find the page where this file is missing and fix the issue?
    thanks in advance
    Rohit

    I found a way to figure this out by accident ... The missing picture file shows up as a "broken giff" similer to web pages.  You just have to go thru the entire file and find the broken giff.  It would be better if the error msg shows a page number.
    Rohit

  • Error : Pre Settings for IDoc inbound processing are missing error

    Hi Experts,
    There is a CRM job which executes LSMW and I am facing a strange problem during the IDOC posting the error "Pre Settings for IDoc inbound processing are missing error". Can anyone please tell me how to correct this error?
    Thanks in advance.
    Madhurima.

    I'd start with the following document, with one modification. At step 12 after typing GEARAspiWDM press the Enter/Return key once prior to clicking OK. (Pressing Return adds a carriage return in the field and is important.)
    [iTunes for Windows: "Registry settings" warning when opening iTunes|http://support.apple.com/kb/TS3299]

  • Error: Warning Unresponsive script, dom.max_script_run_time : not found

    The fix for error: Warning Unresponsive script says goto config page
    about:config page, search for the preference dom.max_script_run_time
    - this parameter not found on the config page
    Please advise
    == This happened ==
    A few times a week
    == always

    I have pretty much the same problem -- I run three different types of Browsers (Firefox 3.6; Internet Explorer 6; Chrome) and I've found that they are all affected by this ... thing.
    I suspect that there is some kind of war going on, or a very aggressive move by Yahoo onto the Browsers and Search Engine scene. With Yahoo trying to be an 800 lb (Pound weight) Gorilla - again, Yawn!
    I this because I've recently installed an AntiVirus application (which is a really good one -- but, unfortunately for the AntiVirus maker they did not look closely enough at who they were getting into bed with -- The 800 Pound Gorilla, Yahoo.
    This AntiVirus's installer had a default setting to make Yahoo Search my default search engine -- it was a tiny notice about this and I happened to look otherwise Yahoo would have installed openly onto my computer (and I don't want them. I've been using computers since before the Internet was publicly and generally available and I know only too well Yahoo's Huge Ego and Navel gazing behaviour.
    Basically, Mozilla are on Yahoo's side, because -- in the minds of the anarchists of Mozilla -- Google had no right to make a Browser.
    This is Mozilla getting its own back on Google and Google Chrome. Mozilla are culpable in this assault on our own property -- our own computers. By two organizations who are bitter at Google. Actually, they are jealous of Google because Google succeeded on the quality and purity of Google products and their terrific business sense and strategy.
    Now, Mozilla and Yahoo have got in cahoots (and chumps like the supplier of my AntiVirus have been sucked into this) to "Do something about Google" as Mozilla proclaimed they would do (should they get the chance) some few years ago.
    Now, I have in my computer: Yahoo software and a Mozilla Browser which are both acting truly as Malware. Now that AntiVirus company which loaded Yahoo software onto my computer can understand why I wrote to them pointing all this out (and they, a multi-million or billion pound organization missed what tiny little me could see) that they have helped Malware get onto my system -- now their up-to-that-moment very well thought of AntiVirus and organization ... Well, their name is now mud (but I shall not say their name here. Let them suffer their stupidity and shame, that should be enough for them. They are going to have a time of it cleaning this little ol' mess up.)

  • Hardware Address error/warning

    anyone ever see this during a setup?
    WARNING: Hardware address cc:cc:cc:dd:dd:dd trying to be our address 192.168.10.10
    I'm setting up a T2000 and going through newtwork setup, but on boot up I get that error/warning.
    any thoughts?

    That's a network configuration issue.
    A generic IP address conflict.
    As it states, there's another computer on your subnet that's already using that IP.
    A Google search with "hardware address trying to be " keywords gets you 4,180,000+ results on this issue.
    Pick a different IP for your new system,
    or find that other system and have it use a different IP.

  • Muse "Missing fonts" warning?

    Hi, does anyone know if there is a "Missing Fonts" warning in Muse or some way to check if all the correct fonts are loaded when opening a file?
    Like the InDesign and Illustrator warning (see pic).
    Thanks!

    It could be in overset text (though preflight should see that) or in a style not currently in use. Are you sure the priflight profile is looking for missing fonts, bucasue is really does sound like there is substitution ocurring. Also, have you looked in Type > Find Font.
    If none of that is fruitful, I'd try exporting each of the documents to .inx or .idml, then opening those and saving as new .indd docs. Add the new docs to a new book and see if you still get errors.

  • Generic import error - Lion - CS5.5 - Will not import

    Hi. I just upgraded to cs5.5 with Lion and now a number of my previous cs4 projects will not load various flavors of video. One major problem I discovered was that after installing Lion, both of my Quicktime folders in the user and system library were missing (the system library is hidden in Lion by default, so I revealed it). These folders hold various quictime components, which I recreated from a backup. Now Quictime will play all of the video, but PPro responds with a generic import error. I have included a number of screen shots below showing the video file and library info. (I wish bridge would interogate the files and provide this information, but I use video spec). Any assistance would be greatly appreciated. I have a number of clients waiting for resolution. Thank you. -Jeff

    Well, I solved the problem but I had to de-install Lion to do it, so I will not close out the thread until I update the post after the next Lion attempt.
    Here are the steps I took.
    Clean Install of Snow Leopard from the DVD. This erased everything on the HD.
    Update all system software.
    Download and install Quicktime 7.6.6
    Register Quicktime Pro (Fortunately I had the old receipt) This drops in the AppleMPEG2Codec.component
    Copy over the AppleHDVCodec.component to the user library.
    Install CS5.5
    Big smile.
    One important change is that I did NOT install Final Cut this time.
    I just copied in the missing AppleHDVCodec.component to the library.
    I had this file in the correct folder post install of Lion, but for some reason PPro would not recognize it.
    My best guess is some other file (maybe a framework file) in the library was corrupted or altered during the Lion Installation.
    I also have not copied over all of the other codec.compents yet. I plan to drop these in as needed if new import errors occur.
    Below are the screen shots of the new librarys.

  • Compilation error warning

    Could someone please let me know that if it is a problem for querying database when there is compilation error warning?
    I've often received warning errors after creating a type, such as :" Type created with compilation error".
    Thanking in advance for your response.

    994819 wrote:
    I tried to get the following stored procedure to work... I've tried two different versions of the procedure... I have both versions below. I get a warning that the procedure was created but with compilation errors... this happens in Oracle 11g Express Edition... it references a function that I already created and has been tested.
    Version 1:
    create or replace procedure ins_ints(v1 number)
    as begin
    for i in 1..v1 loop
    insert into integers values(i,odd_even(i));
    end loop;
    end ins_ints;
    Version 2:
    create or replace procedure ins_ints(v1 in number)
    as begin
    for i in 1..v1 loop
    insert into integers values(i,odd_even(i));
    end loop;
    end ins_ints;
    Any idea whats wrong?
    Note: The odd_even function has the following function call:
    odd_even(v1 number) return varchar2
    again, just calling the funciton from the command line (SQL *Plus) works.
    Thanks!SHOW ERROR
    will display what the compiler does not like about your code
    How do I ask a question on the forums?
    SQL and PL/SQL FAQ

  • Premiere CC v7.2 "generic import error" Sony xdcam 422 50mb / PDW F800

    I'm receiving a "generic import error" when attempting to import Sony XDCAM footage in to Premiere Pro CC v7.2.0 (PC). The footage is in the original file structure transferred from a Sony XDCAM disc. The format is 1920x1080p, 29.97, 50mbps mpeg-2 long GOP (CBR). Shot with a Sony PDW F800 camera. It opens and plays fine with the Sony XDCAM viewer. I've tried importing the entire folder structure from PP media browser with no success. Not getting any thumbnails or previews from the files. PP will import the proxy files (mxf/mp4) but not the mpeg-2 HD media. Any insight on this issue would be greatly appreciated.

    Hey Wil, got this figured out quite painlessly considering the train wreck that it was to begin with. The material consisted of 4 mxf discs all with sequentially numbered duplicate filenames from disc to disc… cameramen love to torture editors. Simply renaming the clips using the OS would not work so here’s what I did. Starting with Bridge I identified the HD material apart from the 8 audio files and 1 proxy file per clip by performing a file search using the letter (V), only the HD video material has a (V) in the filename. Next I copied only the video files to a work folder as to not alter the original disc structure, I did this for each mxf disc. Next critical step was to turn off all metadata logging in Bridge except the filename metadata, then I used the batch renaming function with 3 criteria: 1-seed each filename with the disc number, 2- retain original clip name, and 3-rename extension to mpg. I did this for each disc. Next step was to batch encode using AME. I processed each disc using the same codec as the original source material, MXF/OP1a, Sony XDCAM 50mb with smart rendering codec enabled. My system ripped through this process at amazing speed, it retained the original source clip time code and the quality appears to be unaltered from the original. The reason for turning off the metadata logging in Bridge was to strip off the mxf reference, AME would not process the files by simply renaming them using the OS. Total time to clean-up train wreck; 40 minutes.
    BTW: I did not need the associated audio from these clips otherwise there would have been an extra step involved using premiere’s nesting feature as you had mentioned.
    Happy Holidays.

  • Cross-reference between structured and unstructured FM documents

    Hello,
    Is it possible to retain FM cross-references from structured to unstructured FM documents during an XML round trip?
    From what I know, cross-references between or inside structured documents form pairs of ID and IDREF, while cross-references to unstructured documents are dumped as normal text and lose their functionality.
    The unstructured target documents might be converted to Structured FM at some point, but for the time being I'd like to find another solution. Do you know any solution to this?
    Thanks,
    Johannes

    Johannes,
    This is just a guess, because I do not do this.
    First, of course, you cannot export the unstructured file to XML, because it is unstructured.
    Second, IF the cross-reference from the structured file to the unstructured file were done via your cross-reference ELEMENT, then the cross-reference element should export to XML as an XML element with one of its IDref attribute set to the ID of something in the unstructured file. When you open the XML file in FrameMaker, the cross-reference is re-established.
    In other words, when exporting to XML, FrameMaker does not care to what you are referencing. It just converts the cross-reference element into an element with an attribute in the XML file. So, it should work as expected when opened in FrameMaker. Of course, I am assuming your read-write file is set up to handle cross-references.
    On the other hand, IF you are creating your cross-reference from the structured file by simply inserting a cross-reference, that is NOT as an element, then I do not know what happens. If it is being exported as text, then I am not sure FrameMaker will know what to do with it when you reopen the XML file.
    Hope this helps,
    Van

Maybe you are looking for

  • Files not accessible from local view

    Hello, I recently got a new computer (iMac 11,3) and transferred all files from a backup drive. Since then, the local view in Dreamweaver's file panel does not display the files in my local root folder. The files are visible and accessible from the d

  • Including document in Attachment of IP_MESSAGE_TYPE to B2B

    Dear Reader, I am using SOA suite 10.1.3.4. and B2B 10g configured in Suse. I have made a BPEL proces that enqueues messages using an AQ adapter to the B2B database. For this I need to fill in the IP_MESSAGE_TYPE (payload header) that is required by

  • Wlwbuild task doesn't support jrockit

    In an attempt to speed up our build, we have tried out using the JRockit JVM for ant. However, we were foiled by the wlwbuild task - it insists on invoking java with the argument -XX:-UseThreadPriorities, which is not supported by JRockit. We get: [w

  • Extension Manager CS5 5.0 Update frozen

    Hi all, I started to update some of my Adobe applications today (I'm running CS5 on a 2x2.66 GHz 6-Core Intel Xeon mac using OS X version 10.6.6), and the "update progress" on my Adobe Application Manager has been frozen on "Adobe Extension Manager C

  • Speed of iChat's "speak announcements" feature can't be changed.

    I'm recently using a Late 2009 unibody MacBook with OS 10.6.2, migrating from an Early 2009 model running 10.5.8. And it seems that the "speaking rate" setting in the System Preferences, Speech control panel no longer applies to iChat, with the "spea