After Edit Library Item-  "Premature end of JPEG file"

Hello, I'm using Windows 7 Home Premium 64-bit.  In DW CS5 after editing a Library item and saving, DW asks if it should update pages containing the item.  I tell it to go ahead, and after some processing I get an error box titled "JPEG Library Error."  The message is "Premature end of JPEG file."  Nothing else except "OK"!  I can't imagine what this is referring to or if the error is causing the pages to not be updated with the edited lbi.  I don't have any JPEG images i nthe Library item.  Here's a link to the Libraty item:
http://www.techno-archive.com/Library/bottom_menu.lbi
After I dismiss the error in DW the Update Pages dialog sits there with the Done button grayed out.  The bottom few lines of the log look like this:
updated gallery_rec\trees\firetree\firetree-sky2.html
    item Library\bottom_menu.lbi
updated gallery_rec\trees\firetree\firetree-tree1.html
    item Library\bottom_menu.lbi
updated gallery_rec\trees\firetree\firetree-tree2.html
    item Library\bottom_menu.lbi
updated gallery_rec\trees\firetree\firetree-tree3.html
    item Library\bottom_menu.lbi
updated gallery_rec\trees\firetree\firetree.html
    item Library\bottom_menu.lbi
Done.
  files examined: 641
  files updated: 641
  files which could not be updated: 0
total time: (0:00:19)
Updating F:\techno-archive\
Done.
  files examined: 15697
  files updated: 0
  files which could not be updated: 0
total time: (0:00:57)
It doesn't tell which pages got updated and which didn't or why those that didn't did not get updated.
Any ideas anybody?
Thanks, - Dave

Update- Solved!
An answer to this thread dated April 30, 2009 of the same subject by David_Powers, community Professional, did the trick.  I wound up renaming the DW Configuration folder in C:\Users\dmckeen\AppData\Roaming\Adobe\Dreamweaver CS5\en_US\Configuration (where dmckeen is my username) and letting DW rebuild it.
Thanx

