End of File for a RandomAccessFile ?

I was trying to read a file using a random access file.But I am not able find the EOF for the RandomAccessFile...Any ideas ??????

The API documentation for RandomAccessFile says this:
"It is generally true of all the reading routines in this class that if end-of-file is reached before the desired number of bytes has been read, an EOFException (which is a kind of IOException) is thrown."
Alternatively, there is the length() method which tells you the number of bytes in the file.

Similar Messages

  • D750 "unexpected end of file" for NEF that loads fine into Capture NX-D

    I have a NEF that produces an "unexpected end of file" error in both Lightroom 5.7 and PS CC (both with Camera Raw 8.7). The same NEF loads and converts fine in Nikon's Capture NX-D V1.0.2. The NEF also converts fine into a JPEG using the D750's in-camera NEF processing function. I can provide the NEF to Adobe for analysis.

    "Btw @engerim, any chance you were using both SD card slots on your D750 when you got this NEF and had them configured in backup mode? If so I'd like to see the same NEF from the other card if you have it."
    Tried the following this morning:
    Menu -> Photo shooting menu -> Role played by card in Slot 2 = Backup (second option)
    Then I started an interval shooting with 200 images, and went for breakfast ;-)
    Normally one would expect the images are 100% the same in both slots (checked with md5sum) but they are not (this makes this a bit more difficult).
    Anyhow when opening the images in Camera Raw the images affected by this issue ("unexpected end of file" error) were the exact same files in both slots. All other images were fine in both slots. Files are here: http://stuff.inxsoft.net/tmp/d750-raw-with-issues.zip
    All images included in the zip have the problem except DSC_4078.NEF (which I included for reference and it will also allow you to see the difference in checksums in both slots). Anyhow we can rule out its an SD Card issue or buffer issue.
    Contents of the zip file:
    $ find . -type f|xargs md5sum
    d10ca1603b10820a8018afbf9a7b09a1 *./slot1/DSC_3992.NEF
    a0394903a03b413202d7c6d0e971cc8b *./slot1/DSC_4047.NEF
    02f54769845fc86890d1791950d14324 *./slot1/DSC_4065.NEF
    2a35398be7298407c649a57d610d82b0 *./slot1/DSC_4077.NEF
    ^^ problematic files
    879e94509d9fbb1bc19e96c7694850ba *./slot1/DSC_4078.NEF <-- file which has no issues for reference
    94f542df6f3f85dec01919f4535910cd *./slot2/DSC_3992.NEF
    eacb286d896d8282079d273812f27e9d *./slot2/DSC_4047.NEF
    a70f9535ea180ce37fda81d05a723119 *./slot2/DSC_4065.NEF
    11898b2c6fecf320af5fa1d234844598 *./slot2/DSC_4077.NEF
    ^^ problematic files
    01995ec69995c2d72a8c4993ecefda30 *./slot2/DSC_4078.NEF  <-- file which has no issues for reference

  • Help need for "ORA-03113: end-of-file on communication channel" on startup

    Hi everyone,
    After install the oracle 8.1.7 on Solaris 2.7, I can not start the oracle server, below is the problem I got,
    $ ./svrmgrl
    : Oracle Server Manager Release 3.1.7.0.0 - Production
    : Copyright (c) 1997, 1999, Oracle Corporation. All Rights
    : Reserved.
    : Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production
    : With the Partitioning option
    : JServer Release 8.1.7.0.0 - Production
    : SVRMGR> connect internal
    : Password: oracle
    : Connected.
    : SVRMGR> startup
    : ORA-03113: end-of-file on communication channel
    Can someone tell me what is wrong with my
    oracle server? Thanks a lot.
    null

    Hi,
    the answer is simple. check first if TWO_TASK parameter is set to value from Ur tnsnames.ora. usually this environment variable must not be set for servers, only for client side. that means try 'unset TWO_TASK' and then should work.
    best regards,
    nicky

  • I can't do anything when "generating peak file for..." ends.

    After the reinstallation, I have a problem with "genarating peak file for.." , when it ends (when progress bar is full) the program stops and I can't do anything.
    After the program is disabled, a message appears:
    PhotoshopServer.exe - Błąd aplikacji
    W aplikacji wystąpił wyjątek unknown software exception (0xc000000d) pod adresem 0x78138aa0
    In English it may be:
    PhotoshopServer.exe - Application Error
    In application exception occurred unknown software exception (0xc000000d) at adress 0x78138aa0
    What I should do?
    I hope you understand what I mean.
    Grettings Angelika.

    Can you provide more information about your system, and the Assets that you are Importing?
    This ARTICLE will give you some tips on the types of info that would be so useful.
    Good luck, and welcome to the forum,
    Hunt

  • Crash at start up photoshop on mac  for unexpected end-of-file encountered

    Hi,
    When I try to start Photoshop. I have the splash screen and it starts loading but when arrived at loading preferences, it stops and I have the error message :
    unexpected end-of-file encountered. Then "could not initialize photoshop because the preferences file was invalid ( it has been deleted). I am sure I have not deleted but I know my hard drive is almost full.
    What I can do ? I really need it. I  have photoshop CS5  on mac osx. I can't get photoshop cc because my imac is too old
    Thank you very much for your answer and help.
    Anne.

    Please read these and proceed accordingly (restoring Preferences might deserve special attention):
    http://blogs.adobe.com/crawlspace/2012/07/photoshop-basic-troubleshooting-steps-to-fix-mos t-issues.html
    http://forums.adobe.com/docs/DOC-2325

  • Inconsistent "End of file error" on "open for access "myFile.txt"

    I have a script that accesses a txt file containing info needed for values in the script. Sometimes the script works flawless, but once I get the "End of file error," it won't work right anymore unless I log out and log back in or if I dump the file and rewrite it. Below is a copy of the portion of script having the problem:
    +set _fileRef to open for access "Library:Preferences:MyTextFile.txt" with permission+
    + set ReadMyTextFile to read _fileRef as string+
    + close access _fileRef+
    Is there a way to reset the "End of file" status so that I can access it later with the same script in one login session? I have a feeling that the first time it opens, that it reads to the end of the file and then closes the file. When it opens again the script starts to read where it left off at the end of the file. Does that sound right?
    Any help would be great.

    OK, it looks like if you are going to use the open for access..close access, you need to keep tack of the EOF yourself, so you can just read to the EOF - for example:
    <pre title="this text can be pasted into the Script Editor" style="font-family: Monaco, 'Courier New', Courier, monospace; font-size: 10px; padding: 5px; width: 720px; color: #000000; background-color: #E0E0E0; overflow: auto"> set TheOpenFile to open for access (choose file)
    try
    set SomeText to paragraphs of (read TheOpenFile to eof as text)
    close access TheOpenFile
    on error
    close access TheOpenFile
    end try
    choose from list SomeText with prompt "File text:" with empty selection allowed
    </pre>
    If there isn't any particular reason to explicitly open and close the file, you can use something like:
    <pre title="this text can be pasted into the Script Editor" style="font-family: Monaco, 'Courier New', Courier, monospace; font-size: 10px; padding: 5px; width: 720px; color: #000000; background-color: #E0E0E0; overflow: auto"> set SomeText to paragraphs of (read (choose file) as text)
    choose from list SomeText with prompt "File text:" with empty selection allowed
    </pre>
    In the above examples I used paragraphs of in order to use the choose from list, since it displays stuff like this a little bit better - see this article for a tutorial on file read/write in AppleScript.

  • Is FCP X the end of FCP for pros?  Has Apple abandoned us?  No longer can open my older files?

    It looks like FCP X is a useless app for any pro application.  With no capture from or to tape (Which is still widely used in the pro industry) and we will no longer be able to open a version of our edit from any previous FCP project. The exports and imports have been severly limited.  What is Apple doing?  Why make FCP more like imovie?  Obviously the changes were designed by guys in suits and designers who have no experience in the industry.  I guess it's time to switch back to Avid or even Adobe Premiere.  I know my company is selling 40 of their Mac work stations and switching to PC and Premiere.  Something I don't want to do but if I want to contine working in the industry it may not be a choice.
    BAD MOVE APPLE.

    >Is FCP X the end of FCP for pros?
    Yes ... at least until FCPX is much more muture and robust than it is now.
    >Has Apple abandoned us?
    Yes.
    >No longer can open my older files?
    Correct.
    >What is Apple doing?
    Making money.
    >Why make FCP more like imovie?
    Because that's where the market is most profitable for them.
    >I guess it's time to switch back to Avid or even Adobe Premiere.
    My plan as well.
    -DH

  • Any solution for "unexpected end-of-file encountered"?

    Using Mac 10.7.4 and CS5 Extended on an Imac 27.
    Today, working on a large file PSD suffix and Photoshop froze. and when I restarted i got "unexpected end of file " error message on the file i was working on, but on several other files also in that folder.
    Has anyone found a solution to this? Can you rebuild or restore the file in any way?
    The file shows on the hard drive now as 118.6 megs.
    The files show up in Bridge, but with small Previews.

    [email protected] wrote:
    Can you rebuild or restore the file in any way?
    It doesn't help you with this file, but unexpected failure is precisely what the new Photoshop CS6 Auto-Save feature helps with.  If Photoshop were to crash/freeze/be forced closed/whatever, next time you start it it brings back whatever you were working on in the last few minutes before the failure.
    -Noel

  • Logical end of file error

    I am getting a "logical end of file error =39" message when trying to export audio to SDII for making a time stamped (BWF) . Any ideas?

    How long is the wedding video?
    My standard list of things to do first...
    Run MacJanitor (free download) to do all the Unix Cron Maintenance scripts.
    Run Disk Utility (Applications -> Utilities) and repair disk permissions on your start up drive (typically your internal drive). Also verify any other drives mounted on the system.
    Run Preferential Treatment (free download) to check for corrupt/damaged application and system preference files.
    Run Cache Out X (free download) to clear all system and application caches.
    Reboot your Mac.
    If you still can not get it to run correctly, next thing to try is to throw out the iDVD preference file (don't forget to change back those preferences you want different from the defaults next time you run it). If it still doesn't work, then I would suggest you reinstall iDVD.
    Patrick

  • Convrtd to Invterval Part- ORA-03113: end-of-file on communication channel

    Hi all,
    I had a table as Interval Partitioned. In order to create XML- Xpath indexes on it, I converted it to Range Partitioned table.
    I am able to create the XPATH indexes but I get the error: ORA-03113: end-of-file on communication channel
    - When I revert the code to Interval Partitioned without the XMLIndex, it works fine(although takes time as no XML Index)
    - When I convert table to non partitioned table, create the XML Index, it works fine.
    But I need the partitons, so when I create the partitioned table I get the error.
    CREATE TABLE INT_PART_TABLE
    DB_ID VARCHAR2(10 BYTE),
    xML_mESSAGE SYS.XMLTYPE,
    LOAD_TIMESTAMP TIMESTAMP(6)
    XMLTYPE xML_mESSAGE STORE AS BINARY XML
    PARTITION BY RANGE (LOAD_TIMESTAMP)
    PARTITION MAX VALUES LESS THAN (TIMESTAMP' 2013-06-01 00:00:00')
    TABLESPACE CSTR_STG_DATA
    NOCOMPRESS
    NOCACHE
    ENABLE ROW MOVEMENT;
    BEGIN
    DBMS_XMLINDEX.dropparameter('Indx_Par');
    END;
    BEGIN
    DBMS_XMLINDEX.REGISTERPARAMETER(
    'Indx_Par',
    'PATH TABLE Table1
    PATHS (INCLUDE ( /abc:field1/xyz:field2
    /abc:field1/def:field2
    NAMESPACE MAPPING ( xmlns:abc="ABCD"
    xmlns:def="DEFG"
    xmlns:xyz="XYZA"
    end;
    create index INDX_XPATHS on "INT_PART_TABLE" (XML_MESSAGE) indextype is xdb.xmlindex
    parameters ('PARAM Indx_Par') local;
    Now if I execute the following statement in
    SELECT T.xML_mESSAGE
    FROM INT_PART_TABLE1 T
    WHERE XMLEXISTS (
    declare namespace abc="ABCD";
    declare namespacedef="DEFG";
    declare namespace xyz="XYZA";
    let $tt as xs:boolean := fn:exists($p/main/id = ("144283","9085802")])
    return if ($tt) then true()
    else ()'
    PASSING T.xML_mESSAGE AS "p");
    - Is there any other way of writing this Select statement, which may work?
    - Any other thing I need to take care of when defining the table and partitions script so that I don't get this error?

    Hi,
    I think it's time you give a clear (and working) test case so that we can safely try to reproduce the issue.
    What you've given so far has syntax error and name mismatch.
    So please :
    - database version (SELECT * FROM v$version)
    - complete sequence of DLLs
    - some sample XML documents (it doesn't have to be the real ones, but at least something realistic)
    Thanks in advance.
    declare namespace abc="ABCD";
    declare namespacedef="DEFG";
    declare namespace xyz="XYZA";
    let $tt as xs:boolean := fn:exists($p/main/id = ("144283","9085802")])
    return if ($tt) then true()
    else ()'Why all that stuff? You don't have to return a boolean.
    The following works for me on 11.2.0.3 :
    SQL> CREATE TABLE int_part_table (
      2    db_id          VARCHAR2(10)
      3  , xml_message    XMLTYPE
      4  , load_timestamp TIMESTAMP
      5  )
      6  XMLTYPE xml_message STORE AS BINARY XML
      7  PARTITION BY RANGE (load_timestamp) (
      8    PARTITION MAX VALUES LESS THAN (timestamp '2013-06-01 00:00:00')
      9  )
    10  NOCOMPRESS
    11  NOCACHE
    12  ENABLE ROW MOVEMENT;
    Table created
    SQL> insert into int_part_table values (1, xmltype('<main><id>144283</id></main>'), sysdate);
    1 row inserted
    SQL> insert into int_part_table values (1, xmltype('<main><id>9085802</id></main>'), sysdate);
    1 row inserted
    SQL> insert into int_part_table values (1, xmltype('<main><id>1</id></main>'), sysdate);
    1 row inserted
    SQL> commit;
    Commit complete
    SQL> create index int_part_table_uix on int_part_table (xml_message)
      2  indextype is xdb.xmlindex
      3  parameters (
      4  'PATH TABLE INT_PART_TABLE_PT
      5  PATHS ( INCLUDE ( /main/id ) )')
      6  local;
    Index created
    SQL> SELECT xml_message
      2  FROM int_part_table
      3  WHERE XMLExists(
      4         '/main[id=("144283","9085802")]'
      5         PASSING xml_message
      6       )
      7  ;
    XML_MESSAGE
    <main>
      <id>144283</id>
    </main>
    <main>
      <id>9085802</id>
    </main>
    Execution Plan
    Plan hash value: 3517234298
    | Id  | Operation                              | Name                         | Rows  | Bytes | Cost (%CPU)| Time     | Pstart| Pstop |
    |   0 | SELECT STATEMENT                       |                              |     1 |   155 |    34   (6)| 00:00:01 |       |       |
    |   1 |  NESTED LOOPS                          |                              |     1 |   155 |    34   (6)| 00:00:01 |       |       |
    |   2 |   VIEW                                 | VW_SQ_1                      |     1 |    25 |    32   (4)| 00:00:01 |       |       |
    |   3 |    HASH UNIQUE                         |                              |     1 |    47 |         |             |       |       |
    |*  4 |     HASH JOIN SEMI                     |                              |     1 |    47 |    32   (4)| 00:00:01 |       |       |
    |   5 |      PARTITION SYSTEM SINGLE           |                              |     2 |    90 |     2   (0)| 00:00:01 |     1 |     1 |
    |*  6 |       TABLE ACCESS BY LOCAL INDEX ROWID| INT_PART_TABLE_PT            |     2 |    90 |     2   (0)| 00:00:01 |     1 |     1 |
    |*  7 |        INDEX SKIP SCAN                 | SYS117585_INT_PART__PIKEY_IX |     3 |       |     1   (0)| 00:00:01 |     1 |     1 |
    |   8 |      COLLECTION ITERATOR PICKLER FETCH | XQSEQUENCEFROMXMLTYPE        |  8168 | 16336 |    29   (0)| 00:00:01 |       |       |
    |*  9 |   TABLE ACCESS BY USER ROWID           | INT_PART_TABLE               |     1 |   130 |     1   (0)| 00:00:01 | ROWID | ROWID |
    Predicate Information (identified by operation id):
       4 - access("SYS_P3"."VALUE"=SYS_XQ_UPKXML2SQL(VALUE(KOKBF$),2,1,0) AND
                  SUBSTRB("VALUE",1,1599)=SUBSTRB(SYS_XQ_UPKXML2SQL(VALUE(KOKBF$),2,1,0),1,1599))
       6 - filter(SYS_XMLI_LOC_ISNODE("SYS_P3"."LOCATOR")=1)
       7 - access("SYS_P3"."PATHID"=HEXTORAW('704E') )
           filter("SYS_P3"."PATHID"=HEXTORAW('704E') )
       9 - filter("ITEM_6"=TBL$OR$IDX$PART$NUM("DEV"."INT_PART_TABLE",0,7,65535,"INT_PART_TABLE".ROWID))
    Note
       - Unoptimized XML construct detected (enable XMLOptimizationCheck for more information)
    SQL> SELECT xml_message
      2  FROM int_part_table
      3  WHERE XMLExists(
      4         '/main[id="144283" or id="9085802"]'
      5         PASSING xml_message
      6       )
      7  ;
    XML_MESSAGE
    <main>
      <id>144283</id>
    </main>
    <main>
      <id>9085802</id>
    </main>
    Execution Plan
    Plan hash value: 3748936130
    | Id  | Operation                                | Name                         | Rows  | Bytes | Cost (%CPU)| Time     | Pstart| Pstop |
    |   0 | SELECT STATEMENT                         |                              |     1 |   155 |    11  (10)| 00:00:01 |       |       |
    |   1 |  NESTED LOOPS                            |                              |     1 |   155 |    11  (10)| 00:00:01 |       |       |
    |   2 |   VIEW                                   | VW_SQ_1                      |     2 |    50 |     8   (0)| 00:00:01 |       |       |
    |   3 |    HASH UNIQUE                           |                              |     2 |   180 |         |             |       |       |
    |   4 |     CONCATENATION                        |                              |       |       |         |             |       |       |
    |   5 |      NESTED LOOPS                        |                              |       |       |         |             |       |       |
    |   6 |       NESTED LOOPS                       |                              |     1 |    90 |     4   (0)| 00:00:01 |       |       |
    |   7 |        PARTITION SYSTEM SINGLE           |                              |     1 |    45 |     2   (0)| 00:00:01 |     1 |     1 |
    |*  8 |         TABLE ACCESS BY LOCAL INDEX ROWID| INT_PART_TABLE_PT            |     1 |    45 |     2   (0)| 00:00:01 |     1 |     1 |
    |*  9 |          INDEX SKIP SCAN                 | SYS117585_INT_PART__PIKEY_IX |     3 |       |     1   (0)| 00:00:01 |     1 |     1 |
    |  10 |        PARTITION SYSTEM SINGLE           |                              |     1 |       |     1   (0)| 00:00:01 |     1 |     1 |
    |* 11 |         INDEX RANGE SCAN                 | SYS117585_INT_PART__PIKEY_IX |     1 |       |     1   (0)| 00:00:01 |     1 |     1 |
    |* 12 |       TABLE ACCESS BY LOCAL INDEX ROWID  | INT_PART_TABLE_PT            |     1 |    45 |     2   (0)| 00:00:01 |     1 |     1 |
    |  13 |      NESTED LOOPS                        |                              |       |       |         |             |       |       |
    |  14 |       NESTED LOOPS                       |                              |     1 |    90 |     4   (0)| 00:00:01 |       |       |
    |  15 |        PARTITION SYSTEM SINGLE           |                              |     1 |    45 |     2   (0)| 00:00:01 |     1 |     1 |
    |* 16 |         TABLE ACCESS BY LOCAL INDEX ROWID| INT_PART_TABLE_PT            |     1 |    45 |     2   (0)| 00:00:01 |     1 |     1 |
    |* 17 |          INDEX SKIP SCAN                 | SYS117585_INT_PART__PIKEY_IX |     3 |       |     1   (0)| 00:00:01 |     1 |     1 |
    |  18 |        PARTITION SYSTEM SINGLE           |                              |     1 |       |     1   (0)| 00:00:01 |     1 |     1 |
    |* 19 |         INDEX RANGE SCAN                 | SYS117585_INT_PART__PIKEY_IX |     1 |       |     1   (0)| 00:00:01 |     1 |     1 |
    |* 20 |       TABLE ACCESS BY LOCAL INDEX ROWID  | INT_PART_TABLE_PT            |     1 |    45 |     2   (0)| 00:00:01 |     1 |     1 |
    |* 21 |   TABLE ACCESS BY USER ROWID             | INT_PART_TABLE               |     1 |   130 |     1   (0)| 00:00:01 | ROWID | ROWID |
    Predicate Information (identified by operation id):
       8 - filter("SYS_P5"."VALUE"='9085802' AND SYS_XMLI_LOC_ISNODE("SYS_P5"."LOCATOR")=1 AND SUBSTRB("VALUE",1,1599)='9085802')
       9 - access("SYS_P5"."PATHID"=HEXTORAW('704E') )
           filter("SYS_P5"."PATHID"=HEXTORAW('704E') )
      11 - access("SYS_P5"."RID"="SYS_P3"."RID" AND "SYS_P3"."PATHID"=HEXTORAW('0BBD')  AND
                  "SYS_P3"."ORDER_KEY"<"SYS_P5"."ORDER_KEY")
           filter(SYS_ORDERKEY_DEPTH("SYS_P3"."ORDER_KEY")+1=SYS_ORDERKEY_DEPTH("SYS_P5"."ORDER_KEY") AND
                  TBL$OR$IDX$PART$NUM("DEV"."INT_PART_TABLE",0,7,65535,"SYS_P3"."RID")=TBL$OR$IDX$PART$NUM("DEV"."INT_PART_TABLE_PT",0,7,65535,ROWI
                  D) AND "SYS_P5"."ORDER_KEY"<SYS_ORDERKEY_MAXCHILD("SYS_P3"."ORDER_KEY"))
      12 - filter(SYS_XMLI_LOC_ISNODE("SYS_P3"."LOCATOR")=1)
      16 - filter("SYS_P5"."VALUE"='144283' AND SYS_XMLI_LOC_ISNODE("SYS_P5"."LOCATOR")=1 AND SUBSTRB("VALUE",1,1599)='144283' AND
                  (LNNVL("SYS_P5"."VALUE"='9085802') OR LNNVL("SYS_P5"."PATHID"=HEXTORAW('704E') ) OR
                  LNNVL(SYS_XMLI_LOC_ISNODE("SYS_P5"."LOCATOR")=1) OR LNNVL(SUBSTRB("VALUE",1,1599)='9085802')))
      17 - access("SYS_P5"."PATHID"=HEXTORAW('704E') )
           filter("SYS_P5"."PATHID"=HEXTORAW('704E') )
      19 - access("SYS_P5"."RID"="SYS_P3"."RID" AND "SYS_P3"."PATHID"=HEXTORAW('0BBD')  AND
                  "SYS_P3"."ORDER_KEY"<"SYS_P5"."ORDER_KEY")
           filter(SYS_ORDERKEY_DEPTH("SYS_P3"."ORDER_KEY")+1=SYS_ORDERKEY_DEPTH("SYS_P5"."ORDER_KEY") AND
                  TBL$OR$IDX$PART$NUM("DEV"."INT_PART_TABLE",0,7,65535,"SYS_P3"."RID")=TBL$OR$IDX$PART$NUM("DEV"."INT_PART_TABLE_PT",0,7,65535,ROWI
                  D) AND "SYS_P5"."ORDER_KEY"<SYS_ORDERKEY_MAXCHILD("SYS_P3"."ORDER_KEY"))
      20 - filter(SYS_XMLI_LOC_ISNODE("SYS_P3"."LOCATOR")=1)
      21 - filter("ITEM_2"=TBL$OR$IDX$PART$NUM("DEV"."INT_PART_TABLE",0,7,65535,"INT_PART_TABLE".ROWID))I asked in one of your other threads if /main/id was unique per XML document.
    If so, you can use a simple function-based index instead of the XMLIndex :
    SQL> drop index int_part_table_uix;
    Index dropped.
    SQL> create index int_part_table_ix1 on int_part_table (
      2    xmlcast(
      3      xmlquery('/main/id' passing XML_MESSAGE returning content)
      4      as varchar2(10)
      5    )
      6  );
    Index created.
    SQL> SELECT xml_message
      2  FROM int_part_table
      3  WHERE XMLCast(
      4          XMLQuery('/main/id' PASSING xml_message RETURNING CONTENT)
      5          AS VARCHAR2(10)
      6        )
      7  IN ('144283', '9085802');
    XML_MESSAGE
    <main>
      <id>144283</id>
    </main>
    <main>
      <id>9085802</id>
    </main>
    Execution Plan
    Plan hash value: 2864653096
    | Id  | Operation                           | Name               | Rows  | Bytes | Cost (%CPU)| Time  | Pstart| Pstop |
    |   0 | SELECT STATEMENT                    |                    |     2 |   236 |     2   (0)| 00:00:01 |       |       |
    |   1 |  INLIST ITERATOR                    |                    |       |       |            |       |  |       |
    |   2 |   TABLE ACCESS BY GLOBAL INDEX ROWID| INT_PART_TABLE     |     2 |   236 |     2   (0)| 00:00:01 |     1 |     1 |
    |*  3 |    INDEX RANGE SCAN                 | INT_PART_TABLE_IX1 |     2 |       |     1   (0)| 00:00:01 |       |       |
    Predicate Information (identified by operation id):
       3 - access(CAST(EXTRACTVALUE(SYS_MAKEXML(0,"SYS_NC00003$"),'/main/id',null,0,0,524293,1073874944) AS
                  varchar2(10)   )='144283' OR CAST(EXTRACTVALUE(SYS_MAKEXML(0,"SYS_NC00003$"),'/main/id',null,0,0,524293,1073874944
                  ) AS varchar2(10)   )='9085802')

  • Error ORA-03113: end-of-file on communication channel in droppping  a table

    Good evening,
    I am very new on Oracle and I have a problem with some tables. Without any reason, apparently, I can't drop some of my table. Oracle gives me this error:
    ORA-03113: end-of-file on communication channel
    and then close the connection of the user.
    What I should have to do?
    It is very important.
    Thanks a lot
    best regards
    Anna Zanetti

    Good morning, I still have the same problem, I can't drop a table from my database.
    The message is again:
    Re: Error ORA-03113: end-of-file on communication channel
    The alert log file says:
    Fri Nov 17 12:27:31 2006
    Errors in file /usr/oracle/admin/oracledb/udump/oracledb_ora_4369.trc:
    ORA-07445: exception encountered: core dump [0955C61F] [SIGSEGV] [Address not mapped to object] [0xC] [] []
    and in file oracledb_ora_4369.trc there is:
    Exception signal: 11 (SIGSEGV), code: 1 (Address not mapped to object), addr: 0xc, PC: [0x955c61f, 0955C61F]
    Registers:
    %eax: 0x00000000 %ebx: 0x00012d95 %ecx: 0x58301930
    %edx: 0x00000000 %edi: 0x5830d9e8 %esi: 0x00000000
    %esp: 0xbfffae1c %ebp: 0xbfffb060 %eip: 0x0955c61f
    %efl: 0x00210282
    (0x955c61f) movzw 0xc(%eax),%eax(0x955c623) cmp $30,%eax
    (0x955c626) jle 0x955c63e
    (0x955c628) xor %edx,%edx
    (0x955c62a) push %edx
    *** 2006-11-17 12:27:31.658
    ksedmp: internal or fatal error
    ORA-07445: exception encountered: core dump [0955C61F] [SIGSEGV] [Address not mapped to object] [0xC] [] []
    Current SQL statement for this session:
    drop table fiumiforjoin
    ----- Call Stack Trace -----
    calling call entry argument values in hex
    location type point (? means dubious value)
    08856247 call 0885776A 1 ? 0 ? 1 ? 1 ? 0 ? 0 ?
    08290320 call 0885605A 3 ? 0 ? 0 ? 0 ? 0 ? 0 ?
    0955C61F signal 08290320 B ? BFFFAAB0 ? BFFFAB30 ?
    0955D6BE call 0955C61F 5830F01C ? 0 ? FFFFFFFF ? 0 ?
    1 ? 5830F01C ?
    08DD1EEB call 0955CC22 BFFFB394 ? 0 ? 0 ? BFFFB348 ?
    58EAB2B0 ? C ?
    09434EF3 call 08DD1A28 BF2A8C4 ? BFFFC0C0 ?
    BFFFC0C0 ? 4 ? B6AB0300 ?
    B6ABC2E0 ?
    094106E0 call 094326D4 4 ? 0 ? BFFFC0C0 ?
    093D7BB5 call 0940FEF8 3 ? E ? BFFFC1F8 ? A4 ?
    093D630C call 093D7AC4 BFFFCDF0 ? BFFFCD08 ? 17 ?
    1 ? 0 ? A4 ?
    08293DE6 call 0850FFFF 5E ? 14 ? BFFFCDEC ?
    0A1ED44D call 08293DE6 5E ? 14 ? BFFFCDEC ? 0 ?
    08292122 call 0A1ECAE4 BF2A8C0 ? 5E ? BFFFCDEC ? 0 ?
    BFFFD6E8 ? BFFFD6E4 ?
    0941F190 call 0829193C 0 ? 0 ? BF2A8C0 ? BF83090 ?
    F1 ? 0 ?
    08293DE6 call 0850FFFF 3C ? 4 ? BFFFEB08 ?
    08291238 call 082937A8 3C ? 4 ? BFFFEB08 ? 0 ?
    0828F403 call 08291012 3C ? 4 ? BFFFEB08 ?
    08274A3D call 0828F39C BFFFEAEC ? 3C ? 4 ?
    BFFFEB08 ? B6CC017C ?
    B6C1A17C ?
    __libc_start_main() call 08274A3D 2 ? BFFFEBA4 ? BFFFEBB0 ? 0 ?
    +218 B6C1C898 ? B7600020 ?
    Any idea of what I have to do?
    Thanks for your help..
    Best Regards
    Anna Zanetti

  • A STANDARD XML TAG IS NOT WORKING PROPERLY WHEN USED IN RTF FILE FOR XML RE

    Hi,
    I am using the following tag :
    <?if:TASK_STATUS='Open'?><xsl:attribute xdofo:ctx="block“name="color">red</xsl:attribute>
    <?end if?>
    for changing foreground color of text which depending on certain conditiosi need to print in
    pdf format using xml reports and rtf files.
    But i was able to get only 3 colors (Red,Blue,Green) for use, other colors such as orange,cyan etc are not
    working.
    Please let me know what all colors are supported by oracle in printing in pdf format using xml reports.
    Suggest if we need to do some settings related stuff or so.
    I am usning XML 5.6.3 version.
    Regards,
    Amar

    Colors can be expressed by known name and by a hex value. The hex value format is widely used in HTML programming, and has a format of #abcdef, and "abcdef" can be values like aaddcc and so on. For some primary colors, you can get away with #abc, but that is not very common.
    You should always design with Web-safe colors in mind. That limits you to 16, but should be plenty for most purposes (plus all 16 have known names like red, cyan, yellow, etc.).
    http://www.w3schools.com/Html/html_colors.asp has a good explanation of the standards.

  • Unable to open database : error , ora-03113 end of file communication

    Hi Guys ,
    I am facing a serious issue with my database
    machine Oracle Linux Tikanga 5
    database : 10.2.0.1
    Error : ora-03113
    I was trying to drop a logfile , while inserting the data ....
    I restored and tried recovering it but it recovers with message , media recover complete but doesnot allows to open the database
    gives the same error : Error : ora-03113 end of file communication
    alert_log shows
    alter database recover if needed
    start
    Media Recovery Start
    ORA-264 signalled during: alter database recover if needed
    start
    Wed Jan 9 16:20:18 2013
    db_recovery_file_dest_size of 2048 MB is 40.79% used. This is a
    user-specified limit on the amount of space that will be used by this
    database for recovery-related files, and does not reflect the amount of
    space available in the underlying filesystem or ASM diskgroup.
    Wed Jan 9 16:22:02 2013
    alter database recover datafile list clear
    Wed Jan 9 16:22:02 2013
    Completed: alter database recover datafile list clear
    Wed Jan 9 16:22:02 2013
    alter database recover datafile list
    1 , 2 , 3 , 4 , 5
    Completed: alter database recover datafile list
    1 , 2 , 3 , 4 , 5
    Wed Jan 9 16:22:02 2013
    alter database recover if needed
    start
    Media Recovery Start
    ORA-264 signalled during: alter database recover if needed
    start
    Wed Jan 9 16:22:07 2013
    alter database open
    Wed Jan 9 16:22:07 2013
    LGWR: STARTING ARCH PROCESSES
    ARC0 started with pid=16, OS id=2049
    Wed Jan 9 16:22:07 2013
    ARC0: Archival started
    ARC1: Archival started
    LGWR: STARTING ARCH PROCESSES COMPLETE
    ARC1 started with pid=17, OS id=2051
    Wed Jan 9 16:22:07 2013
    Repairing half complete open of thread 1
    Wed Jan 9 16:22:07 2013
    Errors in file /d1/app/oracle/oradata/orcl/bdump/orcl_lgwr_1966.trc:
    ORA-00600: internal error code, arguments: [3712], [1], [1], [0], [445262], [0], [445261], []
    Wed Jan 9 16:22:08 2013
    Errors in file /d1/app/oracle/oradata/orcl/bdump/orcl_lgwr_1966.trc:
    ORA-00600: internal error code, arguments: [3712], [1], [1], [0], [445262], [0], [445261], []
    LGWR: terminating instance due to error 470
    Instance terminated by LGWR, pid = 1966
    can you please suggest on the same ..
    Thanks

    Due to the nature of the error and to prevent any trial-and-error, I would highly recommand you to open a service request with Oracle asap.
    Oracle too recommands the same.
    Thanks...

  • (Cisco Historical Reporting / HRC ) All available connections to database server are in use by other client machines. Please try again later and check the log file for error 5054

    Hi All,
    I am getting an error message "All available connections to database server are in use by other client machines. Please try again later and check the log file for error 5054"  when trying to log into HRC (This user has the reporting capabilities) . I checked the log files this is what i found out 
    The log file stated that there were ongoing connections of HRC with the CCX  (I am sure there isn't any active login to HRC)
    || When you tried to login the following error was being displayed because the maximum number of connections were reached for the server .  We can see that a total number of 5 connections have been configured . ||
    1: 6/20/2014 9:13:49 AM %CHC-LOG_SUBFAC-3-UNK:Current number of connections (5) from historical Clients/Scheduler to 'CRA_DATABASE' database exceeded the maximum number of possible connections (5).Check with your administrator about changing this limit on server (wfengine.properties), however this might impact server performance.
    || Below we can see all 5 connections being used up . ||
    2: 6/20/2014 9:13:49 AM %CHC-LOG_SUBFAC-3-UNK:[DB Connections From Clients (count=5)]|[(#1) 'username'='uccxhrc','hostname'='3SK5FS1.ucsfmedicalcenter.org']|[(#2) 'username'='uccxhrc','hostname'='PFS-HHXDGX1.ucsfmedicalcenter.org']|[(#3) 'username'='uccxhrc','hostname'='PFS-HHXDGX1.ucsfmedicalcenter.org']|[(#4) 'username'='uccxhrc','hostname'='PFS-HHXDGX1.ucsfmedicalcenter.org']|[(#5) 'username'='uccxhrc','hostname'='47BMMM1.ucsfmedicalcenter.org']
    || Once the maximum number of connection was reached it threw an error . ||
    3: 6/20/2014 9:13:49 AM %CHC-LOG_SUBFAC-3-UNK:Number of max connection to 'CRA_DATABASE' database was reached! Connection could not be established.
    4: 6/20/2014 9:13:49 AM %CHC-LOG_SUBFAC-3-UNK:Database connection to 'CRA_DATABASE' failed due to (All available connections to database server are in use by other client machines. Please try again later and check the log file for error 5054.)
    Current exact UCCX Version 9.0.2.11001-24
    Current CUCM Version 8.6.2.23900-10
    Business impact  Not Critical
    Exact error message  All available connections to database server are in use by other client machines. Please try again later and check the log file for error 5054
    What is the OS version of the PC you are running  and is it physical machine or virtual machine that is running the HRC client ..
    OS Version Windows 7 Home Premium  64 bit and it’s a physical machine.
    . The Max DB Connections for Report Client Sessions is set to 5 for each servers (There are two servers). The no of HR Sessions is set to 10.
    I wanted to know if there is a way to find the HRC sessions active now and terminate the one or more or all of that sessions from the server end ? 

    We have had this "PRX5" problem with Exchange 2013 since the RTM version.  We recently applied CU3, and it did not correct the problem.  We have seen this problem on every Exchange 2013 we manage.  They are all installations where all roles
    are installed on the same Windows server, and in our case, they are all Windows virtual machines using Windows 2012 Hyper-V.
    We have tried all the "this fixed it for me" solutions regarding DNS, network cards, host file entries and so forth.  None of those "solutions" made any difference whatsoever.  The occurrence of the temporary error PRX5 seems totally random. 
    About 2 out of 20 incoming mail test by Microsoft Connectivity Analyzer fail with this PRX5 error.
    Most people don't ever notice the issue because remote mail servers retry the connection later.  However, telephone voice mail systems that forward voice message files to email, or other such applications such as your scanner, often don't retry and
    simply fail.  Our phone system actually disables all further attempts to send voice mail to a particular user if the PRX5 error is returned when the email is sent by the phone system.
    Is Microsoft totally oblivious to this problem?
    PRX5 is a serious issue that needs an Exchange team resolution, or at least an acknowledgement that the problem actually does exist and has negative consequences for proper mail flow.
    JSB

  • How to dpwnload one XML file for each report row

    Hi all,
    i have a report on the products table with about 1000 rows
    desc of table products
    product_id varchar (10)
    product_desc varchar2 (2000)
    I would like to download on the file system an xml file for each row of the report
    the nane of each xml file = <product_id>.xml
    thanks in advance
    km

    Hi,
    You would probably find it better to search on the PL/SQL forum as this is more their area than Apex.
    From what I can see in there (and there are a number of examples that would help you), you need to do something like:
    DECLARE
    vPATH VARCHAR2(50) := '/DEV';
    vFILENAME VARCHAR2(50);
    vFILE UTL_FILE.FILE_TYPE;
    BEGIN
    FOR C IN (SELECT PRODUCT_ID, PRODUCT_DESC FROM PRODUCTS)
    LOOP
      vFILENAME := C.PRODUCT_ID || '.xml';
      vFILE := UTL_FILE.FOPEN(vPATH, vFILENAME, 'W');
      UTL_FILE.PUT_LINE(vFILE, '<xdr>');
      UTL_FILE.PUT_LINE(vFILE, '<product_id>' || C.PRODUCT_ID || '</product_id>');
      UTL_FILE.PUT_LINE(vFILE, '<product_desc>' || C.PRODUCT_DESC || '</product_desc>');
      UTL_FILE.PUT_LINE(vFILE, '</xdr>');
      UTL_FILE.FCLOSE(vFILE);
    END LOOP;
    END;I haven't included exception handling etc and you should check on the PL/SQL forum to see if there are better examples!
    Andy

Maybe you are looking for