WTP XML editor bug ? [message #92710] |
Sun, 17 April 2005 10:36  |
Eclipse User |
|
|
|
1.create a standard application.xml file
2.open it with Xml Source Page Editor
3.close the editor
4.double click application.xml to open again
5.error occur...
try it.
|
|
|
|
Re: WTP XML editor bug ? [message #92816 is a reply to message #92755] |
Mon, 18 April 2005 04:48   |
Eclipse User |
|
|
|
come again: (complete description)
use wtp-eclipse-prereqs-sdk-1.0M3-win32.zip: eclipse-3.1M5a + wtp-1.0M3
1. new a simple project
2. new a file named "application.xml"
3.enter text content as follow:
<?xml version="1.0" encoding="UTF-8"?>
<application xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/application_1_4.xsd" version="1.4">
<description></description>
<display-name>newEar</display-name>
<icon>
<small-icon>sss</small-icon>
<large-icon>large</large-icon>
</icon>
<module>
<web>
<web-uri>myweb.war</web-uri>
<context-root>myweb</context-root>
</web>
</module>
<module>
<connector>myrar.rar</connector>
</module>
<module>
<ejb>myrar.rar</ejb>
</module>
</application>
end application.xml.
my xml editor opens file with "Xml Source Page Editor",
4. close the edior.
5. double click application.xml to open again,
6. a error dialog popups with info "Unable to create part:"
if not, repeate 4,5,6.
If delete extension (id=xmlValidator) in
org.eclipse.wst.xml.validation_1.0.0/plugin.xml,
run correctly, error not occur.
----- Original Message -----
From: "Max Rydahl Andersen" <max.andersen@jboss.com>
Newsgroups: eclipse.webtools
Sent: Monday, April 18, 2005 3:42 PM
Subject: Re: WTP XML editor bug ?
> On Sun, 17 Apr 2005 16:36:02 +0200, navy <navy@shekou.com> wrote:
>
>> 1.create a standard application.xml file
>> 2.open it with Xml Source Page Editor
>> 3.close the editor
>> 4.double click application.xml to open again
>> 5.error occur...
>>
>> try it.
>
> works fine here...
> maybe you could tell us what the actual error is instead of having us
> guess ? ,)
>
> /max
|
|
|
|
|
|
Re: WTP XML editor bug ? [message #93141 is a reply to message #93111] |
Tue, 19 April 2005 13:24   |
Eclipse User |
|
|
|
On Tue, 19 Apr 2005 09:15:42 -0700, Rob Williams <robwms63@yahoo.com> wrote:
> Wow, there's a useful use of assertions!
>
> navy wrote:
>> StackTrace:
>>
>> org.eclipse.jface.text.Assert$AssertionFailedException: Assertion
>> failed: at org.eclipse.jface.text.Assert.isTrue(Assert.java:189)
Yeah ... one of those that's expected so seldom there's no need to
state reason for it :)
Its actually caused, I think, from threading/synchronization issues. I've
seen this occasionally, but not on a regular basis. If you have
such a reproducable case, a bugzilla would be appreciated with the
stack trace, exact stepts to reproduce, etc. We'll try and see
if its still a problem in our current stream (or ... you could test
for us if you can :)
Thanks,
|
|
|
|
|
|
|
Re: WTP XML editor bug ? [message #94061 is a reply to message #93395] |
Thu, 21 April 2005 21:14  |
Eclipse User |
|
|
|
Thanks!
"amy" <amywu@us.DELETEME.ibm.com>
??????:4f83d7833299d862ca3878909df3476a$1@www.eclipse.org...
> Okay, I tried your scenario on WTP-I20040420 and I could not get the
> assert error. And just to be sure the problem existed before, I tried the
> scenario on WTP 1.0 M3 and after opening and close the file a few times, I
> was able to get the error.
>
> So it looks like your problem has been fixed :)
>
> -amy
>
|
|
|
Powered by
FUDForum. Page generated in 0.04771 seconds