Trying to Display the image

Hi Steve/anyone
I am trying to display the image upload and Display using the "Oracle Fusion Developer Guide" page 404 Working with Oracle Multimedia Types by Frank Nimphius and Lynn Munsinger. I tried to replicate the solution in a sample app. My upload works as said. But when i try to browse I dont see the image and i get the following error in the background. Please help. All the steps mentioned have been done
! Edit Images.jspx
<af:inputFile value="#{bindings.Image.inputValue}" simple="true"
id="if1">
<binding:convertOrdDomain bindingRef="#{bindings.Image}"/>
</af:inputFile>
2 Browse Images.jspx
<af:panelLabelAndMessage label="#{bindings.Image.hints.label}"
id="plam1">
<af:media contentType="#{bindings.Image.inputValue.media.mimeType}"
source="#{bindings.Image.inputValue.source}" id="m2"/>
</af:panelLabelAndMessage>
<af:outputText value="#{bindings.Image.inputValue.media.width}" id="ot3"/>
java.lang.NullPointerException
     at oracle.ord.html.OrdPlayMediaServlet.renderContent(OrdPlayMediaServlet.java:386)
     at oracle.ord.html.OrdPlayMediaServlet.deliver(OrdPlayMediaServlet.java:264)
     at oracle.ord.html.OrdPlayMediaServlet.doGet(OrdPlayMediaServlet.java:205)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
     at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
     at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
     at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
     at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.adf.model.servlet.ADFBindingFil

Error showing images using Servlet OrdPlayMediaServlet