Similar Messages

  • Toolkit.createImage(): Premature end of JPEG file

    I'm having an issue where some images I am loading through the createImage or getImage methods in the Toolkit will cause "Premature end of JPEG file" to be output to the console. Java seems to do its best to mask the problem by returning a valid image.
    My problem is not "Why am i getting this error!!!!"; it is reasonable for this to occur in some cases. I want to be able to catch this in the code, but no exceptions are thrown and an image is returned (it's just missing a lot of pixels) when this problem occurs. How can I be notified if an image was corrupt? I have tried out MediaTracker but this provided no help.
    I appreciate any help you can provide!
    Sample code:
    Toolkit tk = Toolkit.getDefaultToolkit();
    Image img = tk.createImage(fileName);
    or
    Image img= tk.getImage(fileName);

    I'm having the same problem with JDK142 in the following case
    a) linux machine with an experimental web server in c++
    b) windows machine running a client applet
    the machine (b) ask the server in (a) for images, but sometimes, even when the image exists in the server I display it incorrectly and I have the same error, but after the application exits
    I guess it's some problem with the experimental server, but anymode I would like to know if there is any problem before display a wrong image ...
    If someone knows how to solve it, please write back
    Yours
    Joe

  • Error Message: Premature end of JPEG file

    I put a WORD text box on the front page of my association's
    webpage thru Contribute. When it was time to remove it, I tried,
    but kept getting a message: Premature end of JPEG file... I finally
    gave up and had a web designer remove the box but I still get the
    same message... once i hit cancel often enough, it closes
    Contribute altogether.!
    I have also received a message that there is a DRAFT of the
    page ....but no where do I find it.
    HELP!!!

    I think you have corrupted jpeg-file (image) in your page.
    Can you post an url to the page?
    Concerning the draft: are you the only publisher to the
    website or are there other users that might have a draft saved.
    About drafts saved on your computer:
    http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_16657&sliceId=2
    On the server:
    http://kb.adobe.com/selfservice/viewContent.do?externalId=kb401480&sliceId=2

  • Display incomplete image: Premature end of JPEG file

    Hello people,
    My problem is that displaying an image with incomplete data works fine, apart from that the following error message is printed out: Premature end of JPEG file
    The picture looks perfect (the missing part is rendered in gray), but I want to get rid of the error message.
    //init
    File jpegFile = new File("picture.jpg");
    FileInputStream inputStream = new FileInputStream(jpegFile);
    ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
    //step 1: downloading the image
    byte buffer[] = new byte[bufferSize];
    int bytesRead;
    while( bytesRead = input.read( buffer ) ) >= 0 )
            output.write( buffer, 0, bytesRead );
    //step 2: create (and display) incomplete image (download not finished yet)
    byte byteArray[] = outputStream.toByteArray();
    Image img = Toolkit.getDefaultToolkit().createImage( byteArray );Thanks for help,
    Martin

    Recreate the JPG image in your graphics editor - it is
    corrupted.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "wuest" <[email protected]> wrote in message
    news:e20uth$pme$[email protected]..
    > Have just used the assets panel for the first time...
    tried to create a
    > template... an image showed up and then this unending
    message kept
    > appearing
    > ... "premature end of jpeg file" and no matter how many
    times you click it
    > stil
    > keeps reappearing... please, can someone put me out of
    my misery?
    >
    > thanks.
    >

  • Premature end of jpeg file回避

    初めて利用します。ここに質問を記入したらよろしいのかと思いますが、宜しくお願いします。
    CONTRIBUTE CS5です。
    premature end of jpeg file
    このエラーの回避方法をお教えください。

    Hail amol... I have this same problem...
    You already solve this problem? If yes, please, how you do that... :)
    thanks

  • Premature end of JPEG File

    Hello all,
    I am facing some problem with "Premature end of JPEG File".
    Friends, I am packing all the content (xml, jpeg, audio files) using ZipFile.
    Everything works fine and the zip file is ready.
    Now when I am trying to retrieve image file from this zip file I found a strange thing. The bytes available are same as the file size but when I am executing following code.
    pseudocode is.
    get image_input_stream from zip_stream.
    get byte[] from image_input_stream
    ImageIcon imgIcon = new ImageIcon( my_byte_array_from_zipstream );
    any idea/help is welcome.
    Smiles,

    Hail amol... I have this same problem...
    You already solve this problem? If yes, please, how you do that... :)
    thanks

  • Premature end of JPEG fie

    I'm getting an error message when I start up Dreamweaver. The
    box is headed JPEG Library Error and contains the message
    "Premature end of JPEG file".
    Anyone seen this before?
    Allen

    Correct. Call it accidental plagiarism. I now remember that's
    where I heard
    it.
    Walt
    "Murray *ACE*" <[email protected]> wrote
    in message
    news:eolind$4hs$[email protected]..
    > wouldn't have a place to put it[1]
    >
    > ------------------
    > [1]
    > Steven Wright
    >
    > --
    > Murray --- ICQ 71997575
    > Adobe Community Expert
    > (If you *MUST* email me, don't LAUGH when you do so!)
    > ==================
    >
    http://www.dreamweavermx-templates.com
    - Template Triage!
    >
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    >
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    > ==================
    >
    >
    > "Walt F. Schaefer" <[email protected]> wrote
    in message
    > news:eolhlb$371$[email protected]..
    >>> but we can't have everything.
    >>
    >> Actually you can, but you probably wouldn't have a
    place to put it.
    >> :-)
    >>
    >> Walt
    >>
    >> "allen.brown" <[email protected]>
    wrote in message
    >> news:eold6j$r7h$[email protected]..
    >>> OK, for the benefit of anyone who searches this
    forum for this problem
    >>> in the
    >>> future, it seems that DW checks all the images
    in a site as it opens it
    >>> and
    >>> gives this message if an image is corrupt.
    >>>
    >>> I took the approach of moving half the images in
    Explorer and then
    >>> swapping
    >>> into a different site and back to see if DW
    still complained.
    >>> Eventually I
    >>> narrowed it down to the culprit and removed it.
    I noticed later that
    >>> this file
    >>> wouldn't preview in Explorer so that would have
    been a shortcut to the
    >>> culprit.
    >>>
    >>> A message saying 'image file xxxx.jpeg is
    corrupt' would be a lot more
    >>> helpful
    >>> but we can't have everything.
    >>>
    >>> Allen
    >>>
    >>
    >>
    >
    >

  • After editing camera raw and export as jpeg,image becomes overexposed when view on light room..please advise.

    need some help here. don't know if i can describe this accurately.
    i was using lightroom previously. edit my raw file and then export in jpeg. everything appear normal as what i wanted.
    recently i got cs4 and started using bridge. now after i edit my photo in lightroom and export,the view of the jpeg file appears overexpose(exposure was increase) and when view on adobe bridge same problem. but if i open photoshop and use my workspace colour setting everything is ok. when i see my picture on iphoto it is normal as per i have edited. i just don't know what setting i have touch that cause my viewing of edited photo on lightroom and bridge goes overexpose. on bridge,thumbnail ok but preview bad...
    for the record: i just install CS4 and snow leopard recently. before this i have no problems with LR. I'm also not sure if i have accidentally change any settings.
    i shoot with a 5D mark 2 and use the raw file for edit.
    will appreciate any advise. Thanks

    grjacek wrote:
    Is it possibe to return to a RAW image and edit it once I've exported it to another location as jpeg?
    Yes
    I've edited and exported an image to a different folder on my desktop. I've realised I still need to do some work on it
    but when I try and open it again in Lightroom ( I see it in Library)  I get a mesaage saying file not found...Please help
    We're going to need a lot more details aobut exactly (EXACTLY) the steps you follow after you do the export, because normally I would say this is one of the easiest things possible in Lightroom. Are any files moved or renamed or disks unplugged in between the time of export and the time when you try to edit again?

  • After editing, photo goes to end of film strip and I lose my place

    In the beta, in develop mode, I would work on a file, go to CS3 for some editing, then back, and then export jpeg. Now, my work flow gets a little messed up with 1.1 because after I export, the photo I was working on disappears to the end of the film strip and my film strip is at the end. So, I keep losing my place. Is there a way to go back to the beta way by setting some preferences somewhere? Thanks in advance for any help.

    Sara-
    It sounds like your sorting is set to "by edit time" or some other that's sending it to the end of the line. Also, work inside of one folder at a time.

  • Problem opening correct Fireworks program to edit Library item

    I am working on a PC with the CS3 Suite -- Dreamweaver,
    Fireworks, Photoshop, Flash, Illustrator, and Bridge. I used MX2004
    before upgrading.
    I have a Library Item I want to edit that was created in
    Fireworks CS3. It is a "Fireworks HTML" rollover menu.
    I open the Library item in DW CS3 and then go to the
    "Properties" window and push the "Edit" button, which should open
    the Library file in Fireworks CS3.
    Instead, I get a message that DW CS3 is unable to launch
    "Macromedia\Fireworks MX 2004\Fireworks.exe"
    I have gone to "Edit" and then "Preferences" and ensured that
    the File Types/ Editors for .png, .gif, and .jpg. jpe. jpeg is set
    to "Adobe Fireworks CS3\Fireworks.exe"
    Does anyone out there know what else I can do to correct this
    problem?

    Do you still have Fireworks MX2004 on your system? If so, I
    would remove it. If you are using Windows, you may need to edit the
    Registry to remove entries for Fireworks MX2004. Also make certain
    that all references to FW MX2004 are removed from Dreamweaver CS3's
    preference window in the File Types/Editors tab.
    Cheers,
    Skip Keats

  • How do I edit Library Items in Contribute?

    I've been attempting to edit a  Library Item in Contribute CS5 with no real luck.  First in said it  could not open the file so I designated "simpleText" and also MSWord as  alternate programs to edit the Library with. (I need something that my  client has access to on a PC in their office).  Contribute allowed me to  open, edit and even publish...giving me a notice of "success" but when  accessing the actual page online, the changes were not updated.
    Adobe Tech support was useless on this issues.
    Here is the code for the Library Item:
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <style type="text/css">
    .newsHeader {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 18px;
        line-height: 18px;
        font-weight: bold;
        color: #6693b3;
        margin: 0px;
        padding: 20px 0px 0px;
    .newsbodycopy {    font-family: Arial, Helvetica, sans-serif;
        font-size: 12px;
        line-height: 18px;
        color: #666;
        margin-top: 4px;
        margin-bottom: 5px;
    </style>
    <p class="newsHeader">News header</p>
    <p class="newsbodycopy">Update Content on this page.</p>
    Any  help or suggestions to try would be appreciated.  I created the item in  Dreamweaver.  Code is directly from Dreamweaver.  I'm not a coder.
    Thanks!

    1. In the main menu go to >File>Actions>Edit page source in external application (Dreamweaver)
    2. In the Dreamweaver make the necessary modifications.
    3. Save the file
    4. Return to Contribute and publish the page

  • Can users edit Library items?

    Hi everyone. I'm almost done with my first Contribute site
    and I had a question. My client has a small piece of text that is
    shown in the header of every page and this text is something that
    they want to change regularly. I added a Library item for this
    chunk in Dreamweaver thinking that this would be the proper way to
    allow them to edit it in one place in Contribute.
    I found where I can grant permissions for editing the various
    types of shared assets, but I don't see that they can edit the
    Library item. Is there a way to do this or do I need to set this up
    differently (server-side include, etc.)?
    Thanks in advance,
    Jason

    I think you should use a SSI in your Template and provide
    your user with a link to that include-file, so they can edit it in
    Contribute.
    gtrz.
    Hayo

  • Detecting a truncated JPEG file

    I'm building a simple applet to display a JPEG file. Often times the file will be truncated. That is, the applet will read the file while it is being updated. When this happens, a partial JPEG displays. I would like to detect this situation, wait a little bit, then reload the image from the server.
    I have defined an imageUpdate method for the applet in hopes that an ImageObserver.ERROR flag would be passed in when the incomplete JPEG is read. This does not happen. Instead, when the applet is terminated, the message "Premature end of JPEG file" is output to the Java Console. I cannot detect what is outputting this note.
    I'm working with JDK1.1 to maintain browser compatibility and would prefer to not have to parse the JPEG file myself. Any ideas on something I should try next?
    Jason
    [email protected]

    I have also setup a MediaTracker for the image, then used the various error checking methods to check for error. Nothing is reported in error.

  • Library item inserting - messes up whitespace after update

    hey,
    i've got a site where i'm using a library item. it inserts
    okay, and updates okay on all the pages i've used it on so far.
    What's really annoying though is that it doesn't preserve any
    whitespace around the library item. So if I put a nice couple of
    newlines between the content prior (and after) the library item,
    it'll be stripped after each update. It's intensley irritating.
    Is there anyway to stop this ?
    - Simon

    Yeah - it's a known issue with Library items. Have you
    considered using
    server-side includes instead?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Simon_J_K" <[email protected]> wrote in
    message
    news:e76q05$i2j$[email protected]..
    > hey,
    >
    > i've got a site where i'm using a library item. it
    inserts okay, and
    > updates
    > okay on all the pages i've used it on so far.
    >
    > What's really annoying though is that it doesn't
    preserve any whitespace
    > around the library item. So if I put a nice couple of
    newlines between
    > the
    > content prior (and after) the library item, it'll be
    stripped after each
    > update. It's intensley irritating.
    >
    > Is there anyway to stop this ?
    >
    > - Simon
    >
    >

  • JAI can't load jpeg image, premature end of data segment error

    Hi,
    I have a customer sending in a jpeg image and I tried to use JAI to open the image. But the program throws the following error:
    However, I can see the jpeg file on Windows, and open it using Windows Picture/Paint etc software.
    Corrupt JPEG data: premature end of data segment
    Error: Cannot decode the image for the type :
    Occurs in: com.sun.media.jai.opimage.CodecRIFUtil
    java.io.IOException: Premature end of input file
         at com.sun.media.jai.codecimpl.CodecUtils.toIOException(CodecUtils.java:76)
         at com.sun.media.jai.codecimpl.JPEGImageDecoder.decodeAsRenderedImage(JPEGImageDecoder.java:48)
         at com.sun.media.jai.opimage.CodecRIFUtil.create(CodecRIFUtil.java:88)
         at com.sun.media.jai.opimage.JPEGRIF.create(JPEGRIF.java:43)
         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 javax.media.jai.FactoryCache.invoke(FactoryCache.java:122)
         at javax.media.jai.OperationRegistry.invokeFactory(OperationRegistry.java:1674)
         at javax.media.jai.ThreadSafeOperationRegistry.invokeFactory(ThreadSafeOperationRegistry.java:473)
         at javax.media.jai.registry.RIFRegistry.create(RIFRegistry.java:332)
         at com.sun.media.jai.opimage.StreamRIF.create(StreamRIF.java:102)
         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 javax.media.jai.FactoryCache.invoke(FactoryCache.java:122)
         at javax.media.jai.OperationRegistry.invokeFactory(OperationRegistry.java:1674)
         at javax.media.jai.ThreadSafeOperationRegistry.invokeFactory(ThreadSafeOperationRegistry.java:473)
         at javax.media.jai.registry.RIFRegistry.create(RIFRegistry.java:332)
         at com.sun.media.jai.opimage.FileLoadRIF.create(FileLoadRIF.java:144)
         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 javax.media.jai.FactoryCache.invoke(FactoryCache.java:122)
         at javax.media.jai.OperationRegistry.invokeFactory(OperationRegistry.java:1674)
         at javax.media.jai.ThreadSafeOperationRegistry.invokeFactory(ThreadSafeOperationRegistry.java:473)
         at javax.media.jai.registry.RIFRegistry.create(RIFRegistry.java:332)
         at javax.media.jai.RenderedOp.createInstance(RenderedOp.java:819)
         at javax.media.jai.RenderedOp.createInstance(RenderedOp.java:770)
    PlanarImage image = img.createInstance();
    Thanks a lot for the help,

    I'm having this issue too - did you find any more information on this?

Maybe you are looking for