|
From: Watkins, D. <dav...@fa...> - 2004-10-22 15:15:25
|
Hi Torsten, Sorry I've been a bit quiet recently - holiday then found a mountain of work upon my return! Anyway I've just caught up on the latest code from HEAD and I've found a small problem. I can't imagine many people running into it, however if you rename a registered config file the internal model doesn't catch it as a problem and the Spring Beans treeview chucks a NullPointerException. I've got a fix that gets round the problem but you may have a better idea of how to fix it - the classes in question are: BeansConfig and FileResource from core. I'll check in the fix now and continue looking at the new stuff (some really nice improvements!). Cheers, Dave W. > -----Original Message----- > From: spr...@li...=20 > [mailto:spr...@li...] > On Behalf Of Torsten Juergeleit > Sent: 21 October 2004 22:57 > To: Spring IDE Developer List > Subject: Re: [Springide-eclip-developer] GEF crash >=20 > Antranig, >=20 > > I find a problem when trying to create the GEF graph that=20 > the entire=20 > > IDE crashes in a 100% CPU loop. >=20 > So let's try to track this down: >=20 > Which way did you create the graph (by selecting a config, a=20 > config set or a single bean)? > Did this happen with configs of other Spring projects too? > Is this bug related to complex Spring projects (external=20 > project references, a lot of beans, config sets with many=20 > beans, ...) only or are simple projects / config files affected too? >=20 > Could you please close all Spring projects in the workspace,=20 > create a new Spring project with a single config file=20 > containing a single bean and open the graph of this simple config. >=20 > > I also saw this problem in the release plugin when the beans=20 > > definitions file contained errors. This stopped happening when I=20 > > corrected them, but with the 19/10/04 release candidate it seems to=20 > > happen all the time. >=20 > What do you mean by "errors"? If the XML is not well-formed=20 > or doesn't conform to Spring's DTD then the config file is=20 > not parsed and the corresponding confing node in the bean=20 > shows only a single node containing the parser's error=20 > message. Showing a graph on this config file or the dummy=20 > bean opens an empty graph editor. All the other errors are=20 > detected by Spring IDE's validator. These kind of errors=20 > don't have any impact on Spring IDE's beans view or graph=20 > editor because they are taking effect during runtime of the=20 > Spring application only (they causing configuration errors=20 > during initialization of the "real" BeanFactory). >=20 > > I'm using: > > Eclipse 3.0.0 > > GEF 3.0.1 > > JDK 1.4.2_04 >=20 > Hhm, I'm not sure if it does matter but GEF 3.0.1 requires Eclipse > 3.0.1 (as stated on GEF's download page). > Could you please make an additional test by downgrading to GEF 3.0.0.=20 > Or install the GEF examples and run the Logic example plugin.=20 > Maybe it's a problem with GEF. >=20 > Is anyone else running Eclipse 3.0 with GEF 3.0.1? I'm=20 > already on Eclipse 3.0.1. >=20 > Cheers, > Torsten >=20 >=20 > On 21.10.2004, at 18:31, Antranig Basman wrote: >=20 > > New plugin looks great, I'm very glad for anonymous beans support. > > I find a problem when trying to create the GEF graph that=20 > the entire=20 > > IDE crashes in a 100% CPU loop. > > I also saw this problem in the release plugin when the beans=20 > > definitions file contained errors. This stopped happening when I=20 > > corrected them, but with the 19/10/04 release candidate it seems to=20 > > happen all the time. > > I'm using: > > Eclipse 3.0.0 > > GEF 3.0.1 > > JDK 1.4.2_04 > > > > Any suggestions for how I can investigate the problem and file a=20 > > better bug report? > > > > Thanks, > > Antranig. > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: IT Product Guide on=20 > > ITManagersJournal Use IT products in your business? Tell us=20 > what you=20 > > think of them. Give us Your Opinions, Get Free ThinkGeek Gift=20 > > Certificates! Click to find out more=20 > > http://productguide.itmanagersjournal.com/guidepromo.tmpl > > _______________________________________________ > > Springide-eclip-developer mailing list=20 > > Spr...@li... > >=20 > https://lists.sourceforge.net/lists/listinfo/springide-eclip-developer > > >=20 >=20 >=20 > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on=20 > ITManagersJournal Use IT products in your business? Tell us=20 > what you think of them. Give us Your Opinions, Get Free=20 > ThinkGeek Gift Certificates! Click to find out more=20 > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Springide-eclip-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springide-eclip-developer >=20 |