MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
tenjin
Post subject: Failure when saving ".inc" file  PostPosted: Sep 22, 2006 - 03:17 PM
Veteran Member
Veteran Member


Joined: Nov 19, 2003
Posts: 43

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.
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-rkalla
Post subject:   PostPosted: Sep 24, 2006 - 07:27 PM
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23824

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?

_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
tenjin
Post subject:   PostPosted: Sep 24, 2006 - 11:15 PM
Veteran Member
Veteran Member


Joined: Nov 19, 2003
Posts: 43

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.
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-rkalla
Post subject:   PostPosted: Sep 25, 2006 - 01:30 AM
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23824

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?

_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
tenjin
Post subject:   PostPosted: Sep 25, 2006 - 09:11 AM
Veteran Member
Veteran Member


Joined: Nov 19, 2003
Posts: 43

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.
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-rkalla
Post subject:   PostPosted: Sep 25, 2006 - 03:53 PM
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23824

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.

_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
tenjin
Post subject:   PostPosted: Sep 25, 2006 - 04:40 PM
Veteran Member
Veteran Member


Joined: Nov 19, 2003
Posts: 43

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.
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits