Export Corruption Issues
Ok so I am on the verge of ripping out my hair. I spent a good 2 hours trying to recreate the SIMPLEST Andrew Kramer tutorial, bought his plug ins and all that. I finally finished and it (in my opinion) looked great but when i make a movie the file becomes completely corrupted.
When i PRAM in After Effects everything works perfectly. After exporting, the audio is not synchronized, their is MAJOR frame skippage/lag and its just overall corrupted.
In addition to this when i go to File>Export>Premeiere Project I get an error telling me i am missing a curve and another video filter, which results in a COMPLETELY different "movie" than what i have in After effects..please someone save me from this torment.
Once in the render queue i opened output
In the format options I have "None" Selected for "Video Codec".
Format is AVI.
Post render Action- None
Video Output selected (obviously)
Channels - RGB
Depth- Millions of Colors
Color- Premultiplied (matted)
Audio Selected
48khz 16bit stereo.
My composition settings are HDTV 1080 29.97 @ 1920x1080 Sq. Pixels.
Within my comp i have 2 text layers 1 of them is animated
5 JPG Layers with my Grunge Images
1 .MOV FILE
1 Camera
1 Adjustment Layer
and 2 .WAV Files
I know it has to have something to do with my format/codec/frame rate but im stumped.
What version of After Effects? Have you installed the most recent update?
> When i PRAM in After Effects
What does this mean?
> In addition to this when i go to File>Export>Premeiere Project
Why are you doing this?
> After exporting, the audio is not synchronized, their is MAJOR frame skippage/lag and its just overall corrupted.
Once in the render queue i opened output
In the format options I have "None" Selected for "Video Codec".
Format is AVI.
If you're rendering and exporting to AVI with no compression, then it's not surprising that you're seeing lagging on playback. The playback of such huge files in real time in a media player can be overly demanding on a media player and hard disk. Movies with no compression are not intended for real-time playback. See this FAQ entry:
http://forums.adobe.com/thread/684381
Similar Messages
-
Remote lock & Memory card corrupted issue
Remote lock & Memory card corrupted issue
Hi Dear Friends,
You might have experienced the "Memory card corrupted issue."
Don't panic! The solution is here!
Your memory card is just 'locked', it isn't 'corrupted'!
For sure, this post would be of great help to you, if:
• You have enabled the "Remote lock" feature of your Nokia device.
• You have sent the remote lock message to your device and locked it remotely.
Finding the solution really took me a lot of time. I was inspired by various posts on the Discussion, and decided to find the official notes on the issue. So would like to thank those who shared their tips, and helped us solve this problem.
I'm using E66, (you might use something else), and would refer to E51's and E65's User guide so often.
Of course, I'm not going to explain the instructions, and recommend you to refer to your user guides when needed.
On the contrary, I'm going to explain what may not be mentioned in your user guides.
Let’s Begin
What Has Happened:
In short, you attempted to test the feature, your phone was locked, you keyed in the lock code, code was accepted, you used the phone for a while, switched it off, powered it on, you were prompted the Lock code, you keyed in the lock code, code was accepted, you attempted to view some stuff that was on your memory card, you didn't find it, you tried to run a program that was installed on your memory card, the program icon didn't open, you put the memory card in the card reader and connected it to PC, it was not detected, you went to Menu> Tools> Memory card> You saw "Memory card corrupted"!
Don't, don't select the Yes selection key if you got the caution message, "Memory Card corrupted, reformat it?" because your memory card isn't corrupted, it's simply being locked!
But you can't find the unlock memory card command in Menu> Tools> Memory card> Options.
So? What to DO?
1. (This step is optional) Disable the Remote lock feature.
(Refer to your user guides) and change Allow Remote Lock> to no.
Then, while the unit is on,
2. Press the power key briefly, and select Remove memory card.
3. Remove the memory card from the slot.
4. Press OK if prompted.
5. Reinsert the memory card in the slot.
6. Reopen Menu> Tools> Memory card.
Is your memory card detected? If yes!
7. Follow tips number 2 & 3 of What to Know section below.
Did you get "Password removed" message?
If no, be careful of the case of the first character.
If you had changed the Remote lock message many times, use the one that was practically sent to the device via text message.
. In case you had set a password on your memory card before, you may also attempt to unlock the locked memory using your own password, not the first eight characters of the remote lock message.
Step seven would make the memory card detectable to the connected card reader to the PC too.
8. The memory card is detected temporarily, but it is locked and the "memory card corrupted" issue reappears every time you switch off/on the phone, unless you successfully complete step seven.
What to Know?
Official User guide Tips:
1. Remote locking also locks your memory card. (E51 page100)
. Yes, the one mobile phone that sends your device the predefined remote locking message, receives the confirmation message in response, indicating, "Mobile telephone and memory card are locked". But it isn't written in E66's and E65's.
2. To unlock the memory card, select Menu> Tools> Memory> Options> Remove password, and "enter the remote locking message as the password". (E51 page100)
. Yes, quite clear, but the quoted part ("enter the remote locking message as the password") isn't written on my E66's User guide, and there's a vague precaution on E65's, (refer to number 4).
3. If the message is longer than 8 characters, the first 8 characters are used as the memory card password. (E51 page100)
. Yes, quite clear good E51, but I don't own you; I have E66 your little sister. I owe my memory card's survival to nice users on the Discussion.
4. The maximum number of characters allowed is 8. Using more than 8 characters could prevent unlocking the memory card and require reformatting it. If reformatting the memory card is required, all information on the card will be lost. (E65 page28)
. Quite interesting, but it contradicts what good E51 says in number three¡!
. And it contradicts my own experience of the issue (and some other users' on the Discussion) too, since my E66's memory card accepted the 'first eight characters' of the 'ten-character long’ remote lock message that I had previously used to remote lock it.
. The first three tips are quite important and shouldn't have been excluded from E66's and E65's user guides. I don't have the time to download and review all the user guides that support this feature, but at least I read some user manuals and also got the impression (from the posts on the discussion) that there had been not enough information on E66's, E65's, E71's, N96's, and some others.
You may like to do a simple search on Google:
"The first 8 characters are used as the memory card password" site:nokia.com
Since the content of the user guides on the server seem not be searchable for any reason, you won't find any official support result except those of the good users on the Discussions. And the 'Nokia Site Search" brings no result too. (At least on the date of this post).
¡ Terribly sorry for those who have selected Yes to the Reformat caution message. It wasn't your fault. But there's an idiom that says, sleep on it! "Think about it for a while before coming up with a decision".
But now that you have tested the feature and know its solution, don't be afraid, and enable the Remote lock feature again! God forbid, but it may be needed one day!
Yours,
http://nds1.nokia.com/phones/files/guides/Nokia_E51_UG_en.pdf
http://nds1.nokia.com/phones/files/guides/Nokia_E65-1_UG_en.pdf
http://nds1.nokia.com/phones/files/guides/Nokia_E66-1_UG_en.pdfDear, I guess, / This article doesn't suit your case. / • You have not enabled the "Remote lock" feature of your Nokia device. / • You have not locked your device remotely. / Because you don't know where the remote lock is and haven't played with its settings. / You need to explain what has happened. / The only thing we get is that your memory card doesn't open. / 1. your phone model, e.g., 5130. / 2. What did you do recently that might have caused this issue? / 3. What methods did you try to unlock it? / Use some of the tips provided above. (except number 1). / Yours
-
How to deal with corruption issue?
A couple of months ago after installing Aperture 2, my Imac started slowing down, every program at some time would hang and could not be forced to quit. The machine had to be turned off (control command power) and left off for several minutes. On restart, things would be fine for 1 to several days. It has been to the shop twice with no improvement and I have talked to the experts a couple of time. This is my first mac so I only have a couple of years experience. From all I have read it would seem I have a corruption issue. I set up a troubleshooting account and the computer acts like it did when it was new on that account. Of course I can use none of my data in this account. Where do I go from here, reset preferences, archive and reformat? Please give me some suggestions and directions on how to do it?
Thanks,
oldgrandadHi,
It sounds like it's the same issue I was having. In my experience, as long as important data is backed up, doing an "Erase & Install" from time to time clears out any files/data that is causing your system to run slow (cache files etc). Mine had become painfully slow (I work mainly with images/large files) & was getting a bit frustrating if I was using Aperture & Photoshop etc.
I also use Techtool Pro to defrag & keep my hard drives in good shape.
The extra RAM combined with the "cleanse" definitely made a big improvement & all programmes run extremely well now.
Ben -
MSI 870A-G54 Blue Screen & Corruption Issues in Windows 7 64-bit
I am having periodic blue screen and corruption issues in Winodws 7 64-bit with my MSI 870A-G54 system. I have a Phenom II X2 560 BE processor, 2 4GB DDR 1333 DIMMs (first bank - unganged), 2 2GB DDR3 1333 DIMMs (2nd bank - unganged), 2 Hitachi 1TB 32MB Cache HDD's in a RAID 0 array, two Galaxy PCIe2.0 GT9500's, 550w power supply, internal DVD drive, and 1 1TB Seagate external 3.0 USB drive. After I load all the supplementary drivers from the MSI site (ensuring I use the 64bit versions), my system becomes unstable. I even tried the new motherboard chipset drivers from AMD (10.12). I am running the latest firmware as well (17.7). The system in not overclocked in any manner and I experience the same results with fail-safe and optimized settings.
I have tried isolating the issue after loading each driver, but due to the random nature of the issue, I am not having success. I have also performed memory and CPU tests that report no errors. Any ideas?
Thanks for your help...What specifications are you referencing that indicate this processor only works with two sticks of RAM?
My exact specifications are listed below. Thanks again for your help...
Component Manufacturer Model Notes
Motherboard MSI 870A-G54
Processor AMD Phenom II X2 560 BE
Video Card Galaxy 9500 GT PCIe 2.0 - 512MB DDR3
Video Card Galaxy 9500 GT PCIe 2.0 - 512MB DDR3
Case Antec Three Hundred ATX
Power Supply OCZ OCZ550FTY Fata1ty 550w Modular
Hard Disk Drive Hitachi H3D10003272S SATAII 1TB 32MB Cache
Hard Disk Drive Hitachi H3D10003272S SATAII 1TB 32MB Cache
Memory PNY MD4096KD3-1333 1 2GB DDR3 1333MHz
Memory PNY MD4096KD3-1333 1 2GB DDR3 1333MHz
Memory OCZ OCZ3G1333LV8GK 1 4GB DDR3 1333MHz
Memory OCZ OCZ3G1333LV8GK 1 4GB DDR3 1333MHz
DVD Burner Sony Optiarc AD-7261S SATA -
KIMYONG : basic Export / Attachment issues 가이드
Purpose
======
이 문서는 Support Analayst / DBA에게 Export /Attachments issues 발생시
조치할수 있는 기본적인 Troubleshooting Guide를 소개하고자 합니다.
Explanations
======
Export Analysis
Turn on export debug,
Go to Help -> Diagnostics -> Examine
Set Block = GLOBAL
Set Field = FND_EXPORT_DEBUG
Set Value = TRUE
Then export and observe the messages that are generated during the export process
Important Parameters.
set serveroutput on
declare
plsql_agent varchar2(200);
web_server varchar2(200);
dad varchar2(200);
gfm_agent varchar2(200);
protocol varchar2(200);
database_id varchar2(200);
jsp_agent varchar2(200);
check_enabled varchar2(200) ;
begin
plsql_agent := fnd_web_config.plsql_agent ;
dbms_output.put_line('PL SQL Agent ->'||plsql_agent);
web_server :=fnd_web_config.web_server ;
dbms_output.put_line('Web Server ->'||web_server);
dad := fnd_web_config.dad ;
dbms_output.put_line('DAD ->'||dad);
gfm_agent := fnd_web_config.gfm_agent ;
dbms_output.put_line('GFM Agent ->'||gfm_agent);
protocol := fnd_web_config.protocol ;
dbms_output.put_line('Protocol ->'||protocol);
database_id := fnd_web_config.database_id ;
dbms_output.put_line('Database Id ->'||database_id);
jsp_agent := fnd_web_config.jsp_agent ;
dbms_output.put_line('JSP Agent ->'||jsp_agent);
check_enabled := fnd_web_config.check_enabled('FND_GFM.GET') ;
dbms_output.put_line('FND_GFM.GET ->'||check_enabled);
end ;
Examining SQL Trace for the sequence of events that happen in the Export process
SQL >alter session set events '10046 trace name context forever, level 12';
Then run the following block of pl/sql code
set serveroutput on
declare
db_file number;
mime_type varchar2(255) :='text/plain' ;
out_string varchar2(32767) :='Just some plain text that is stored' ;
web_server_prefix varchar2(500);
url varchar2(500);
begin
db_file :=fnd_gfm.file_create(content_type =>mime_type,program_name=>'export');
fnd_gfm.file_write_line(db_file,out_string);
db_file :=fnd_gfm.file_close(db_file);
url:=fnd_gfm.construct_download_url(fnd_web_config.gfm_agent,db_file,TRUE);
dbms_output.put_line(url);
end;
Exit the sql plus session and study the sql trace file as being there in USER_DUMP_DEST
$ ls -lrt
Refer to Note # 282806.1 Performance Tuning Approach for Oracle(8.1.6 - 9.2.0.5) on
UNIX for more information on how to obtain sql tracing .
Example of download URL :-
http://finance.sriratu:8001/pls/SR/fndgfm/fnd_gfm.get/776537528/202595/fnd_gfm.tsv
http://aoltest2.idc.oracle.com:8000/pls/VIS/fndgfm/fnd_gfm.get/820067633/298941/Screen_shots.doc
Example of Upload Attachment URL:
http://aoltest2.idc.oracle.com:8000/pls/VIS/OracleSSWA.Execute?
E=%7B!2DAF44968EBBEC83211B5D5F27F58334FBFB2B90E38AD205&P=%7B!BEFD8114A932C86A1548EC73FFCF6EADB4F7826B217EDCE92719B62BDA9FF0AF193DC7BC64A2C60AFC5123B50C8C78F9E6807695ED9A7FE7AE87F8E49E80807223756706B3FC777F645FA5A07C7A467B
http://aoltest2.idc.oracle.com:8000/pls/VIS/OracleSSWA.Execute?
E=%7B!2DAF44968EBBEC83211B5D5F27F58334FBFB2B90E38AD205&P=%7B!BEFD8114A932C86A5525987DB9C8D9785657497306AAE1FD25D1CC352ADF38DFD69C21355096CBC38D285B083D24F261701F5F278E199044D603A5A8B1D588292099782AC4AF3D97E23B95936809D280
To check the row being created in the table FND_LOBS during Export or Attachment
SQL>create table fnd_lobs_bak as
select file_id,file_name from fnd_lobs ;
SQL>select * from fnd_lobs
where file_id not in
(select file_id from fnd_lobs_bak );
SQL>select * from fnd_lobs
where to_char(upload_date,'DD/MM/YYYY')=to_char(sysdate,'DD/MM/YYYY')
Analysis on an Attachment
Help -> Diagnostics -> Examine
Block : DOCUMENT_HEADER
Field : ATTACHED_DOCUMENT_ID
Note down <Value>
SQL>select document_id
from fnd_attached_documents
where attached_document_id=<Value>;
SQL>select media_id
from fnd_documents_tl
where document_id=<document_id>;
SQL>select *
from fnd_lobs
where file_id=<media_id>;
SQL>select *
from fnd_documents_short_text
where media_id=<media_id>;
from fnd_documents_long_text
where media_id=<media_id>;
SQL>select *
from fnd_documents_long_raw
where media_id=<media_id>;
FND_LOBS stores information about all LOBs managed by the Generic File Manager (GFM).
Each row includes the file identifier, name, content-type, and actual data. Each row also
includes the dates the file was uploaded and will expire, the associated program name and
tag, and the language and Oracle characterset.
The file data, which is a binary LOB, is stored exactly as it is uploaded from a client browser,
which means that no translation work is required during a download to make it HTTP compliant.
Therefore uploads from non-browser sources will have to prepare the contents
appropriately (for instance, separating lines with CRLF).
The program_name and program_tag may be used by clients of the GFM for any purpose,
such as striping, partitioning, or purging the table if the program is de-installed.
They are otherwise strictly informative.
These columns and the expiration date are properly set when the
procedure FND_GFM.CONFIRM_UPLOAD is called. If not called, the column
expiration_date remains set, and will eventually be purged by the procedure
FND_GFM.PURGE_EXPIRED.
FND_DOCUMENTS_LONG_RAW stores images and OLE
Objects, such as Word Documents and Excel
spreadsheets, in the database. If the user elects
to link an OLE Object to the document, this table
stores the information necessary for Oracle Forms
to activate the OLE server, and it saves a
bit-mapped image of the OLE server's contents.
If the user does not elect to link an OLE Object,
the entire document will be stored in this table.
FND_DOCUMENTS_LONG_TEXT stores information about
long text documents.
FND_DOCUMENTS_SHORT_TEXT stores information about
short text documents.
To know which Forms provide Attachment feature
SQL>select *
from fnd_attachment_functions
where function_name like '%FND_%';
Examining FND_LOBS tablespace
SQL>select tablespace_name
from dba_tables
where table_name='FND_LOBS';
SQL>select *
from fnd_profile_options_tl
where profile_option_name='FND_EXPORT_MIME_TYPE';
SQL>select a.tablespace_name TABLESPACE_NAME , a.bytes TOTAL_BYTES,
sum(b.bytes) FREE_BYTES , count(*) EXTENTS
from dba_data_files a, dba_free_space b
where a.file_id = b.file_id AND A.TABLESPACE_NAME=<TABLESPACE_NAME>
group by a.tablespace_name, a.bytes
order by a.tablespace_name ;
Examing Profile Option value
SQL>select *
from fnd_profile_options_tl
where profile_option_name='FND_EXPORT_MIME_TYPE' ;
SQL>select b.profile_option_name,level_id,profile_option_value
from fnd_profile_option_values a, fnd_profile_options b
where a.application_id=b.application_id
and a.profile_option_id=b.profile_option_id
and b.profile_option_name in ('FND_EXPORT_MIME_TYPE') ;
Procedure FND_GFM.GET ANALYSIS
http://aoltest2.idc.oracle.com:8000/pls/VIS/fndgfm/fnd_gfm.get/560074272/298951/fnd_gfm.doc
access
SQL>select substr('/560074272/298951/fnd_gfm.doc',instr('/560074272/298951/fnd_gfm.doc','/',1)+1,instr('/560074272/298951/fnd_gfm.doc','/',2)-2) access from dual ;
560074272
file_id
SQL>select substr('/560074272/298951/fnd_gfm.doc',instr('/560074272/298951/fnd_gfm.doc','/',2)+1,(instr('/560074272/298951/fnd_gfm.doc','/',-1)-instr('/560074272/298951/fnd_gfm.doc','/',2)-1)) from dual ;
298951
Profile Options being referenced in the package FND_GFM
FND_EXPORT_MIME_TYPE
FND_NATIVE_CLIENT_ENCODING
Lookup Type Being used in the package FND_GFM
SQL>select tag,lookup_code,meaning
from fnd_lookup_values_vl
where lookup_type='FND_ISO_CHARACTER_SET_MAP';
Reference
========
Note 338651.1 -
We need to cancel Outbound Delivery 1234566 due to a GTS Export License issue.
This delivery was created before the GTS license was complete.
This delivery is for a Military Sales Order 123456 to ABCD for Thales shipped from XYZ
2 Proforma Invoices were created, 123456on 9/18 and 9301154276 and 9/24.
GTS License 100000000000000011 was updated on 9/24. However, the delivery needs to be canceled in order for GTS to assign a Proforma to a license.
The accounting document, F2 Invoice 123456 has been issued but not cleared.
Thanks
SitanshuUse Transaction code /SAPSLL/CL_CP_CUS_EX to display the custom declaration in Customs management. Select the dcoument in change mode. In the menu path, there is an option for 'Cancel' or 'Request Cancellation'. Request cancellation option is used when the declaration has been sent out to authorities for permission and in the meatime, the user decided to cancel..
For assigning the license, use transaction /SAPSLL/LCD_CHANGE in License determination of Compliance.. -
E4200V2 file corruption issues
Hello,
I am getting file corruption issues when doing a file transfer onto the NAS (hard drive plugged into the router). Files are turned into folders while keeping the same filename. It happens occasionally.
I have firmware: 2.1.39.145204 installed.
Any remedy for this as it is a very serious problem.The only known solution is to call linksys and ask them for a replacement router model that does not contain the bug. See thread link for details.
http://community.linksys.com/t5/Wireless-Routers/Media-files-changing-to-folder-types/td-p/504192/hi... -
Salesforce attachment export corrupts pdf
I am using informatica to export attachments from salesforce and save them to a folder on a unix server. I am following a process similar to the attachment (this was from another discussion in this forum). This export works fine for most file types like doc, xlsx, and text files. The file gets exported and can be opened once FTP'd to a windows server. However, in case of pdf files, the file does get exported. However when I try to open the file, I get a message that the file is corrupted. I have verified this is not an issue with the FTP process (once the file is saved to unix). Has anyone encountered a similar error ? How were you able to resolve it ? Thanks,Mario
- RTF Processor Engine PROBLEM IN CREATE XSL FILE
answered -
Export Image issues with Windows 8, Lightroom 3
I am using Windows 8 and Lightroom 3. It will not let me export images. When I try to click on export (no matter which link I try), the application freezes and ends in not responding. Anyway to fix this?
One more thing you can try is to delete your 'Preferences' file. There have been many issues of strange behavior in Lightroom due to a corrupted 'Preferences' file. When you install an update or uninstall a previous version the 'Preferences' file, catalog and preview files are not removed.
Close Lightroom and manually delete the 'Preferences' file. When you restart Lightroom it will automatically create a new 'Preferences' file with the default settings.
The preferences file is the com.adobe.Lightroom3.plist file, located in [user name]/Library/Preferences. This is the file you want to delete, but no others! -
LR 5.2 corruption issues
After installing the update, suddenly files are going corrupt- not all in the collection. Can't export, Can't locate. Seems to only happen with the jpegs. Any thoughts? I tested my external drive and it passed. It better too, I just bought it 2 weeks ago.
Thanks for your help. I am ready to freak out.Can't locate is an entirely different issue than corrupt.
So, perhaps you have two things going on??
Corrupt files probably indicates a harddrive problem.
Can't locate means that somehow, the photos have moved or been renamed outside of Lightroom. Can't locate can be fixed via http://www.computer-darkroom.com/lr2_find_folder/find-folder.htm. Or in rare cases, I suppose that "can't locate" indicates potentially the same hard drive problem.
I am having to go back to the raw files, reedit, re save over the damaged file.
Proper use of Lightroom would mean you would NOT have to go back and re-edit. Normally, you import a RAW file into Lightroom and you leave it imported into Lightroom, you don't delete it from Lightroom, so that Lightroom always retains your edits in its database. Thus, at any point in the future, you could return to Lightroom and view or use your edited photo without having to re-edit the file. -
Test data corrupted issue while re-opening the Test in PTF8.53
Hi,
While re-opening the test case in PTF8.53,there is a pop up message displaying test data is corrupted.
Ran successfully yesterday,trying to reopen however getting this issue.
Any solution to retreive it back?Actually....iam opening the form from windows xp.Means what? Are u opening in the browser or in the Forms Builder?
----in the browser
when i create a new form in windows xp using developer suite (i have installed developer suite) i am able to connect the database. i checked the tnsping in server its working.....
This means developer suite has been configured for database.---i configured the developer suite(172.16.7.123) to 9idb(172.16.7.2)
but i am not able to open the form.What error are u getting when u open the form?
---when i open the form in the browser (http://appsworld.ncc.com:7778/forms/frmservlet?config=test)
its asking me the username,password,database.
i gave username=ncc password=nccpwd database=test
In the db server's tnsnames.ora...i have given the db details under test.
if i do "tnsping test" the result is ok. but when i open the form in the browser im getting the ora-12514 error after giving the above said details of username.
But....when i give the username,password and database of infrastructure i.e.,
username=system password=oradba database=orcl then the form is opening in the browser. -
SocketChannelImpl write data corruption issue
Hi,
I am new in working with the SocketChannelImpl class.. In fact java is not my forte.. I come from the C++ world. Recently we ported a socket based communication library originally written in C++ (this lib allows various processes in our App to communicate via sockets) to java to allow integration with an existing java application. We chose to use the same communication library in java to allow seamless application level integration.
Things works fine mostly except few quirky-ness with data payload integraity when passed between the java based process to C++ based process. This app is running on solaris 10 with mostly latest patchset.
Here is the typical action doen while communicating:
- An object at the java process end is encoded in to an ASCII (UTF8/ISO-8859-1) char stream with delimeters like "\t", 0x07, etc. This results in a contiguous char stream.
- The data is then pushed over the socket to the peer process.
- The C++ process end then receives the payload and decode the data to recontruct the object with known delimeter, data markers, etc.
We have not seen any issues with communication between C++ processes, however we have seen that between the java process and any other C++ processes, the payload contents changes for certain locations in the char stream. I have debugged from both the java end and c++ end simulataneously and see that when the char stream raw data (byteBuffer) is pushed out from java side in SocketChannelImpl.write() method, the char stream buffer looks perfectly OK in the byteBuffer, however when the read is done in the C++ process side and when I look at the raw data received, I see that some char sequences have changed!! This obviously causes problems in the C++ side decoding of the raw data.
Here is the java code that sends the encoded dat (The method receives the raw char stream in the byte array buffer )
final byte[] tmpBuffer = new byte[size];
System.arraycopy(buffer, 0, tmpBuffer, 0, size);
final ByteBuffer socketBufferWrite = ByteBuffer.wrap(tmpBuffer);
int ErrorLoop = 0;
final int MAX_LOOP = 100;
int TotalWritten = 0;
do {
result = -1;
try {
result = socketCh.write(socketBufferWrite);
} catch (final IOException ex) {
trcStalker.logException(ex);
if (result != -1) {
TotalWritten += result;
if (TotalWritten < size) {
result = -1;
if (result == -1) {
ErrorLoop++;
try {
Thread.sleep(100 * ((ErrorLoop / (MAX_LOOP)) + 1)); //
m to catch up
} catch (final InterruptedException ex) {
trcStalker.logException(ex);
} // Wait a bit for the system to catch up
} while ((result == -1) && (ErrorLoop < MAX_LOOP));
My question to you would be what can cause the payload to get corrupted on the wire in socketchannelImpl.write() method invocation? I have tried using directAllocated Vs allocated Vs wrapped byteBuffers.. but the result has been same.
I have not been able to find any pattern of corruption either, i.e. not seeing that the corrupted charactes are increased or decreased by certain number in the charset. However I have seen that certain locations in the buffer always gets changed.
Any idea in debugging/fixing this issue? This thing is driving me nuts!
thansk in advance.final byte[] tmpBuffer = new byte[size];
System.arraycopy(buffer, 0, tmpBuffer, 0, size);
final ByteBuffer socketBufferWrite = ByteBuffer.wrap(tmpBuffer);You can collapse all that to:
final ByteBuffer socketBufferWrite = ByteBuffer.wrap(buffer, 0, size);
result = socketCh.write(socketBufferWrite);
} catch (final IOException ex) {
trcStalker.logException(ex);
if (result != -1) {SocketChannel.write() never returns -1. It can return zero if you are in non-blocking mode. Are you? Otherwise it can only return a positive integer. If you get any kind of IOException while writing to the socket the connection has been dropped and you should close the socket and start all over again. Retrying a write after an IOException is just a waste of time.
if (TotalWritten < size) {
result = -1;TotalWritten can be anything between 0 or 1 depending on your blocking mode, and 'size'. This is not an error.
Thread.sleep(100 * ((ErrorLoop / (MAX_LOOP)) + 1)); //What is the purpose of this sleep?
My question to you would be what can cause the payload to get corrupted on the wire in socketchannelImpl.write() method invocation?Nothing except bad coding at one end or the other.
I have tried using directAllocated Vs allocated Vs wrapped byteBuffers.. but the result has been same.Have you tried using java.net.Socket? Much simpler.
I have not been able to find any pattern of corruption either, i.e. not seeing that the corrupted charactes are increased or decreased by certain number in the charset. However I have seen that certain locations in the buffer always gets changed.It could be a disagreement about charsets between the sender and the receiver. -
External hard drive corruption issues
Hey folks. Really not sure what the best place would be for my question, but I'll try here.
I have a 4 year old LaCie external HD with a 160GB capacity. It stores my iPhoto and iTunes libraries for my iBook, along with a few other bits and pieces.
About a year ago, I noticed some of my files were corrupted and couldn't be played. Whenever I tried to open one of those files, the drive would start knocking and whatever program was trying to access the file would need to be Force Quit. Hoping to solve the issue, I moved the data,(or course, getting stuck on corrupted files along the way) erased and reformatted the drive and moved the data back. Unfortunately, that didn't solve the problem.
I have the data backed up on another, newer external drive, but I'm wondering if there's a way to isolate the bad sectors in the old drive so they can't be written to anymore? Should I use Disk Utility and repair the disk?
I know the drive's old and could fail at any time, but I'd like to keep using it as long as possible. Also, when it does finally fail, could I just purchase another hard drive and place it in the enclosure? I suppose I should also note that the FireWire 400 ports don't work on the enclosure. I'm sure it's not a defect, as I accidentally dropped the drive shortly after I'd purchased it. That fall is probably the cause of the corruptions as well =/
The USB port works fine and I haven't been able to test the FireWire 800.
Thanks for any advice y'all have!
~LyssaYour drive sounds very sick. I am not sure how likely it is but I would be concerned about your OS becoming seriously corrupted and possibly unbootable as a result of continuing to use this bad external drive.
It would be better if you could test it connected to a non-critical computer.
Do you know the drive specification? - not the make of the box.
Many drives self-repair and also communicate likely future difficulties to the OS but eventually you come to the end of this process.
I am not sure if disk utilities any longer map out bad sectors. Years ago I used a mounting screw that was too long and damaged the magnetic surface. In those days you could manually map out the bad sectors. I then put partitions each side of the mapped out sectors and continued to use the drive for many years.
More recently I had a drive with an intermittent power connection. However even after repairing this and reformatting the drive was never very reliable.
Good drives are relatively inexpensive. You could try a new drive in your box. I always advise buying server quality drives normally identified by a 5 year guarantee. I prefer Western Digital but Seagate also make reliable drives. -
Export import issue from higher version to lower version
Hi,
I have an export dump file which was taken from 11g database(11.2.0.2.0) and trying to import into lower version of the database 9i(9.2.0.6.0), unable to complete the process.
Two ways i have found and tested in my test db
1)TNS entry of 9i database has been put into 11g database
a)Export dump was successfuly taken from 11g db
b)Getting below error,while import into 9i database
IMP-00058: ORACLE error 6550 encountered
ORA-06550: line 1, column 33:
PLS-00302: component 'SET_NO_OUTLINES' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignoredIMP-00000: Import terminated unsuccessfully
2)TNS entry of 11g database put into 9i database version.
a)During export (trying to take exp dump from 11g db in 9i exp utility),getting below error
EXP-00008: ORACLE error 1455 encountered
ORA-01455: converting column overflows integer datatype
EXP-00000: Export terminated unsuccessfully
Kindly advice me to overcome from this issue.
Regards,
Faizmafaiz wrote:
Hi,
I have an export dump file which was taken from 11g database(11.2.0.2.0) and trying to import into lower version of the database 9i(9.2.0.6.0), unable to complete the process.
Two ways i have found and tested in my test db
1)TNS entry of 9i database has been put into 11g database
a)Export dump was successfuly taken from 11g db
b)Getting below error,while import into 9i database
IMP-00058: ORACLE error 6550 encountered
ORA-06550: line 1, column 33:
PLS-00302: component 'SET_NO_OUTLINES' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignoredIMP-00000: Import terminated unsuccessfully
2)TNS entry of 11g database put into 9i database version.
a)During export (trying to take exp dump from 11g db in 9i exp utility),getting below error
EXP-00008: ORACLE error 1455 encountered
ORA-01455: converting column overflows integer datatype
EXP-00000: Export terminated unsuccessfully
Kindly advice me to overcome from this issue.This has nothing to do with APEX. Post on the {forum:id=61} forum. -
[Suggestion/Issue] GPO "Start Menu Layout" / PS Export-StartLayout Issue
To start off with, I have already submitted this to Windows via the Windows Feedback option provided in the client version of Tech Preview. I have decided to post this on here anyways as this might yield a suggested fix from someone else in the Microsoft
Community. I also was unsure if this was a Windows 10 Tech Preview issue (Export-StartLayout is done on the client), or a Server Tech Preview issue as I'm using GPO's.
When using Export-StartLayout after adding "Network and Sharing Center" and "Devices and Printers" to the start menu, it exports these two tiles with different AppID #'s depending on which user account I'm exporting from. As a result
of this, when using the GPO "Start Menu Layout", users do not get the two tiles in question setup, and also locks down the Start Menu so they can't add it. The lockdown of the Start Menu is by design, however the loss of the tiles presents
an issue.
It would be helpfull if they were assigned set AppID's so they can be easily mapped to the Start Menu via the GPO.Hi,
>> I also was unsure if this was a Windows 10 Tech Preview issue (Export-StartLayout is done on the client), or a Server Tech Preview issue as I'm using GPO's.
Based on my test, this is not a Windows 10 Tech Preview issue. This situation also happens to Windows 8.1. At this moment, I have to admit that there is no solution known to me for this situation, and thanks for sending a feedback about this
situation to Microsoft.
Best regards
Frank Shen
Maybe you are looking for
-
Battery Life on brand new macbook pro 15 inch i5 only lasting 3 hours
The battery on my macbook pro is only lasting 3 hours with light use...If i'm watching a video or on a game it lasts maybe an hour or 2. I charged it fully when I first got it out of the box 2 days ago. I have tried calibrating it which worked a litt
-
Takes so much time to open system preferences
hello everyone . recently i have been having some problems with my mac , every time i try to open system preferences it takes soo much time that i want to smash the **** screen never encountered this before its ******* me off and i would apprecia
-
Error appears while switching visibile property of annotations
When I try to set the visibilety property of a cwgraph-annotation in code, and try to run the program, runtime error 458 appears "Variable uses an automation type not used in Visual Basic". This has happened directly after an installation of the mea
-
Trying to decode this from USB Prober re. old joystick device
I'm troubleshooting a USB issue with an old joystick device. I can't find explanations to the various fields in USB Prober, i.e. what are the consequences of specific values/labels. I would like to verify that this device will not work with OS Maveri
-
SQL Loader issue - With junk charters in Last field
Hi I have a data file to load . I used a CTL and The Load is running fine. But the last record comes with some kind of junk character when loaded into the table. I checked if the file is in moved in binary mode or trying TRIM commands or replacing it