Wow - Corrupted XPage? Lost the whole design

I’ve been working on an XPage application for the last several days. Today I open DDE up and I see a “Problem” that I don’t remember seeing yesterday. It sends me to an XPage that had been working and I didn’t even touch yesterday.

It’s like EVERYTHING I did on the page is gone! I had fields… data bound, all sorts of stuff you would expect to see on a nice simple XPage.

I’m going to reboot and hope for the best.

The source show’s :

<?xml version="1.0" encoding="UTF-8"?>
<name>xmenu(1).nsf</name>

<comment></comment>

<projects>

</projects>

<buildSpec>

	<buildCommand>

		<name>com.ibm.designer.domino.design.jsvalidationbuilder</name>

		<arguments>

		</arguments>

	</buildCommand>

	<buildCommand>

		<name>org.eclipse.pde.ManifestBuilder</name>

		<arguments>

		</arguments>

	</buildCommand>

	<buildCommand>

		<name>com.ibm.designer.domino.ide.resources.facesConfigbuilder</name>

		<arguments>

		</arguments>

	</buildCommand>

	<buildCommand>

		<name>com.ibm.designer.domino.ide.resources.BuildPropertiesBuilder</name>

		<arguments>

		</arguments>

	</buildCommand>

	<buildCommand>

		<name>com.ibm.designer.domino.ide.resources.pluginXMLbuilder</name>

		<arguments>

		</arguments>

	</buildCommand>

	<buildCommand>

		<name>com.ibm.designer.domino.ide.resources.LWPDBuilder</name>

		<arguments>

		</arguments>

	</buildCommand>

	<buildCommand>

		<name>org.eclipse.pde.SchemaBuilder</name>

		<arguments>

		</arguments>

	</buildCommand>

	<buildCommand>

		<name>com.ibm.designer.domino.xsp.editor.xpagesbuilder</name>

		<arguments>

		</arguments>

	</buildCommand>

	<buildCommand>

		<name>org.eclipse.jdt.core.javabuilder</name>

		<arguments>

		</arguments>

	</buildCommand>

</buildSpec>

<natures>

	<nature>com.ibm.workplace.notes.filesystem.DDNature</nature>

	<nature>org.eclipse.jdt.core.javanature</nature>

	<nature>org.eclipse.pde.PluginNature</nature>

</natures>

<xp:view xmlns:xp=“http://www.ibm.com/xsp/core”></xp:view>

Subject: Design Gone but still working?

Well I rebooted and that didn’t solve the problem. Interestingly I checked the application with my browser and the page in questions SEEMS to be working just fine. But I can’t do anything with it in DDE. Looks like all my stuff is gone, replaced with the mess from my first post.

Not a good way to start the day.

Subject: the app would still work

as the class file would still be around from when the page was compilable.

Any possible steps to reproduce - definitely not a bug we want to let survive an instant longer!

Subject: App

Maureen,

Thanks for getting back to me.

I don’t know how to reproduce, yet. I’ll keep my eye on it. I’m just playing with XPages and was doing nothing fancy at all.

I was able to restore my page from a backup of the database I had made. Before I did I made a copy of the database with the problem. I could send that to you if you like. dleedy@lotusnotebook.com

Subject: I think I can reproduce this issue

I had the same issue earlier and thought I was just unlucky. I was searching for something else when I found this post so in the interests of maybe fixing an issue…

8.5.1 client/ designer

Windows XP

I was just having a dabble to see what XPages were about so it was nothing complicated. Having had a play I can reproduce a corrupt page by doing the following.

  1. Create a new XPage.

  2. Type some random text on it.

  3. Save and close the XPage.

  4. Rename the XPage and make the name longer.

  5. Go in and check the page (should be OK).

  6. Rename the XPage and make the name shorter.

  7. Go in and check the page (should be corrupt).

Strangely, if I make the name longer on subsequent renames after step 4 there is no problem until I make the name shorter.

This is also true if I make the name shorter on step 4 - I can repeatedly shorten the name but as soon as I try to lengthen the name again there is a corruption.

Subject: an option

Hi,

What worked for me quite reliably in case of any problem with the design/DDE/Xpage/custom control is to delete the .config\org.eclipse.osgi folder under your workspace. Make a backup of your workspace :wink:

Tibor

Subject: Thanks

Thanks Tibor,

I’ll keep that in mind if it happens again. I couldn’t wait this morning and had to move on. Luckily I made a fairly recent copy because I wanted to try and integrate oneUI into the app. I didn’t get too far with that but at least I had the copy of the XPage.