[68cat] [maven] Can't save pom.xml files

View: New views
4 Messages — Rating Filter:   Alert me  

[68cat] [maven] Can't save pom.xml files

by Neil Green-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I've run into a problem with pom file editing in 200910191401 and in beta. To put it simply, save stops working but not all the time. I press ctrl-s to save a modified pom and nothing happens. The name of the pom file is emboldened in its tab, so the editor is aware that something has changed. Save is greyed out in the file menu. This doesn't happen all the time, but once it does it doesn't go away without a restart of the IDE (and obviously I lose my changes).

Has anyone else run into this? I've raised http://www.netbeans.org/issues/show_bug.cgi?id=175277 for the problem. I've set it to P1 as basic functionality stops working.

Cheers
Neil

Parent Message unknown Re: [68cat] [maven] Can't save pom.xml files

by Dennis Kühn-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I ran into a similar problem recently and added some comments to
http://www.netbeans.org/issues/show_bug.cgi?id=166414
(Additional comments from denbo Tue Oct 13 16:37:03 +0000 2009)

Regards
Dennis
--

>  
>
>  
>
> *Von:* Neil Green [mailto:neil.r.green@...]
> *Gesendet:* Freitag, 23. Oktober 2009 12:48
> *An:* netcat@...
> *Betreff:* [68cat] [maven] Can't save pom.xml files
>
>  
>
> Hi,
>
> I've run into a problem with pom file editing in 200910191401 and in
> beta. To put it simply, save stops working but not all the time. I press
> ctrl-s to save a modified pom and nothing happens. The name of the pom
> file is emboldened in its tab, so the editor is aware that something has
> changed. Save is greyed out in the file menu. This doesn't happen all
> the time, but once it does it doesn't go away without a restart of the
> IDE (and obviously I lose my changes).
>
> Has anyone else run into this? I've raised
> http://www.netbeans.org/issues/show_bug.cgi?id=175277 for the problem.
> I've set it to P1 as basic functionality stops working.
>
> Cheers
> Neil
>

Re: [68cat] [maven] Can't save pom.xml files

by Neil Green-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

It looks like what you saw is the same problem I saw, i.e. pom will not save. I think problem is distinct from that in http://www.netbeans.org/issues/show_bug.cgi?id=166414, though quite possibly related to it.

I have a general impression that pom editing has got worse since 6.7

http://www.netbeans.org/issues/show_bug.cgi?id=173122 (completion adds additional erroneous characters)
http://www.netbeans.org/issues/show_bug.cgi?id=166414 (add dependency doesn't change pom.xml)
http://www.netbeans.org/issues/show_bug.cgi?id=175277 (can't save modified files)

I can't use 6.8 beta for pom editing (particulary because of #175277). I hope these problems can be fixed before release.

Regards
Neil
 
2009/10/23 Dennis Kühn <denbo@...>
I ran into a similar problem recently and added some comments to
http://www.netbeans.org/issues/show_bug.cgi?id=166414
(Additional comments from denbo Tue Oct 13 16:37:03 +0000 2009)

Regards
Dennis
--
 
 
*Von:* Neil Green [mailto:neil.r.green@...]
*Gesendet:* Freitag, 23. Oktober 2009 12:48
*An:* netcat@...
*Betreff:* [68cat] [maven] Can't save pom.xml files


 
Hi,

I've run into a problem with pom file editing in 200910191401 and in beta. To put it simply, save stops working but not all the time. I press ctrl-s to save a modified pom and nothing happens. The name of the pom file is emboldened in its tab, so the editor is aware that something has changed. Save is greyed out in the file menu. This doesn't happen all the time, but once it does it doesn't go away without a restart of the IDE (and obviously I lose my changes).

Has anyone else run into this? I've raised http://www.netbeans.org/issues/show_bug.cgi?id=175277 for the problem. I've set it to P1 as basic functionality stops working.

Cheers
Neil



Re: [68cat] [maven] Can't save pom.xml files

by Neil Green-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



http://www.netbeans.org/issues/show_bug.cgi?id=173122 (completion adds additional erroneous characters)
http://www.netbeans.org/issues/show_bug.cgi?id=166414 (add dependency doesn't change pom.xml)
http://www.netbeans.org/issues/show_bug.cgi?id=175277 (can't save modified files)


and
http://www.netbeans.org/issues/show_bug.cgi?id=157599 (Illegal state)

While trying to discover repeatable conditions for some of the above I ran into http://statistics.netbeans.org/analytics/exception.do?id=285280 and http://statistics.netbeans.org/analytics/exception.do?id=285301 both of which occurred on start up. First indications are that these were caused by an invalid pom file. The pom file was in an invalid state because of #175277.

After this the exception reporter seemed to raise more exceptions every time I did anything. I've raised http://www.netbeans.org/issues/show_bug.cgi?id=175331 for the two exception reports as they seem to have been attached to unrelated exception reports. I also added the relevant messages.log files from the sessions with the problems.

Regards
Neil