Read Image File - Dr. Watson Error

Greetings,
Sorry for posting Developer4.5 problem here. I am reading an
image (JPG) file from Forms Builtin Read_Image_File. Whenever it
try to load image file to image item it gives Dr. Watson Error.
I am working on Forms4.5.9.7.0 on Windows NT with service pack
3.0. Thanks for any help.
Regards
Ajay Khandelwal
null

The problem was with the version. There was bug in the
Forms4.5.9.7.0 version. I changed the JPEG to JFIF format and
its running perfectly. The newer versions support the JPEG
format also. Thanks for bearing me.
Ajay Khandelwal
ajay khandelwal (guest) wrote:
: Greetings,
: Sorry for posting Developer4.5 problem here. I am reading
an
: image (JPG) file from Forms Builtin Read_Image_File. Whenever
it
: try to load image file to image item it gives Dr. Watson Error.
: I am working on Forms4.5.9.7.0 on Windows NT with service pack
: 3.0. Thanks for any help.
: Regards
: Ajay Khandelwal
null

Similar Messages

  • Cannot read image file in oracle 10g forms, getting error frm-47100

    I'm unable to read the image from the file location. But If I do re-save via MS-Paint the same image then I'm able to load successfully. I want to load image directly instead of re-save.  Error getting like "frm-47100 Cannot read image file".
    Need your co-operation to solve this issue.
    Thanks in advance!
    declare
      tiff_image_dir varchar2(80):=('D:\IMAGE\');
      photo_filename varchar2(80);
    begin
      photo_filename:=tiff_image_dir||:IMAGE_NO||'.JPG';
      if :image_no is null then
      :Image_no :=:UID_NO;
      end if;
      read_image_file(photo_filename,'JPG','image');
      WRITE_IMAGE_FILE('output.tif','TIFF','g_image_info.image',maximize_compression,original_depth)
    end;

    Hi Sindhu,
    By default any operating system file extension starts after the dot. So in this case when it says 2 dots it will think there is something wrong.
    RajeshALex

  • Read Image File Error

    When I read image with Read_Image_File procedure i got an error in specified files 'FRM-47100 can not read image c:\abc.jpg'
    i think it is on high resolution please promply resolve it. its very urgent
    best regards
    R E H AN M I R Z A

    Hello,
    Found this on Metalink:
    Problem Description
    You are trying to use READ_IMAGE_FILE in forms to read a JPG image,
    but you receive the following error:
    FRM-47100: Cannot read image file <file name>
    You checked the following:
    o You are able to open the image file from Netscape or Internet Explorer and
    see your image correctly.
    o You are also sure that the file exists under the location mentioned in the
    first parameter to READ_IMAGE_FILE built-in.
    o You tried other JPG files that are located in the demo directory of the
    Developer home and you can see the image loaded in the image item.
    Solution Description
    There are many JPEG formats. The only JPEG format supported in Forms is the
    JPEG File Interchange Format (JFIF) which is the baseline sequential DCT JPEG.
    Progressive JPEG (as well as Lossless JPEG and Hierarchical JPEG),
    are not currently supported.
    Possibly your image file is stored using one of the non-supported formats.
    As a workaround, you can convert progressive JPEG format to and from baseline
    JPEG. There is a free set of programs provided by the Independent JPEG Group
    that allows this.
    The Independent JPEG Group home page is: http://www.ijg.org/
    Francois

  • Read-image-file show jpeg photo cause error

    I use read-image-file to show a jpeg photo (edited by ACDSEE) cause frm-47100. I know that Oracle may not support the Jpeg format of ACDSee. But, anyone know how to solve this problem. (I have to keep using ACDSee)

    If you remove the metadata from a JPEG it should usually do the trick. I don't know how to do that in ACDSee, though.

  • Illustrator files cannot be opened: Could not read the file because an error has occurred.

    I cannot open some files from  Illustrator which contain PNG files placed. When I try to open the file, I get a message saying: "this png contains addtional data for Adobe fireworks, which will be discarded upon save." When I press "ok" I get the same screen again. When I press "cancel" I get: "coulld not read the file because an error has occured". I am currently working on a Mac Mavericks. Using Illustrator cc and Fireworks CS6.

    Eliana,
    If you have some file corruption, one thing often tried first is to create a new document and File>Place the (PDF contents, if any of the) corrupted one to see how much may be rescued that way.
    Here are some websites where you can see whether it can rescue the actual file, and if it can, you may pay for a subscription to have it done,
    http://www.recoverytoolbox.com/buy_illustrator.html
    http://markzware.com/adobe-software/fix-illustrator-file-unknown-error-occurred-pdf2dtp-fi le-recovery/
    http://www.illustrator.fixtoolbox.com/
    As far as I remember, the first one is for Win and the second one is for Mac, while the third one should be for both.
    Here are a few pages about struggling with it yourself:
    http://daxxter.wordpress.com/2009/04/16/how-to-recover-a-corrupted-illustrator-ai-file/
    http://helpx.adobe.com/illustrator/kb/troubleshoot-damaged-illustrator-files.html
    http://kb2.adobe.com/cps/500/cpsid_50032.html
    http://kb2.adobe.com/cps/500/cpsid_50031.html
    http://helpx.adobe.com/illustrator/kb/enable-content-recovery-mode-illustrator.html

  • Can't read image file

    Dears,
    I was having forms version 10.1.2.0.2 and I was using webutil to upload an image and to download it. My problem is sometimes the image files are uploaded and sometimes not => I got "Can't read image file D:\...\image.jpg"
    I upgraded to forms 10.1.2.3 and the problem persists.
    I'm seeing that the picture resides in the workspace environment and not uploaded to the database.
    I'm not limiting the size of the pic in the frmweb.cfg file, instead this limitation occurs on form level.
    Hint. If you save this picture in "photoshop" tool, than you can upload the same picture without any problem.
    Any suggested help will be appreciated.
    Best Regards,
    Joe Farah
    Edited by: Joe Farah on Feb 26, 2009 11:01 AM

    Yes dear, this is the way that we can follow in order to get rid of this problem. Actually we have to mention to all users of my system to save the image file in this tool. But, it's somehow cumbersome for them as they might not have any of the mentioned imaging tool on their systems, isn't it ?
    But isn't there any way to fix this problem ? Or shall I go by using PJC/Java Beans ? We have to find an effective way.. :)
    Thanks,
    Joe

  • How use PHP to read image files from a folder and display them in Flex 3 tilelist.

    Hello. I need help on displaying images from a folder dynamically using PHP and display it on FLEX 3 TileList. Im currently able to read the image files from the folder but i don't know how to display them in the TileList. This is my current code
    PHP :
    PHP Code:
    <?php
    //Open images directory
    $imglist = '';
    $dir = dir("C:\Documents and Settings\april09mpsip\My Documents\Flex Builder 3\PHPTEST\src\Assets\images");
    //List files in images directory
    while (($file = $dir->read()) !== false)
    if (eregi("gif", $file) || eregi("jpg", $file) || eregi("png", $file))
    echo "filename: " . $file . "\n";
    $dir->close();
    ?>
    FLEX 3 :
    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="pic.send();">
    <mx:Script>
    <![CDATA[
    import mx.controls.Alert;
    import mx.events.FlexEvent;
    import mx.rpc.events.FaultEvent;
    import mx.events.ItemClickEvent;
    import mx.rpc.events.ResultEvent;
    public var image:Object;
    private function resultHandler(event:ResultEvent):void
    image = (event.result);
    ta1.text = String(event.result);
    private function faultHandler(event:FaultEvent):void
    ta1.text = "Fault Response from HTTPService call:\n ";
    ]]>
    </mx:Script>
    <mx:TileList x="31" y="22" initialize="init();" dataProvider = "{image}" width="630" height="149"/>
    <mx:String id="phpPicture">http://localhost/php/Picture.php</mx:String>
    <mx:HTTPService id="pic" url="{phpPicture}" method="POST"
    result="{resultHandler(event)}" fault="{faultHandler(event)}"/>
    <mx:TextArea x="136" y="325" width="182" height="221" id="ta1" editable="false"/>
    <mx:Label x="136" y="297" text="List of files in the folder" width="182" height="20" fontWeight="bold" fontSize="13"/>
    </mx:Application>
    Thanks. Need help as soon as possbile. URGENT.

    i have made some changes, in the php part too, and following is the resulting code( i tried it, and found that it works.):
    PHP Code:
    <?php
    echo '<?xml version="1.0" encoding="utf-8"?>';
    ?>
    <root>
    <images>
    <?php
    //Open images directory
    $dir = dir("images");
    //List files in images directory
    while (($file = $dir->read()) !== false)
    if (eregi("gif", $file) || eregi("jpg", $file) || eregi("png", $file))
    echo "<image>" . $file . "</image>"; // i expect you to use the relative path in $dir, not C:\..........
    //$dir->close();
    ?>
    </images>
    </root>
    Flex Code:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
    layout="absolute"
    creationComplete="callPHP();">
    <mx:Script>
    <![CDATA[
    import mx.rpc.http.HTTPService;
    import mx.controls.Alert;
    import mx.events.FlexEvent;
    import mx.rpc.events.FaultEvent;
    import mx.events.ItemClickEvent;
    import mx.collections.ArrayCollection;
    import mx.rpc.events.ResultEvent;
    [Bindable]
    private var arr:ArrayCollection = new ArrayCollection();
    private function callPHP():void
    var hs:HTTPService = new HTTPService();
    hs.url = 'Picture.php';
    hs.addEventListener( ResultEvent.RESULT, resultHandler );
    hs.addEventListener( FaultEvent.FAULT, faultHandler )
    hs.send();
    private function resultHandler( event:ResultEvent ):void
    arr = event.result.root.images.image as ArrayCollection;
    private function faultHandler( event:FaultEvent ):void
    Alert.show( "Fault Response from HTTPService call:\n " );
    ]]>
    </mx:Script>
    <mx:TileList id="tilelist"
    dataProvider="{arr}">
    <mx:itemRenderer>
    <mx:Component>
    <mx:Image source="images/{data}" />
    </mx:Component>
    </mx:itemRenderer>
    </mx:TileList>
    </mx:Application>

  • Image files getting truncated error

    I am a photographer ... upgraded to mountain lion 10 days ago....some of the image files after processing get a truncated error...I have reinstalled PS6 - LR 4 - Proselect...used two different cards and ran utilities disk check -- did not correct problem.
    IMac is about 9 months old.
    suggestions to fix this issue?
    thanks.

    ORACLE 10g Windows 2003
    Is not the easiest way the alter database rename file [filename] to [newfilename]. This is what I've been trying but I'm getting the identifier is too long error now.
    SQL> alter database rename file "g:\oracle\product\10.1.1\oradata\hspeople\contr
    ol02.ctl" to "e:\oraclecontrolfiles\control02.ctl";
    alter database rename file "g:\oracle\product\10.1.1\oradata\hspeople\control02.
    ctl" to "e:\oraclecontrolfiles\control02.ctl"
    ERROR at line 1:
    ORA-00972: identifier is too long

  • Reading Image File into 6i Form

    I am attempting to read an image file and display it on an Oracle Form (created in Forms 6i) using the READ_IMAGE_FILE builtin. I have tried it with the same image in several different formats: JPG, TIFF and GIF. The call reads as follows: READ_IMAGE_FILE('D:\mugshot\mug23456.gif','GIF','DESCRIPTION.IMAGE_ITEM'); The file is located in the indicated path on the application server, i.e. the same machine where the form is being run. DESCRIPTION.IMAGE_ITEM is, of course, an Item of type Image. The PL/SQL procedure containing the above call is invoked by an ON-POPULATE-DETAILS trigger defined at the block level (DESCRIPTION is the block in question). Here is the problem: after logging into my Forms 6i application via a login screen, which then runs the form which would be displaying the image item, the form does not appear; all we see is a blank screen. When I remove the DESCRIPTION.IMAGE_ITEM field from the canvas, the form runs as expected, except of course that the image is not read. Is there something special that has to be done to read or display an image, other than what I have already done as described above?

    Plz don't Reply
    i am able to do it on my own here is the sample code for that
    import javax.swing.*;
    import java.awt.*;
    import javax.swing.event.*;
    import java.awt.event.*;
    import java.util.*;
    import java.io.*;
    import javax.swing.text.*;
    // this is a function u can use it in a class
    private void addEditScroll(){
    try{
    BufferedReader infile = new BufferedReader(new FileReader("c:\\WS_FTP.log"));
    editor =new JEditorPane();
    editor.setEditable(false);
    editor.read(infile,new PlainDocument());
    editor.setSize(new Dimension(450,510));
    editorscroll = new JScrollPane(editor);
    editorscroll.setSize(new Dimension(450,510));
    }catch(Exception ex){
    ex.printStackTrace();
    -ashish

  • How to read image file in bpel..

    i want to pick up image files of format .jpg & .png in bpel..
    Thanks...

    Hi,
    Ok, got your flow. I'd recommend start small and simple.
    Receive
    Assign
    Invoke - Invoke File adapter using Synchronous Read Operation (Normal Read operation will not work in the middle of process) with Opaque schema and by specifying the exact file name.
    I think you can't specify the file name as regular expression in Sync Read operation.
    Also follow the below link for more details on how to achieve your requirement.
    http://docs.oracle.com/cd/E23943_01/integration.1111/e10231/adptr_file.htm#BABGHDHG
    Regards,
    Neeraj Sehgal

  • How can i Track or Read "404 File Not Found" errors that appear in the firebug console?

    Currently i'm able to capture the javascript errors using window.onerror callback. But with this callback i'm unable to capture the "File Not Found" errors. Could you let me know if there are any possible ways to track this kind of errors?

    I don't know the answer to that. You will probably have better luck asking on the Firebug website:
    *Firebug documentation - http://getfirebug.com/wiki/index.php/Main_Page
    *Firebug community - http://getfirebug.com/community
    Or try asking on the Firebug IRC channel - [https://www.mibbit.com/?server=irc.mozilla.org&channel=%23firebug #firebug on irc.mozilla.org]

  • Read Image file from BLOB.

    Hi All,
    I am trying to load data from BLOB data from database and save the image file.
    SQL to insert data:
    INSERT INTO BLOBTest (BLOBName, BLOBData)
    SELECT 'First test file', BulkColumn FROM OPENROWSET(Bulk 'C:\Inbound\logo.jpg', SINGLE_BLOB) AS BLOB
    I am using the following 'SELECT top 1 BLOBData from BLOBTest' to get the data and setting the value to 'Image Saver' action. The image file is saved to the specified path, but the image is not opening.
    I get "Image is damaged, corrupted or is too large message. The file is around 40 KB."
    Am i missing something.
    Any help would be highly appreciated.
    MII Version: 14.0 SP 3
    Thanks,

    I think this thread might help: Can we interpret Oracle BLOB data in SAP MII and how?
    Basically MII doesn't support the BLOB/CLOB data types so in your query you will need to convert it to a base64 string that MII can consume using the image saver action.
    Regards,
    Christian

  • Signed applet can't read image file..

    Hello
    My English ability is very poor.. sorry
    I make a signed applet
    and I open Internet Exploere
    I connect to my web page
    when I connect to my web page
    my signed applet upload "c:\blahbalh...\image.gif" automatically
    but It's not work
    java.security.AccessControlException: access denied (java.io.FilePermission C:\DOCUME~1\krict\LOCALS~1\Temp\Hnc\BinData\EMB00000cac2143.jpg read)
         at java.security.AccessControlContext.checkPermission(Unknown Source)
         at java.security.AccessController.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkRead(Unknown Source)
         at java.io.FileInputStream.<init>(Unknown Source)
         at java.io.FileInputStream.<init>(Unknown Source)
         at EchoApplet.onSendData(EchoApplet.java:61)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at sun.plugin.javascript.invoke.JSInvoke.invoke(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at sun.plugin.javascript.JSClassLoader.invoke(Unknown Source)
         at sun.plugin.com.MethodDispatcher.invoke(Unknown Source)
         at sun.plugin.com.DispatchImpl.invokeImpl(Unknown Source)
         at sun.plugin.com.DispatchImpl$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.plugin.com.DispatchImpl.invoke(Unknown Source)
    signed applet can't not read file..
    how can I solve my problem?

    Trace please.
    http://forum.java.sun.com/thread.jspa?threadID=656028
    Maybe some relevant code
    Signing applets:
    http://forum.java.sun.com/thread.jsp?forum=63&thread=524815
    second post and reply 18 for the java class file using doprivileged

  • After Effects CS6 won't import images files, get an error.

    HI,
    Problem with AE CS6 and importing .png files in a folder.  Please see the YouTube video, I took a screencast of the problem in action to show what it looks like, any help would be greatly appreciated.
    The video will explain it in more detail, you will see the error:
    https://www.youtube.com/watch?v=lIyXDu-pqLc
    OS
    Windows 7 64 bit.
    Thank you

    Had a tech connect to my computer, tried a number of things, this was the culprit:

  • Set System Image (File) Error 1097

    We have a built up PXI Chassis with RT OS running on it.  I used Get System Image (File).vi to grab the contents of the hard drive into a Zip file.
    I then have a LabVIEW project which builds our software into a startup.rtexe and the associated folders.   The PXI Chassis DIP switches are set up correct to launch the startup.rtexe.
    The System.zip file is unpacked and the project files are inserted into it.  The directory is then re-zipped to a new Zip file.
    I have a VI which deploys the new Zip file image (basically it runs on a PC connected to PXI Chassis via Ethernet).  It checks that PXI Chassis software has not been deployed or is a different version and uses Set System Image (File).vi to deploy the image. 
    If I run it on a different but identical PXI rack (chassis number is initially different), the zip file appears to deploy correctly.  The PXI Chassis reboots and launches our software.  Problem is “Set System Image (File).vi” always errors on exiting with a 1097 error.
    In addition the image was created from a PXI Chassis numbered 2.  The PXI Chassis I deploying to was initially configured as chassis number 1 (viewed in NI MAX).  After deployment it remains as “Chassis 1”.  If I change it to “Chassis 2” in NI MAX and then run the deployment, it reverts back to “Chassis 1”.  However I would have thought it would change based on the content of the Zip file?
    Any ideas why the VI is throwing an error?
    Christopher Povey
    Senior Test Systems Engineer for BAE Systems.

    LanxiZ wrote:
    Good Morning Chris,
    There are several possible reasons that can cause the error you are seeing:
    1. There is some problem with your code, below is a good example on how to get/set system image from a RT controller:
    "Get/Set Images From RT Controllers Using System Configuration API":
    https://decibel.ni.com/content/docs/DOC-34955
    2. Does this problem only happen when you deploy from the PXI chassis 2? everything works fine with the PC?
    I look forward to your reply.
    Thank you.
    Lanxi
    1. I have seen that page, but I cannot open that example as it is for LabVIEW 2013.  I am running LabVIEW 2012.  I have seen and implemented something similar to the built in examples in LabVIEW 2012 though.
    2. The deployment is not from a PXI chassis.  It is too one.  The deployment is performed from a rack mounted Windows XP PC.  It is connected to a PXI Chassis via Ethernet.
    Once the Set System Image (File) has completed (with the error), the PXI Chassis is up and running and I can see it is running my software successfully (I output test text to the PXI Chassis' monitor).  I can also call stub VI's on the rack mounted Windows XP PC which in turn connects too and runs the remote VI's successfully.
    I think I need to try the deployment on the original source of the System Image and see if it also errors.
    Thanks.
    Christopher Povey
    Senior Test Systems Engineer for BAE Systems.

Maybe you are looking for

  • How do you change the channel of the device?

    How do you change the channel of the device?

  • Bulk Swatch Changing

    I hope I describe this right - I have a document, and have a large list of swatches (some global colors, some patterns)  I would like to know if I can save multiple variations for different color libraries, and somehow apply them when needed. I curre

  • Flash MX crashes after i installed AceCad drivers

    I recently installed the drivers from AceCad's offical site for their digital pen. the pen is working but since i installed them flash crashes, ALOT. and it never happened before. anyone knows the problem is or how to solve it? thanks in advance.

  • Regarding BPM execution

    Hi all, iam Ajay kumar. *Here i did a BPM scenario which gets activated when Http client is activated.Bpm would fetch the company details from R/3System throgh RFC adapter by taking input as company number.Here I activated IR and ID successfully . Bu

  • Bad DimAs mapping for Structure Parameters, BAPI ActiveX

    I am using BAPI ActiveX from Visual Basic.  All is working well except a mapping issue. I am mapping a BAPI structure export parameter to an object using DimAs method.  I am getting raw byte lengths instead of character lengths.  Example if a paramet