The following partial is giving NetBeans 6.7 fits

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

The following partial is giving NetBeans 6.7 fits

by Bharat Ruparel :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Erno,
I was using 6.7 m3 build and it choked on the following partial:

<%= render :partial => 'shared/crud_maint_table', :object => @links,
                             :locals => {:controller_name => 'links',
                                         :columns => ['id','title','url'],
                                         :search_field => @search_field,
                                         :actions => 'default'} %>

Here is the exception:

A javax.swing.text.BadLocationException exception has occurred.
However, the system should continue working without further problems.
Click Show Details for the stack trace.

So I downloaded the dev build from the link that you gave me for 11th and am using it.  It has the same problem.  If you would be kind enough to give me the patch for NetBeans 6.5 for Rails 2.3.2 then I will use it.  NetBeans 6.7 is throwing way too many excpetions.  I could not report the error online since the sign-on dialog won't let me login. It is funny, of all the views that I have, this is the particular view that is causing this exception in NetBeans 6.7, so it is definitely something specific to this view.

Bharat

Re: The following partial is giving NetBeans 6.7 fits

by Erno Mononen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Bharat,

Thanks for the report, I'll look at it.

Wrt. 6.5 and 2.3.2, I posted a link to the patch to this thread last
week, I guess it went unnoticed. Here it is again:

> I finally had the time to port the fix to 6.5.1, the updated module
> .jar file is attached to
> http://www.netbeans.org/issues/show_bug.cgi?id=162287. Please follow
> the instructions in the issue for updating your IDE; let me know if
> run into any problems or the fix doesn't work for you (remember to
> restart after updating).


Please let me know if you run into any problems with the patch.

Thanks,
Erno




Bharat Ruparel wrote:

> Hello Erno,
> I was using 6.7 m3 build and it choked on the following partial:
>
> <%= render :partial => 'shared/crud_maint_table', :object => @links,
>                              :locals => {:controller_name => 'links',
>                                          :columns => ['id','title','url'],
>                                          :search_field => @search_field,
>                                          :actions => 'default'} %>
>
> Here is the exception:
>
> A javax.swing.text.BadLocationException exception has occurred.
> However, the system should continue working without further problems.
> Click Show Details for the stack trace.
>
> So I downloaded the dev build from the link that you gave me for 11th and am
> using it.  It has the same problem.  If you would be kind enough to give me
> the patch for NetBeans 6.5 for Rails 2.3.2 then I will use it.  NetBeans 6.7
> is throwing way too many excpetions.  I could not report the error online
> since the sign-on dialog won't let me login. It is funny, of all the views
> that I have, this is the particular view that is causing this exception in
> NetBeans 6.7, so it is definitely something specific to this view.
>
> Bharat
>
>  


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: The following partial is giving NetBeans 6.7 fits

by Bharat Ruparel :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I guess I missed the link didn't I?  Was busy hacking away.
I downloaded the patch (jar) and followed your instructions.  Seems to work fine.
Thank you and regards.
Bharat