]
Konstantin Mishin updated RF-10093:
-----------------------------------
Attachment: patch.txt
CDK: NPE when element fires of @JsfComponent is used.
-----------------------------------------------------
Key: RF-10093
URL:
https://issues.jboss.org/browse/RF-10093
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: cdk
Affects Versions: 4.0.0.Milestone4, 4.0.0.Milestone5
Reporter: Konstantin Mishin
Attachments: patch.txt
Seem problem is appeared only when @Event and @JsfComponent are used in different
projects.
Maven output:
An annotation processor threw an uncaught exception.
Consult the following stack trace for details.
java.lang.NullPointerException
at java.util.TreeMap.put(TreeMap.java:541)
at java.util.TreeSet.add(TreeSet.java:238)
at
org.richfaces.cdk.generate.freemarker.ModelElementBaseTemplateModel.getImportClasses(ModelElementBaseTemplateModel.java:137)
at
org.richfaces.cdk.generate.freemarker.ModelElementBaseTemplateModel.get(ModelElementBaseTemplateModel.java:111)
at freemarker.core.Environment.getGlobalVariable(Environment.java:976)
at freemarker.core.Environment.getVariable(Environment.java:962)
at freemarker.core.Identifier._getAsTemplateModel(Identifier.java:70)
at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
at freemarker.core.IteratorBlock.accept(IteratorBlock.java:87)
at freemarker.core.Environment.visit(Environment.java:196)
at freemarker.core.Environment.include(Environment.java:1375)
at freemarker.core.Include.accept(Include.java:155)
at freemarker.core.Environment.visit(Environment.java:196)
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: