Re: Certain characters cause exception when type in editor

Benno Markiewicz <[email protected]>
Newsgroups gmane.comp.java.netbeans.modules.openide.devel
Message-ID <CAA_aP4j_rU+K-2Sr+gxYedkqqNjyT91zNTjucM7v3Yy=S1Jy0Q@mail.gmail.com>
Try the plugin with an older version of NB -  the version at the time of
the blog entry. Perhaps it has not been updated to be compatible with NB8.2

Den 25 nov. 2016 23:59 skrev "Steven Kedzie" <[email protected]>:

> Hi Benno,
>
> Thank you for the reply. I am familiar with this blog page and have used
> the referenced GitHub repo for guidance earlier on the project. However,
> even using the lexer and parser code from the repo does not work either.
> The running instance of NB will no longer display the .r file. It still
> executes just fine, but I cannot edit the file to see if the characters
> will be accepted.
>
> Steve
>
> On Fri, Nov 25, 2016 at 1:56 PM, Benno Markiewicz <
> [email protected]> wrote:
>
>> Check the other r-plugin how they do it there
>> https://blogs.oracle.com/geertjan/entry/r_plugin_for_netbeans_ide1
>>
>> Den 25 nov. 2016 22:33 skrev <[email protected]>:
>>
>>> Greetings,
>>>
>>> I have been working on a module suite as a project for school that
>>> enables writing R programs in NetBeans. The following characters cause
>>> a NullPointerException when typed in the editor with the plugin
>>> running: ' " _ . % \
>>>
>>> I used ANTLR4 version 4.5.3 and the R.g4 and RFilter.g4 grammar files
>>> from ANTLR's GitHub site to generate the lexer and parser.
>>>
>>> I can cut and paste R code from an external file and execute the code
>>> from NetBeans without issue.
>>>
>>> I suspect the issue may be caused by the grammar file(s) or the
>>> generated lexer, but I'm not sure where to start. Any guidance
>>> appreciated.
>>>
>>> Respectfully,
>>>
>>> Steve
>>>
>>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.