facebook

Failure when saving ".inc" file

  1. MyEclipse Archived
  2.  > 
  3. Web Development (HTML, CSS, etc.)
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #259039 Reply

    tenjin
    Member

    Hi,

    I have a file “meta.inc” that I include into the top of my JSP files.

    On previous versions of Eclipse and MyEclipseIDE I could open, edit and save this file without any problems.

    Running the latest version of both on Windows XP with the 1.5 JDK I get the following error every time I try to save the file:

    Save failed: The function “createElement” returned an error condition (0x80530005)

    The file does seem to save though.

    Any ideas?

    Cheers

    Darren.

    #259120 Reply

    Riyad Kalla
    Member

    Darren,
    Can you go to MyEclipse > Installation Summary > Installation Details and paste the result here for me? We are aware of a problem when the visual designer is *disabled* where users get an errorneous dialog that says “Saved Failed: NULL”, but the file infact saves.

    Is your designer disabled or can you open and edit HTML/JSP pages visually?

    #259129 Reply

    tenjin
    Member

    Hi,

    I do seem to be able to visually edit HTML / JSP pages.

    Here is the information you requested:

    *** Date: Sun Sep 24 23:08:51 BST 2006

    *** System properties:
    OS=WindowsXP
    OS version=5.1
    Java version=1.5.0_08

    *** MyEclipse details:
    MyEclipse Enterprise Workbench

    Version: 5.0 GA
    Build id: 20060805-5.0-GA

    *** Eclipse details:
    Eclipse SDK

    Version: 3.2.0
    Build id: M20060629-1905

    Eclipse Platform

    Version: 3.2.0.v20060609m-AgOexn6hlEUsvBO
    Build id: M20060629-1905

    Eclipse RCP

    Version: 3.2.0.v20060609m-SVDNgVrNoh-MeGG
    Build id: M20060629-1905

    Eclipse Java Development Tools

    Version: 3.2.0.v20060609m-F7snq1fxia-Z4XP
    Build id: M20060629-1905

    Eclipse Plug-in Development Environment

    Version: 3.2.0.v20060609m——6zXJJzJzJq
    Build id: M20060629-1905

    Eclipse Project SDK

    Version: 3.2.0.v20060609m-GNq6oQq-7es-Y81
    Build id: M20060629-1905

    Eclipse Graphical Editing Framework

    Version: 3.2.0.v20060626
    Build id: 20060627-0816

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -launcher
    D:\Program Files\eclipse\eclipse.exe
    -name
    Eclipse
    -showsplash
    600
    -exitdata
    cb8_74
    -vm
    C:\WINDOWS\system32\javaw.exe

    Cheers

    Darren.

    #259131 Reply

    Riyad Kalla
    Member

    Darren,
    How reproducable is this, does it happen every time? If you restart using the -clean command line argument does it still happen? If you create a new workspace with 1 temporary project in it (File > Switch Workspace) does it happen? Does it happen with .jsp and .html files? What about .jspf files? Just .inc?

    #259151 Reply

    tenjin
    Member

    Hi,

    I’ve done some digging and it looks like the save only fails when the file contains HTML comments:

    <!-
    /**
    * Preload images
    */
    –>

    If I try to save the file when it contains the above text I get the aforementioned error (every time). If I delete it, I don’t get an error.

    Cheers

    Darren.

    #259172 Reply

    Riyad Kalla
    Member

    Darren,
    I reproduced the problem and will file it as a bug, but just a heads up, that’s not a valid HTML comment, you need another dash:

    <!–
    /** blah */
    –>

    Then the file saves… but it’s odd that with the wrong comment the file doesn’t save. That’s definately a bug.

    #259178 Reply

    tenjin
    Member

    Hi,

    Ah, thanks for that. Didn’t spot the typo.

    I’ve corrected it and now the file does indeed save without generating an error.

    Regards

    Darren.

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: Failure when saving ".inc" file

You must be logged in to post in the forum log in