|
From: Torsten J. <tor...@on...> - 2004-10-22 23:19:14
|
Hi David, right back from holiday and starting with finding nasty bugs ;-) FileResource was terribly broken (no handling of non-existent files). Now it supports initialization with null and an instance of IFile which is non-existent. BeansConfig now handles non-existent config files too (the internal exception field is initialized with a "file not found" BeanDefinitionException). GraphEditorInput didn't handle non-existent config files too (fixed). Thanx for spotting this. The fixed version is available in CVS HEAD or on the update site (needs removal of former Spring IDE installation -> same feature / plugin version number). Cheers, Torsten On 22.10.2004, at 17:15, Watkins, David wrote: > 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... >> [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 >> >> Antranig, >> >>> I find a problem when trying to create the GEF graph that >> the entire >>> IDE crashes in a 100% CPU loop. >> >> So let's try to track this down: >> >> Which way did you create the graph (by selecting a config, a >> 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 >> project references, a lot of beans, config sets with many >> beans, ...) only or are simple projects / config files affected too? >> >> Could you please close all Spring projects in the workspace, >> create a new Spring project with a single config file >> containing a single bean and open the graph of this simple config. >> >>> I also saw this problem in the release plugin when the beans >>> definitions file contained errors. This stopped happening when I >>> corrected them, but with the 19/10/04 release candidate it seems to >>> happen all the time. >> >> What do you mean by "errors"? If the XML is not well-formed >> or doesn't conform to Spring's DTD then the config file is >> not parsed and the corresponding confing node in the bean >> shows only a single node containing the parser's error >> message. Showing a graph on this config file or the dummy >> bean opens an empty graph editor. All the other errors are >> detected by Spring IDE's validator. These kind of errors >> don't have any impact on Spring IDE's beans view or graph >> editor because they are taking effect during runtime of the >> Spring application only (they causing configuration errors >> during initialization of the "real" BeanFactory). >> >>> I'm using: >>> Eclipse 3.0.0 >>> GEF 3.0.1 >>> JDK 1.4.2_04 >> >> 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. >> Or install the GEF examples and run the Logic example plugin. >> Maybe it's a problem with GEF. >> >> Is anyone else running Eclipse 3.0 with GEF 3.0.1? I'm >> already on Eclipse 3.0.1. >> >> Cheers, >> Torsten >> >> >> On 21.10.2004, at 18:31, Antranig Basman wrote: >> >>> New plugin looks great, I'm very glad for anonymous beans support. >>> I find a problem when trying to create the GEF graph that >> the entire >>> IDE crashes in a 100% CPU loop. >>> I also saw this problem in the release plugin when the beans >>> definitions file contained errors. This stopped happening when I >>> corrected them, but with the 19/10/04 release candidate it seems to >>> 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 >>> better bug report? >>> >>> Thanks, >>> Antranig. >>> >>> >>> ------------------------------------------------------- >>> This SF.net email is sponsored by: IT Product Guide on >>> ITManagersJournal Use IT products in your business? Tell us >> what you >>> think of them. Give us Your Opinions, Get Free ThinkGeek Gift >>> Certificates! Click to find out more >>> http://productguide.itmanagersjournal.com/guidepromo.tmpl >>> _______________________________________________ >>> Springide-eclip-developer mailing list >>> Spr...@li... >>> >> https://lists.sourceforge.net/lists/listinfo/springide-eclip-developer >>> >> >> >> >> ------------------------------------------------------- >> This SF.net email is sponsored by: IT Product Guide on >> ITManagersJournal Use IT products in your business? Tell us >> what you think of them. Give us Your Opinions, Get Free >> ThinkGeek Gift Certificates! Click to find out more >> http://productguide.itmanagersjournal.com/guidepromo.tmpl >> _______________________________________________ >> Springide-eclip-developer mailing list >> Spr...@li... >> https://lists.sourceforge.net/lists/listinfo/springide-eclip-developer >> > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on > ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give > us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out > more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Springide-eclip-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springide-eclip-developer > |