End of file
Hi! I just want to read a text file line by line (without knowing how many lines of text the file contains). I don't know much about file reading/writing in Java, but I found these lines of code that work:
FileInputStream file = new FileInputStream("Version.log");
DataInputStream in = new DataInputStream(file);
BufferedReader bufferedReader =
new BufferedReader(new InputStreamReader(in));
String textLine = bufferedReader.readLine();
My idea is to use the readLine() method in a conditioned loop (read one line at a time), but I don't know when the end of the file is reached... How can I know that? :)
Thanks!
You could read the documentation.
http://java.sun.com/j2se/1.5.0/docs/api/java/io/BufferedReader.html#readLine()
States
Returns:
A String containing the contents of the line, not including any line-termination characters, or null if the end of the stream has been reached
Similar Messages
-
Logical end-of-file reached during read operation
Hi,
Something strange happened to my Logic a couple of days ago - all of a sudden. When I start Logic up it gives me the following error message:
*Error reading/writing file “com.apple.logic.pro.cs”: Logical end-of-file reached during read operation.*
I have re-installed Logic, as well as updated it (8.0.2), I have repaired disk permissions in Disk Utility, and it still keeps popping up. I cannot get on with my projects and I have deadlines!
I found an IT support site, according to that I don't have enough space on my HD. However, I do... I'm confused, and desperately need help.
Thank you so much, I'm looking forward to hearing from somebody.
AgnesI am not opening any files, just launching Logic.
I know. And when you launch Logic, it loads its preferences files - and it seems this is failing - most likely due to file corruption. So delete the file, as I said, and Logic should load fine. -
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 ZanettiGood 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 -
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 ..
ThanksDue 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... -
Create end of file character in email attachment
Hi all,
Currently I am attaching a text file to the email send using FM 'SO_NEW_DOCUMENT_ATT_SEND_API1'.
But here the issue is, in attachment file there are extra 3 blank lines are getting filled which client does't want.
Is there any way to generate end of file character, to add after all rows got filled in internal table?
Or is there any way to not to filled blank lines at the end of the file?
Please advise a solution.
Thanks and Regards
NishadHi,
gs_packinglist-doc_size = gf_count * 255 .
This is how I am passing the doc_size. In the above, gf_count is the number rows in attachment file that I am multiplying with 255 characters as I am passing attachment in contents_bin parameter.
Thanks and regards
Nishad -
Help - Premature end of file Exception while using saaj
Hi Everyone,
I have written a sample saaj client, with a string as an attachment and trying to send it to a servlet as shown in the example below:
* SaajClient.java
* Created on June 23, 2004, 5:49 PM
* @author Krishna Menon
import javax.xml.soap.*;
import javax.xml.messaging.URLEndpoint;
public class SaajClient {
public SaajClient() throws Exception
try{
SOAPMessage soapMessage = MessageFactory.newInstance().createMessage();
SOAPPart soapPart = soapMessage.getSOAPPart();
SOAPEnvelope envelope = soapPart.getEnvelope();
SOAPHeader header = envelope.getHeader();
SOAPBody body = envelope.getBody();
header.detachNode();
String str = "Something a;alskdjf;laksjdfl;akjsdf;lk ;alskdjfl;asjdfl;ajk ;kdls a;kl";
if(soapMessage != null)
AttachmentPart attachment = soapMessage.createAttachmentPart();
attachment.setContentType("text/plain");
attachment.setContent(str,"text/plain");
attachment.setContentId("Sample_String");
soapMessage.addAttachmentPart(attachment);
soapMessage.saveChanges();
SOAPConnection connection = SOAPConnectionFactory.newInstance().createConnection();
URLEndpoint endpoint = new URLEndpoint("http://10.2.1.132:8080/WebServices/servlet/AttachmentReceiver");
SOAPMessage response = connection.call(soapMessage,endpoint);
response.writeTo(System.out);
}catch(Exception e)
System.out.println("Caught in constructor");
e.printStackTrace();
public static void main(String args[])
try
SaajClient client = new SaajClient();
}catch(Exception e)
e.printStackTrace();
When I run the above program, it is giving the following exception:
Caught in constructor
javax.xml.soap.SOAPException: org.xml.sax.SAXParseException: Premature end of file.
at org.apache.axis.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:110)
at SaajClient.<init>(SaajClient.java:58)
at SaajClient.main(SaajClient.java:74)
Caused by: org.xml.sax.SAXParseException: Premature end of file.
at org.apache.axis.AxisFault.makeFault(AxisFault.java:129)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:543)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
at org.apache.axis.client.Call.invokeEngine(Call.java:2583)
at org.apache.axis.client.Call.invoke(Call.java:2553)
at org.apache.axis.client.Call.invoke(Call.java:1753)
at org.apache.axis.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:105)
... 2 more
Caused by: org.xml.sax.SAXParseException: Premature end of file.
at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1139)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
at org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:242)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
... 7 more
If anybody has a solution for it, please post it here.
Thanks in advance,
With Regards,
Krishna Menon. B.Hi
Actually the problem is not with the client but with the servlet I think. In the servlet, I am able to retrieve the attachment and print its content. After receiving the Message, I am creating a new message and populating its body with a new child element and returning the message back to the client. Just Before returning the message, I am getting the Axis Fault error in the log file. I am giving the code for the Servlet I have used below:
* AttachmentReceiver.java
* Created on June 23, 2004, 7:11 PM
* @author Krishna Menon
import java.util.Iterator;
import javax.servlet.ServletException;
import javax.xml.messaging.JAXMServlet;
import javax.xml.messaging.ReqRespListener;
import javax.xml.soap.AttachmentPart;
import javax.xml.soap.MessageFactory;
import javax.xml.soap.SOAPEnvelope;
import javax.xml.soap.SOAPMessage;
import javax.xml.soap.SOAPPart;
import javax.xml.soap.SOAPFactory;
* Servlet that accepts a SOAP message and looks through
* its attachments before sending the SOAP part of the message
* to the console and sending back a response
* @author Krishna Menon
public class AttachmentReceiver extends JAXMServlet implements ReqRespListener {
private MessageFactory fac;
public void init() throws ServletException {
try {
fac = MessageFactory.newInstance();
catch( Exception ex ) {
System.out.println("In AttachmentReceiver init");
ex.printStackTrace();
throw new ServletException( ex );
// This is the application code for handling the message.. Once the
// message is received the application can retrieve the soap part, the
// attachment part if there are any, or any other information from the
// message.
public SOAPMessage onMessage( SOAPMessage message ) {
System.out.println( "On message called in receiving servlet" );
try {
System.out.println( "\nMessage Received: " );
System.out.println( "\n============ start ============\n" );
// dump out attachments
System.out.println( "Number of Attachments: " + message.countAttachments() );
int i = 1;
for( Iterator it = message.getAttachments(); it.hasNext(); i++ ) {
AttachmentPart ap = (AttachmentPart) it.next();
System.out.println( "Attachment #" + i + " content type : " +
ap.getContentType() );
System.out.println("Attachment Content ::"+ap.getContent());
// dump out the SOAP part of the message
SOAPPart soapPart = message.getSOAPPart();
System.out.println( "SOAP Part of Message:\n\n" + soapPart );
System.out.println( "\n============ end ===========\n" );
SOAPMessage msg = fac.createMessage();
SOAPEnvelope env = msg.getSOAPPart().getEnvelope();
SOAPFactory soapFactory = SOAPFactory.newInstance();
System.out.println("Before getBody");
env.getBody().addChildElement(soapFactory.createName("MessageResponse")).addTextNode("From Attachment Servlet"+"\nYour Attachment Received");
System.out.println("After getBody");
//addChildElement("MessageResponse").addTextNode("From Attachment Servlet"+"\nYour Attachment Received");
msg.saveChanges();
System.out.println("After Msg Save Changes");
return msg;
catch( Exception e ) {
System.out.println("From OnMessage() of AttachmentReceiver");
e.printStackTrace();
return null;
This is generating the following series of errors in the catalina.out (Tomcat4.1 error log ) file:
On message called in receiving servlet
Message Received:
============ start ============
Number of Attachments: 1
Attachment #1 content type : text/plain
SOAP Part of Message:
org.apache.axis.SOAPPart@16fdac
============ end ===========
- java.io.IOException:
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.lang.ClassCastException
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace: java.lang.ClassCastException
at org.apache.axis.message.SOAPBody.outputImpl(SOAPBody.java:173)
at org.apache.axis.message.SOAPEnvelope.outputImpl(SOAPEnvelope.java:509)
at org.apache.axis.message.MessageElement.output(MessageElement.java:783)
at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:270)
at org.apache.axis.Message.writeTo(Message.java:440)
at javax.xml.messaging.JAXMServlet.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown Source)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown Source)
at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown Source)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown Source)
at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
at org.apache.catalina.core.StandardContextValve.invoke(Unknown Source)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown Source)
at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
at org.apache.catalina.core.StandardContext.invoke(Unknown Source)
at org.apache.catalina.core.StandardHostValve.invoke(Unknown Source)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown Source)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(Unknown Source)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown Source)
at org.apache.catalina.valves.ErrorReportValve.invoke(Unknown Source)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown Source)
at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
at org.apache.catalina.core.StandardEngineValve.invoke(Unknown Source)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown Source)
at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
at java.lang.Thread.run(Thread.java:534)
java.lang.ClassCastException
at org.apache.axis.AxisFault.makeFault(AxisFault.java:129)
at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:272)
at org.apache.axis.Message.writeTo(Message.java:440)
at javax.xml.messaging.JAXMServlet.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown Source)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown Source)
at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown Source)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown Source)
at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
at org.apache.catalina.core.StandardContextValve.invoke(Unknown Source)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown Source)
at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
at org.apache.catalina.core.StandardContext.invoke(Unknown Source)
at org.apache.catalina.core.StandardHostValve.invoke(Unknown Source)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown Source)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(Unknown Source)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown Source)
at org.apache.catalina.valves.ErrorReportValve.invoke(Unknown Source)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown Source)
at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
at org.apache.catalina.core.StandardEngineValve.invoke(Unknown Source)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown Source)
at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.lang.ClassCastException
at org.apache.axis.message.SOAPBody.outputImpl(SOAPBody.java:173)
at org.apache.axis.message.SOAPEnvelope.outputImpl(SOAPEnvelope.java:509)
at org.apache.axis.message.MessageElement.output(MessageElement.java:783)
at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:270)
... 33 more -
ORA-03113: end-of-file on communication channel while executing a query
Hi all,
I am getting following error while executing one of the query.
ORA-03113: end-of-file on communication channel
The query involves subqueries. At one point, in the second last condition of the whole query is the cause. what makes the query to disconnect from database.
I am pasting the whole query with highlighted part causing the error.
select
A.Num_Employee_Id as col_0_0_,
A.Str_Name_For_Reports as col_1_0_
from
Est_Esb_employee_m A
where
A.num_office_id=1
and A.Num_Employee_Id not in
(select
B.Num_Employee_Id
from
Est_Esb_Employee_Service_D B
where
B.Chr_Curr_Status='N'
and
B.Dat_Effective_Date is not null
and
B.Dat_Effective_Date=
(select
max(C.Dat_Effective_Date)
from
Est_Esb_Employee_Service_D C
where
C.Num_Employee_Id=B.Num_Employee_Id
and C.Dat_Effective_Date is not null
and B.Num_Transaction_Id=
(select
max(D.Num_Transaction_Id)
from
Est_Esb_Employee_Service_D D
where
D.Dat_Effective_Date=
(select
max(E.Dat_Effective_Date)
from
Est_Esb_Employee_Service_D E
where
Num_Employee_Id=D.Num_Employee_Id
and D.Num_Employee_Id=B.Num_Employee_Id
and B.Num_New_Office_Id=1
order by
A.Str_First_Name,
A.Str_Middle_Name,
A.Str_Last_Name
Awaiting your valuable suggestions.
Regards
Vijay KumarI would start by compareing the explain plan of both versions of the statement.
Also by adding such a restriction you might change from an uncorrelated subquery to a correlated subquery. I'm not sure, because your code is hardly readably without formatting.
In any case you seem to select again and again from the same table. Maybe you should find a way to optimize to query in terms of io (less table access). Then this problem could go away. -
Error while starting the server - Unexpected end of file from server|
Hi,
I am getting below error when I start my glassfish server.
SEVERE|sun-appserver2.1|com.stc.emanager.deployment.sunone.model.runtime.ServerRuntimeModel|_ThreadID=86;_ThreadName=httpWorkerThread-4048-3;_RequestID=8d1f2acd-9e4e-4e9f-a9fd-3b21e4223318;|Unexpected end of file from server|#]
I see the process is running. But, I am not able to open admin console.
could any one plz help me to resolve this issue.
Thanks in Advance,
-ManandiWelcome to the forum.
Unfortunately for you, posting only about things not working isn't going to net you assistance or answers - at most you can get sympathy but there isn't too much of that to share with everyone. You should find a forum for the particular product that is not working. If you have a problem with Glassfish, then try the Glassfish forum.
http://www.java.net/forums/glassfish/glassfish -
Error ORA-03113: end-of-file on communication channel (while starting db)
Hello everybody! :-)
Looks like a need help with Oracle 11gr2 (RHEL 6 x64). Faced with a problem while starting database:
sqlplus / as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Fri Dec 7 01:43:45 2012
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Total System Global Area 2538741760 bytes
Fixed Size 2216024 bytes
Variable Size 1828720552 bytes
Database Buffers 687865856 bytes
Redo Buffers 19939328 bytes
Database mounted.
ORA-03113: end-of-file on communication channel
Process ID: 6601
Session ID: 575 Serial number: 5
This is logfile (/u01/app/oracle/diag/rdbms/orcldocs1/orcldocs1/alert/log.xml):
<msg time='2012-12-07T01:52:22.363+04:00' org_id='oracle' comp_id='rdbms'
client_id='' type='UNKNOWN' level='16'
host_id='localhost.localdomain' host_addr='127.0.0.1' module='[email protected] (TNS V1-V3)'
pid='6881'>
<txt>Errors in file /u01/app/oracle/diag/rdbms/orcldocs1/orcldocs1/trace/orcldocs1_ora_6881.trc:
ORA-19809: limit exceeded for recovery files
ORA-19804: cannot reclaim 28496896 bytes disk space from 5218762752 limit
</txt>
</msg>
<msg time='2012-12-07T01:52:22.363+04:00' org_id='oracle' comp_id='rdbms'
client_id='' type='UNKNOWN' level='16'
host_id='localhost.localdomain' host_addr='127.0.0.1' module='[email protected] (TNS V1-V3)'
pid='6881'>
<txt>ARCH: Error 19809 Creating archive log file to '/u01/app/oracle/flash_recovery_area/ORCLDOCS1/archivelog/2012_12_07/o1_mf_1_249_%u_.arc'
</txt>
</msg>
<msg time='2012-12-07T01:52:22.368+04:00' org_id='oracle' comp_id='rdbms'
client_id='' type='UNKNOWN' level='16'
host_id='localhost.localdomain' host_addr='127.0.0.1' module='[email protected] (TNS V1-V3)'
pid='6881'>
<txt>Errors in file /u01/app/oracle/diag/rdbms/orcldocs1/orcldocs1/trace/orcldocs1_ora_6881.trc:
ORA-16038: log 3 sequence# 249 cannot be archived
ORA-19809: limit exceeded for recovery files
ORA-00312: online log 3 thread 1: '/u01/app/oracle/oradata/orcldocs1/redo03.log'
</txt>
</msg>
<msg time='2012-12-07T01:52:22.368+04:00' org_id='oracle' comp_id='rdbms'
client_id='' type='UNKNOWN' level='16'
host_id='localhost.localdomain' host_addr='127.0.0.1' module='[email protected] (TNS V1-V3)'
pid='6881'>
<txt>USER (ospid: 6881): terminating the instance due to error 16038
</txt>
</msg>
<msg time='2012-12-07T01:52:23.540+04:00' org_id='oracle' comp_id='rdbms'
client_id='' type='UNKNOWN' level='16'
host_id='localhost.localdomain' host_addr='127.0.0.1' module='[email protected] (TNS V1-V3)'
pid='6881'>
<txt>Instance terminated by USER, pid = 6881
</txt>
</msg>
How can I resolve it, please advice. Thank you.
Edited by: user9001403 on 06.12.2012 5:58Hi,
Looks like your archivelog space is exhausted. Increase the db_recovery_file_dest_size size and check.
SQL> show parameter db_recovery
NAME TYPE VALUE
db_recovery_file_dest string /oracle/flash_recovery_area
db_recovery_file_dest_size big integer 3882MRegards,
Anand. -
End of file 16072 error encore V 1.5.1.42735
I've been at this awhile and usually don't have much trouble so this is beginning to make me a little cranky. I used to get this error once in a while for the usual reasons (vid and audio not same length and mismatch on time/duration on animated buttons). Latley it has started to come up on every single project and seems way random.
Here is the typical scenario. I Export a dozen or so movies from PPro 1.5 at MS DV AVI. I import as timeline in Encore 1.5.1. I use automatic transcode and build the DVD as an image on my HD to test. I get the end of file 16072 error.
This is how a I trouble shoot. I create a new Encore project called test. I import the .m2v and the .wav files from the Transcodes folder of the Encore project one at a time. In this way I avoid retranscoding the movie saving a little time. The test project has no menus or buttons and only one timeline set as first play. I build a dvd image on my HD one at a time until I get the same error in the "test" project. I then go back in PPro and work on the the Timeline that I exported the movie from. Sometimes I can just delete the last clip from the timeline and the error goes away. Then I edit the last clip back in, re-export and retest it. Most of the time it is then OK. If it is I then bring it back into the Encore project I was working on in the first place and works. Other times that does not work and I can keep going back one clip at a time until I find the problem or sometimes it is just quicker to re-edit the whole section of source material into a new timeline.
The project I am working on right now started out as seven hours of DV. I am working on the third DVD I created from it after editing down to about three hours of final footage broken up into about 36 timelines. This last Encore project has 14 timelines and three of them produce the error when testing. I just fixed one of them by deleting the last clip and testing. The other two are next up but jeeze this is getting old. No motion menus or animated buttons. The problem is with the .avi as in the test project I use it is the only timeline and set to first play with no menus or buttons.
I am looking for some informed advice from someone who has specific experience with this error and has whipped it. I have read more than a few posts from people that have gotten this error and with most it is because the material they are working with has caused it with good reason. That does not seem to be the case with my projects. I edit the same way, export the same way from PPro. I import in Encore and build basically the same project over and over. Why would I get this seemingly random error. Can I avoid it?
I have the Adobe Video Collection Professional, paid a ton for it and it does everything I need. I can't upgrade with out building an entirely new system to run the new software anyway and the money is not there for it.
I have 39 hours of video I need to edit into hundreds of timelines and this error is eating me alive. This latest project with 7 hours has had days added to it because of this error. Please help me learn solve ar avoid it.
Thanks in advance,
MarkI wonder if there could be some slight Durational difference between the muxed streams, since the Audio is in Audio Units and the Video is in Timecode. Just a sliver of difference *could* yield a problem.
I've read of similar with other muxed sources but never a definitive answer on why En does not pick up and correct this, or how it could occur with the Export from PrPro, or other NLE. Still, it does seem to happen on occasion.
Also, I usually have a bit of Black Video at the Head, and then some at the Tail, so in PrPro, my Video Timeline is always a bit longer, than my Audio Timeline. As there is no Audio signal at the end, PrPro can deal with it perfectly. Will have to try some muxed sources (not my normal workflow) to see if there is something else afoot.
Just thinking here,
Hunt -
End of file error when running an extremely specific SQL call
When I run the query below through my VB.NET app with certain table and column names as parameters on an Oracle 10.1 database (Connection.ServerVersion reports it as 10.1.0.4.0), it fails and throws the following error: Oracle.DataAccess.Client.OracleException: ORA-03113: end-of-file on communication channel. The query does not fail for most table/column names--only a few. The query does not fail with any set of parameters when I run it directly through PL/SQL Developer, nor does it fail with any set of parameters when I run it through VB against a 10.2 database. I'm using ODP.NET 10.2.0.2.20.
Here's the SQL:
SELECT search_condition check_constraint, cols.constraint_name
FROM user_constraints cons, user_cons_columns cols
WHERE constraint_type = 'C'
AND cols.owner = cons.owner
AND cols.table_name = cons.table_name
AND cols.constraint_name = cons.constraint_name
AND cols.table_name = UPPER(:tableName)
AND cols.column_name = UPPER(:columnName)But the weirdest part is that the query always works if I make any one of these changes:
*Change the WHERE line to: "WHERE cons.constraint_type = 'C'".
*Get rid of the UPPERs and pass in upper-case parameters.
*Remove one of the parameters
*Remove "constraint_type = 'C'"
*Change the last line to 'EXPECTED_VALUE' = UPPER(:columnName)
Is there something special about the Query of Death that I wrote? Is anyone even able to replicate this error, iterating in VB over all the columns in a good-sized database? I've never seen anything like this before.
Thanks in advance for your help,
-JustinHi Justin,
I tried to reproduce your complaint, but wasnt able to. I didnt have a 10104 db to test against though, but I did test against 10105, and 10202, using the following dumb table:
create table constr_test ( c1 number);
alter table constr_test add constraint const_1 check (c1 in (1,2,null));
insert into constr_test values (3);
commit;
Frequently a 3113 is the result of an ora-600 or ora-7445 on the database. The fact that it doesnt occur for you on 10.2 db leads me to believe that might be the case here. Have you checked your alert logs?
Cheers,
Greg -
End of file error, elements 12
I've recently started getting an 'End of file' error when I try to open around a third of my RAW files in Elements 12.
Very frustrating, as I've some decent photo's, and means I'm taking having to take photo's twice to compensate, not ideal. I wondered if it may be a space issue, so have deleted lots of files from my Toshiba laptop, and in particular edited files that use up more space. This hasn't helped though so I'm pulling my hair out.
Any help would be greatly appreciated, thank you.Yes, definitely, the GB Project file is corrupt, delete it, empty the trash, and it would be a good idea to run some kind of disk repair program, even if it's just Disk Utility. Then create a new project file.
Good luck --HangTime [Will Compute for Food] B-|> -
Error message: unexpected end-of-file in Photoshop CS4
"could not complete the command because an unexpected end-of-file was encountered"I just started getting them tonight. It happened when I opt-doubled clicked on an image in Dreamweaver to edit in Photoshop. Now it pops up on every image. I just reinstalled Photoshop CS4 and Bridge today. Help!
Check your scratch disks for fragmentation ( use something like disk warrior ) and available space. Sounds like the files are not getting completely saved.
-
If I try to seek (or read) with the position mode wired and set for START, I get error 4 (END OF FILE) if the file is larger than 2 GB. I'm only trying to move the file pointer 4096 bytes, not trying to seek or read more than 2GB, but I get the error if the file is over 2Gig.
Instead, I have to do reads, with the position mode unwired, until I get to the place in the file that I want to be.
Is this expected behavior?Hello,
LabVIEW File I/O functions use an I32 value to store the size of a file. This means that we are limited to ~2GB file sizes when using the File I/O functions in LabVIEW. This explains why you are seeing odd behavior when trying to read to the end of the file, since this is causing the byte count to exceed ~2GB.
I hope this explanation sheds some light on the situation for you. Hopefully the workaround (repeated reads) is not too much of an inconvenience.
Good luck with your application, and have a pleasant day.
Sincerely,
Darren Nattinger
Applications Engineer
National Instruments
Darren Nattinger, CLA
LabVIEW Artisan and Nugget Penman
Maybe you are looking for
-
How do I change my Apple ID associated with ICloud on my IPhone?
Any ideas? I have looked for this option on line and in my phone settings with no luck.
-
Mobile Phone Phone contact backup
Hallo there I'm developing an application which will enable users to save there contact online by reading them from there SIM Module i'm using mysql as the server back end and elipse ide as the developer front and Wireless Toolkit 2.5.2 as the mobile
-
Accessing Essbase Admin Services Console in Red Hat Linux 4.0
Hi, I would like to start Essbase Administration Services Console in Red Hat Linux 4.0 Kindly describe the steps. -Jitendra
-
Hello forum, here's my problem: We're a seven member team and all of us have installed Developer Workplace (WAS, Portal, Developer Studio, MaxDB...) in our pcs. We installed this Developer Workplace from our company's Netweaver DVD's, not from the Sn
-
Hi, I have a requirement where given a date, I need to get the range from the given date and the last date of the subsequent month. For example if the given date is 20070517(YYYYMMDD), I need to fetch records within the range of this date that is 200