Similar Messages

  • How to display the Image in PDF report by using iText Report

    Hi
    Im trying to display the image which is very big one.
    This is my code
    Document document=new Document();
    PdfWriter.getInstance(document,new FileOutputStream("imagePDF.pdf"));
    document.open();
    Image image = Image.getInstance ("1.bmp");
    document.add(new Paragraph("Images in PDF"));
    document.add(image);
    document.close();
    But the image "1.bmp" is displayed partially. Its not spanning to the next page.
    Can anyone help me to solve this one?
    Thanks in Advance
    dhilip

    Do you actually want the image to span multiple pages? I am not sure that will be possible without splitting the image; the itext mailing list would be the place to ask.
    You could make the the page size big enough for the image using Document.setPageSize()

  • I've just bought a Macbook Pro 15" and I'm trying to use Photoshop, but the resolution its displaying the images at for 100% are too small. I have to design for the web, so need to be intricate with detail, but I'm finding it adjusts the resolution of the

    I've just bought a Macbook Pro 15" and I'm trying to use Photoshop, but the resolution its displaying the images at for 100% are too small. I have to design for the web, so need to be intricate with detail, but I'm finding it adjusts the resolution of the image right down. (I mean you can see the image clearly, but it's too small to edit). When I look at Safari and see a web page at 100% it's clear, but the same page displayed in Photoshop CC appears 50% of the size (even though it says it's 100%)   If I move the application window to another screen it adjusts it correctly  – leaving all the pallettes, menus and tools correctly sized as they are on the retina display   Is there some way to adjust the way Photoshop CC displays images so it is more consistent with what you actually see?   There doesn't seem to be any answer on the Adobe forum, so hopefully someone here can shed some light.  MacBook Pro with Retina display, 15", OS X Yosemite (10.10.2), Photoshop CC 2014

    I tested both ways. With "open in low resolution" ckecked the size of the images is cool, but it is low-resolution including Photoshop appearance.
    If "open in low resolution" is unckecked the appearance is good but the very small size.
    See the image below. It has 650 x 732 px, 72 dpi. The font of the text "Neste aniversário ..." is with 18pt.

  • Urgent!  This is the code i tried using to display the images

    I've created a ImagePanel class
    class ImagePanel extends Applet
    MediaTracker mt = new MediaTracker(this);
    // Image Filename;
    private String filename;
    //Image instance
    Image image = null;
    //Default Constructor
    public ImagePanel()
    //Set Image and show it
    public void showImage(Image image)
    mt.addImage(image,1);
    try
    mt.waitForAll();
    }//try
    catch(InterruptedException e){}
    this.image = image;
    this.repaint();
    }//showImage
    //Draw the image on the panel
    public void paintComponent(Graphics g)
    super.paintComponents(g);
    if(image != null)
    g.drawImage(image,0,0,getWidth(),getHeight(),this);
    }//image panel
    in the distance class:
    i decleared a imagePanel object and
    private ImagePanel lblImage = new ImagePanel();
    i've decleared a image
    Image logo;
    this is what i did to get the image
    logo = getImage(getCodeBase(),"smcrest.gif");
    to display the image i used
    lblImage.showImage(logo);
    I don't know what id did wrong

    You might try to add a JTextPane. I use them for my "regular" apps, that are not applets. Not sure if this applies to applets but check out the refence material. After you create a JTextPane one line of code does it:
    JTextPane jtextpane = new JTextPane();
    jtextpane.insertIcon(new ImageIcon("Images\\FOO.gif"));
    I use grid bag layout so I then do the following:
    try
         constraints.gridx = 0;                              //create new row & ADD IMAGE in TEXTPANE
         constraints.fill = constraints.BOTH;
         layout.setConstraints(jtextpane, constraints);
         getContentPane().add(jtextpane);
         catch(Exception e)
         System.out.println("EXCEPTION: ViewFrame.contentPane.add : " + e);     
         }

  • Displaying the image stored in Blob column

    Hi all,
    I'm trying to print the report with an image. I've stored the image in a Blob column and the format of the image is Jpg.
    I'm using the Reports 10g(10.1.2.0.2). When I'm trying to print the report, I'm getting an error Rep-62203. I want to know whether there are any settings which i need to set to display the image item. I mean to say that are there any registry settings.
    Regards,
    Alok Dubey
    Edited by: Alok Dubey on Dec 1, 2008 12:55 PM

    Hi all,
    I'm trying to print the report with an image. I've stored the image in a Blob column and the format of the image is Jpg.
    I'm using the Reports 10g(10.1.2.0.2). When I'm trying to print the report, I'm getting an error Rep-62203. I want to know whether there are any settings which i need to set to display the image item. I mean to say that are there any registry settings.
    Regards,
    Alok Dubey
    Edited by: Alok Dubey on Dec 1, 2008 12:55 PM

  • How to display the image which in KM folder using url iview

    Hi Friends
    How to display the image, which is under KM folder structur using the url iview.
    i trying using url iview url as  \document\testfolder\abc.jpg as url for the iview.
    but its now working .. so please help me how to slove this problem
    If is not the correct way then please suggest me best way to achive this.
    Thanks
    Mukesh

    Hi Mukesh,
    I think this may work,
    1, Create a HTML Layout.
        You can put your image wherever  u want with HTML Codes.
        Check this, [Article|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3915a890-0201-0010-4981-ad7b18146f81] & [Help|http://help.sap.com/saphelp_nw04/helpdata/en/cc/00c93e9b2c3d67e10000000a114084/frameset.htm]
        With this, u can use the standard KM commands also.
    2, U need to use KM Navigation iView for this rather than KM Doc iView.
    3, In the Nav iView, u can use &rndLayoutSet=nameOfUrHTMLLayout to force the view with this new layout.
    Regards
    BP

  • Displaying the Images on the Adobeform

    Hi,
    I want to display the image on Adobe form using URL option.  I have the URL obtained from the function module
    'ALINK_RFC_DOCUMENT_URLS_GET' (dynamic).  The URL will be varied for different orders.
    Can you please provide me some example to full fill the above requirement.
    Thanks in Advance.

    Hi,
    in adobe livecycle you can use two types of image containers( "Image" and "image Field"). The first one does not have a binding field, you just input an static url, the second one have a binding but its usualy binary data, not an url.
    Do you want to
         pass the url and let the runtime get the logo from that url (this involve dynamicly changing the url using javascript and the adobe has to be able to acess the url).
         or get the binary from url using abap, and pass the binary for the adobe to just show it?
    I never tried the first option but i guess its feasible
    Regards
    Miguel

  • How to Snap/Grab Image from 1394 camera and display the Image in CWIMAQVIEWER in VC++ ?

    Hi,
    I have :  -  IMAQ1394 2.0.1
                  -  NI Vision 7.1
    In VB, I can Snap/Grab Image from 1394 camera and display the Image in CWIMAQVIEWER :
        Dim Image0 As New CWIMAQImage
        imaq1394SnapCW(sid0,Image0)
        CWIMAQViewer1.Attach Image0
    Now,How can I do this in VC++6.0?
        I tried:
                  C_CWIMAQImage m_imgViewer1;
                  m_imgViewer1 = m_CWIMAQVision1.CreateCWIMAQImage();
                  m_CWIMAQViewer1.Attach(m_imgViewer1);
                  imaq1394SnapCW(Sid,m_imgViewer1);  <--there is no "imaq1394SnapCW "function in VC++,why?
        Please help me!
        Thank you!

    For people looking back at these old posts regarding
    CWIMAQViewer - it was not made to be used in the C environments and is made
    for VB.
    Refer to the following locations for displaying images in C
    environments:
    Start»All Programs»National Instruments»Vision»Documentation
    Start»All
    Programs»National Instruments»Vision»Text Based Examples
    Make
    sure that you look at the examples and documentation that is in
    reference to the C environments not the VB environments
    Vince M
    Applications Engineer

  • Windows could not display the images available for installation

    I am trying to perform unattended installation of windows which I created with Windows AIK. When I add answer file on USB's with windows installation root I get "windows could not display..." message. Problem is there even when there are just a
    few simple lines (oobe, microsoft international core-WinPe).
    I replaced install.wim file of standard windows installation iso with customized install.wim and then created catalog file with windows system image manager.
    Kind people of world, please help!

    Hi bugili,
    Could you help us post the complete error information, it will more helpful when we locate the issue. I am not quite understand “add answer file on USB's with windows
    installation root”, do you mean the answer file and install file on the external device? Please try to confirm this image has the same Security permission with
     others image in WDS image share folder,  the WDS default image location is like
    x:\RemoteInstall\Images.
    If it not work please post the WDS error log,
    How to enable logging in Windows Deployment Services (WDS) in Windows Server 2003, Windows Server 2008, Windows Server 2008 R2, and in Windows Server 2012
    http://support.microsoft.com/kb/936625/en-us
    The simlar thread:
    Windows could not display the images available for installation.
    https://social.technet.microsoft.com/Forums/windowsserver/en-US/07fe03dd-9798-4583-8d0b-dc963c95434c/windows-could-not-display-the-images-available-for-installation?forum=winserversetupMore
    information:
    How to Add a Boot Image to WDS Server
    https://social.technet.microsoft.com/wiki/contents/articles/11643.how-to-add-a-boot-image-to-wds-server.aspx
    I’m glad to be of help to you!
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • I can't get imovie to open after trying to shift the image to my TV by clicking fn F3.  If I hold the mouse on the imovie icon for a few seconds the imovie window opens but if I click anywhere on the window it disappears

    I can't get imovie to open after trying to shift the image from my macbook pro to the tv screen like I have done many times before.  If I double click on the imovie icon, imovie doesn't open, but the strip across the top shows iMovie, file, edit , clip, view, text share window help tabs across the top.  The iMovie window will appear if I click on the iMovie icon on the dock for a few seconds, or if I do control F3 at the same time, but when I click on the window it disappears.  When I hover the mouse over the iMovie window that appears the window has a blue border around it.  when I move the mouse outside the iMovie window the blue border goes away.  If I sweep 4 fingers from the top of the screen down, the screen dims a little but the iMovie window doesn't appear. If I click play under the view tab I can hear audio, but still no iMovie window.  It's as if the window is being blocked by the desk top somehow.

    Similar issues here.
    I purchased five movies for download and having nothing but problems getting them downloaded. I keep receiving error messages and the download stops and I have to restart it, just to get another minute worth of download with each restart. Now Apple has my money and I have nothing.

  • I am trying to display the output from my ipod touch on apple tv. i can get the audio but no video. please help

    i am trying to display the output from my ipod touch on apple tv. i can get the audio but no video. Thank you for any advice.

    What output are you trying to get to your tv?

  • Display the images in excel using jsp

    Hi
    I am unable to display the images in excel using jsp. I can display the data. but cannot display the images. It is simply showing the icon without the image. Is there any way to display the images. Pls give some sample code to display the images in excel.
    Thanks in advance.

    Presumably whoever created the images in that Excel document just put links to somewhere on their hard drive. Those links don't mean anything when you put the document on somebody else's computer, which is what you are doing. At least, that is my guess.
    You could spend some time looking at the Excel file to see how the images were put in there. Or you could ask the person who put the images in there.

  • Displaying the images in Page 0

    I have uploaded an image wich is attached to a specific application. Now in the Page 0 of that application, I created an HTML region to display the image by specifying the region source as <img src=#IMAGE_PREFIX#dissertation.JPG/>. The application has separate image as logo.
    But when executing, the image is not displaying.
    Deb

    Hi Deb,
    Try either #APP_IMAGES# or #WORKSPACE_IMAGES# instead of #IMAGE_PREFIX# (which is used for images in the /i/ folder on the server). Also note that the filename is case-sensitive.
    Andy

  • Not able to display the image on the popup.

    hi,
    my requirement is: i have command link on the form.which on clicked should display a popup and with in that popup a image should be shown. I have stored that image in the form of byte array.
    On clicking the link i am able to show the popup.But,not able to display the image on the popup.
    thanks in advance.
    Srikanth.V

    Hi,
    how do you access the image? Put yourself in our shoes and look at your question and then add the missing information. E.g. does the image show if loaded on a page itself and not a popup ?
    Frank

  • How can i call this file path into my bsp-html  to display the images?

    Hi
    I have a file path for an image like c:/test_logo.bmp.
    How can i call this file path into my bsp-html  to display the images?
    moosa

    Try this...
    Can i have  sample code in BSP-HTML to display images?

Maybe you are looking for

  • Premiere Pro CS6 und CC stürzen beim Rendern ab!

    4Hallo, ich hab ein Problem. Ich habe ca. 1,5 Std Videomaterial geschnitten, das ich jetzt exportieren möchte als MP4. Die Datei soll laut Premiere ca. 5GB groß sein (HD). Wenn ich die Datei render, stürzt sowohl Premiere CS6 al auch CC irgendwann ab

  • I am getting an incessant error 404 message: I don't understand what the issue is or how to correct it

    THe message reads: The URL https://calendar.google.com/calendar/dav/[email protected]/user///calendar.google.com/calendar/dav/[email protected]/user/ encountered HTTP error 404. Make sure the URL is correct.  It's really annoying; I can disable the a

  • Vector Use as a container

    Hi guys, I have to use a Vector object to store a growable array of objects,but I have an implementative question : I have to create the Vector only the first time the class cointaining it will be extecuted , then I have to add elements , without del

  • How to use Time capsule as Router and link to a Receiver

    Hello I'm currently using a Time capsule as WLAN Router. The plan is that I'm attaching My NAS via Ethernet LAN to the Time capsule. Time capsule will be linked via the Ethernet LAN cable to My Receiver so that I can Listen My Music over My home loud

  • Menu Bar icons at start-up have slowed?

    I can't determine what could be affecting this, because it seems to have a life of its own. When I start up my (two year old) mac(book pro), everything is fast and sleek apart from the icons at the top right; the battery status, the clock etc. I have