- This topic has 6 replies, 2 voices, and was last updated 18 years, 1 month ago by tenjin.
-
AuthorPosts
-
tenjinMemberHi,
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.
Riyad KallaMemberDarren,
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?
tenjinMemberHi,
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 WorkbenchVersion: 5.0 GA
Build id: 20060805-5.0-GA*** Eclipse details:
Eclipse SDKVersion: 3.2.0
Build id: M20060629-1905Eclipse Platform
Version: 3.2.0.v20060609m-AgOexn6hlEUsvBO
Build id: M20060629-1905Eclipse RCP
Version: 3.2.0.v20060609m-SVDNgVrNoh-MeGG
Build id: M20060629-1905Eclipse Java Development Tools
Version: 3.2.0.v20060609m-F7snq1fxia-Z4XP
Build id: M20060629-1905Eclipse Plug-in Development Environment
Version: 3.2.0.v20060609m——6zXJJzJzJq
Build id: M20060629-1905Eclipse Project SDK
Version: 3.2.0.v20060609m-GNq6oQq-7es-Y81
Build id: M20060629-1905Eclipse Graphical Editing Framework
Version: 3.2.0.v20060626
Build id: 20060627-0816Eclipse 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.exeCheers
Darren.
Riyad KallaMemberDarren,
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?
tenjinMemberHi,
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.
Riyad KallaMemberDarren,
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.
tenjinMemberHi,
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.
-
AuthorPosts