Created attachment 813291 [details]
Description of problem:
antlr-maven-plugin throws NullPointerException during processing of the attached grammar (labelExpr.g). This is a bug in upstream, reported in .
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. copy pom.xml and labelExpr.g to the same directory
2. run "mvn -X clean antlr:generate" or "mvn-local -X clean antlr:generate"
Caused by: java.lang.NullPointerException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
... 25 more
antlr-maven-plugin successfully processes the grammar file and generated files are in target/generated-sources/antlr/hudson/model/labels/*
Previous version 2.1 antlr-maven-plugin works fine. Proposed patch fixes the problem for me.
Created attachment 813292 [details]
Created attachment 813293 [details]
antlr-maven-plugin-2.2-12.fc19 has been submitted as an update for Fedora 19.
antlr-maven-plugin-2.2-12.fc20 has been submitted as an update for Fedora 20.
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing antlr-maven-plugin-2.2-12.fc19'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
antlr-maven-plugin-2.2-12.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.
antlr-maven-plugin-2.2-12.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.