This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Created attachment 114929 [details] JIRA invalid date format exception window Since upgrading to Netbeans 7.1 I've been getting an invalid date format exception (see attachement) every time I do an svn commit associated with JIRA issue. On the same computer, using the same JIRA repo, the exact same settings, Netbeans 7.0.1 works perfectly! I don't know if this is the same bug as this: http://netbeans.org/bugzilla/show_bug.cgi?id=178677 resurfaced... I tried applying what they said on the thread to no avail.
hm, i'm not aware of any changes between 7.0.1 and 7.1 that could case the described problem. could you please check if your 7.1 and 7.0.1 have the same locale set? main menu > view > IDE Log and serach for "System Locale" thanks
I'll have to reinstall 7.0.1 (I've unistalled it after 7.1) but I never changed the Locale so I assume it had my windows default (which is en_GB). Right now 7.1 shows the Locale as "en_GB (nb); Cp1252" As soon as I can I'll reinstall 7.0.1 and report back.
Ok just finished reinstalling 7.0.1. I performed all updates listed for 7.0.1 and installed the JIRA plugin. Just as I expected 7.0.1 lists the exact same Locale as 7.1, i.e. "System Locale; Encoding = en_GB (nb); Cp1252" Just to make sure I tried commiting a change to the SVN with an associated JIRA issue (in 7.0.1) and it worked just fine! However in 7.1 whenever I try to modify an issue I get the invalid date format message. I don't know if it helps but the JIRA modules are: 7.0.1 - org.netbeans.modules.jira [1.1.3 201107282000] 7.1.1 - org.netbeans.modules.jira [1.2.1 201112071828] I can't see any error message on the IDE Log associated with the 7.1 error message but if you need some kind of detailed logtrace just tell me how I can provide it and I'll gladly do so!
hm, we upgraded the connector libraries in 7.1, but nobody else seems to have similar problems. > Since upgrading to Netbeans 7.1 I've been getting an invalid date format exception > (see attachement) every time I do an svn commit associated with JIRA issue. do other jira actions (e.g. adding a comment) work for you? run netbeans with the switch -J-Dorg.netbeans.modules.jira.Jira.level=-1, reproduce the issue and attach your messages log, maybe we will see more in it. To know your jira server version would be also of use. could you, please, also try to reporduce with a current dev build? thanks
Created attachment 117901 [details] JIRA invalid date format exception log for version 7.1.1
Created attachment 117902 [details] JIRA invalid date format exception log for version 201204050400
Thanks for taking the time to look at this Thomas! Just tried the current dev version (201204050400) and the same thing happens (check the detailed logs attached) Regarding when the problem occurs, basically any action the involves submitting anyting (coments, issue details, etc.) causes the exception (the 7.1.1 has the log for when I tried to add a comment too) Btw the JIRA version is v4.4.4#664-r167664 Let me know if there is anything else I can help! Cheers,
one more try: please run netbeans with the switch -J-Dorg.netbeans.modules.jira.datePattern="{value}" and -J-Dorg.netbeans.modules.jira.dateTimePattern="{value}" where value should be appropriately derived from yyy/MM/dd. Note that we pass those values to the jira client, so maybe you could play with it a bit - in case it doesn't work with the first shot. thanks
Success! :-) Adding those two settings worked! Thanks Tomas! Cheers
we should provide UI for those settings - covered in issue #183914