From: Mike W. <mw...@ne...> - 2003-07-31 23:09:32
|
Hi, Thanks for the xmlc plugin, nice work! However I have problems when there are errors in the html file. Instead of the error dialog, I get an exception: I found an explanation of the exception described in the QA: http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/platform-swt-home/faq.ht ml#uithread Anyone else experiencing this error? Mike Warne org.eclipse.swt.SWTException: Invalid thread access at org.eclipse.swt.SWT.error(SWT.java:2350) at org.eclipse.swt.SWT.error(SWT.java:2280) at org.eclipse.swt.widgets.Widget.error(Widget.java:389) at org.eclipse.swt.widgets.Shell.<init>(Shell.java:245) at org.eclipse.swt.widgets.Shell.<init>(Shell.java:323) at org.eclipse.jface.window.Window.createShell(Window.java:335) at org.eclipse.jface.window.Window.create(Window.java:301) at org.eclipse.jface.window.Window.open(Window.java:552) at org.eclipse.jface.dialogs.ErrorDialog.open(ErrorDialog.java:307) at org.eclipse.jface.dialogs.ErrorDialog.openError(ErrorDialog.java:370) at org.eclipse.jface.dialogs.ErrorDialog.openError(ErrorDialog.java:333) at net.sourceforge.xmlceclipse.core.util.CoreUtil.showException(CoreUtil.java:4 6) at net.sourceforge.xmlceclipse.core.XmlcBuilder.fullBuild(XmlcBuilder.java:300) at net.sourceforge.xmlceclipse.core.XmlcBuilder.build(XmlcBuilder.java:275) at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:427) at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java :1006) at org.eclipse.core.runtime.Platform.run(Platform.java:413) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:1 25) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:1 81) |
From: David C. <dc...@ma...> - 2003-07-31 23:27:16
|
In the "current release" (such as it is), I'm not aware of anybody else having such problems. OTOH, I'm only *aware* of one other user besides myself. What version of Eclipse are you using? I seem to recall that certain eclipse UI stuff can only occur from certain threads - I wonder if it's doing something to launch the builder in a different thread.... David P.S. I began work on improving the error handling, but it's been sitting idle for sometime now - I've been told that I'm hooking into XMLC errors has change between XMLC 2.1 and 2.2, and I haven't gotten enough inertia up to get 2.2 and see what the deal is. On Thursday 31 July 2003 18:57, Mike Warne wrote: > Hi, > Thanks for the xmlc plugin, nice work! > > However I have problems when there are errors in the html file. Instead of > the error dialog, I get an exception: > I found an explanation of the exception described in the QA: > > http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/platform-swt-home/faq.h >t ml#uithread > > Anyone else experiencing this error? > Mike Warne > > org.eclipse.swt.SWTException: Invalid thread access > at org.eclipse.swt.SWT.error(SWT.java:2350) > at org.eclipse.swt.SWT.error(SWT.java:2280) > at org.eclipse.swt.widgets.Widget.error(Widget.java:389) > at org.eclipse.swt.widgets.Shell.<init>(Shell.java:245) > at org.eclipse.swt.widgets.Shell.<init>(Shell.java:323) > at org.eclipse.jface.window.Window.createShell(Window.java:335) > at org.eclipse.jface.window.Window.create(Window.java:301) > at org.eclipse.jface.window.Window.open(Window.java:552) > at org.eclipse.jface.dialogs.ErrorDialog.open(ErrorDialog.java:307) > at > org.eclipse.jface.dialogs.ErrorDialog.openError(ErrorDialog.java:370) > at > org.eclipse.jface.dialogs.ErrorDialog.openError(ErrorDialog.java:333) > at > net.sourceforge.xmlceclipse.core.util.CoreUtil.showException(CoreUtil.java: >4 6) > at > net.sourceforge.xmlceclipse.core.XmlcBuilder.fullBuild(XmlcBuilder.java:300 >) at > net.sourceforge.xmlceclipse.core.XmlcBuilder.build(XmlcBuilder.java:275) > at > org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:427) > at > org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.jav >a > > :1006) > > at org.eclipse.core.runtime.Platform.run(Platform.java:413) > at > org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java: >1 25) > at > org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java: >1 81) > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Xmlceclipse-development mailing list > Xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlceclipse-development |
From: Mike W. <mw...@ne...> - 2003-07-31 23:55:10
|
Hi Dave, Thanks, Actually I'm using the Eclipse beta 3.0 I think I'm using M1, although they just announced M2 a couple of weeks ago, I haven't tried that yet. I downloaded the xmlceclipse source from CVS, but I'm not sure how to setup the project in Eclipse, do you think I could create a new plugin development project in eclipse, and import the cvs source into it? I'm deep into projects right now, I wish I had more time to work on something like this plugin instead. I may try version 2.1 eclipse later to see if it reacts differently.. BTW I tried the Enhydra Kelp for Eclipse, but it's a manual process. They just run the ant xmlc build script for xmlc support. It's not as nicely integrated as your plugin is.. I like the fact that I can simply refresh my html resource folder, and have xmlc fire up automatically, and the entire project gets updated.. Thanks again, Mike. ----- Original Message ----- From: "David Corbin" <dc...@ma...> To: <xml...@li...>; "Mike Warne" <mw...@ne...> Sent: Thursday, July 31, 2003 1:20 PM Subject: Re: [XmlcEclipse-development] SWT exception > In the "current release" (such as it is), I'm not aware of anybody else having > such problems. OTOH, I'm only *aware* of one other user besides myself. > > What version of Eclipse are you using? I seem to recall that certain eclipse > UI stuff can only occur from certain threads - I wonder if it's doing > something to launch the builder in a different thread.... > > David > > P.S. I began work on improving the error handling, but it's been sitting idle > for sometime now - I've been told that I'm hooking into XMLC errors has > change between XMLC 2.1 and 2.2, and I haven't gotten enough inertia up to > get 2.2 and see what the deal is. > > > > > On Thursday 31 July 2003 18:57, Mike Warne wrote: > > Hi, > > Thanks for the xmlc plugin, nice work! > > > > However I have problems when there are errors in the html file. Instead of > > the error dialog, I get an exception: > > I found an explanation of the exception described in the QA: > > > > http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/platform-swt-home/faq.h > >t ml#uithread > > > > Anyone else experiencing this error? > > Mike Warne > > > > org.eclipse.swt.SWTException: Invalid thread access > > at org.eclipse.swt.SWT.error(SWT.java:2350) > > at org.eclipse.swt.SWT.error(SWT.java:2280) > > at org.eclipse.swt.widgets.Widget.error(Widget.java:389) > > at org.eclipse.swt.widgets.Shell.<init>(Shell.java:245) > > at org.eclipse.swt.widgets.Shell.<init>(Shell.java:323) > > at org.eclipse.jface.window.Window.createShell(Window.java:335) > > at org.eclipse.jface.window.Window.create(Window.java:301) > > at org.eclipse.jface.window.Window.open(Window.java:552) > > at org.eclipse.jface.dialogs.ErrorDialog.open(ErrorDialog.java:307) > > at > > org.eclipse.jface.dialogs.ErrorDialog.openError(ErrorDialog.java:370) > > at > > org.eclipse.jface.dialogs.ErrorDialog.openError(ErrorDialog.java:333) > > at > > net.sourceforge.xmlceclipse.core.util.CoreUtil.showException(CoreUtil.java: > >4 6) > > at > > net.sourceforge.xmlceclipse.core.XmlcBuilder.fullBuild(XmlcBuilder.java:300 > >) at > > net.sourceforge.xmlceclipse.core.XmlcBuilder.build(XmlcBuilder.java:275) > > at > > org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:427) > > at > > org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.jav > >a > > > > :1006) > > > > at org.eclipse.core.runtime.Platform.run(Platform.java:413) > > at > > org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java: > >1 25) > > at > > org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java: > >1 81) > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > > _______________________________________________ > > Xmlceclipse-development mailing list > > Xml...@li... > > https://lists.sourceforge.net/lists/listinfo/xmlceclipse-development > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Xmlceclipse-development mailing list > Xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlceclipse-development |
From: David C. <dc...@ma...> - 2003-08-01 00:13:56
|
On Thursday 31 July 2003 19:54, Mike Warne wrote: > Hi Dave, > Thanks, > Actually I'm using the Eclipse beta 3.0 I think I'm using M1, although they > just announced M2 a couple of weeks ago, I haven't tried that yet. > Now that I think about it, I've been used it in 3.0 M2 a couple of times, and I have not had any problems. But, I never did use it with M1. > I downloaded the xmlceclipse source from CVS, but I'm not sure how to setup > the project in Eclipse, do you think I could create a new plugin > development project in eclipse, and import the cvs source into it? You should be able to check it out from CVS from within eclipse. It should have the .project and everything in CVS. > > I'm deep into projects right now, I wish I had more time to work on > something like this plugin instead. > I may try version 2.1 eclipse later to see if it reacts differently.. > Help and contributions are always welcome, should you ever find the time. > BTW I tried the Enhydra Kelp for Eclipse, but it's a manual process. They > just run the ant xmlc build script for xmlc support. It's not as nicely > integrated as your plugin is.. I like the fact that I can simply refresh > my html resource folder, and have xmlc fire up automatically, and the > entire project gets updated.. > The goal, in my oppinion with eclipse is that tools be INTEGRATED. I've not looked at Kelp for Eclipse, but it doesn't very integrated. > Thanks again, > Mike. > |