[ 
https://issues.apache.org/jira/browse/CAMEL-12725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16575886#comment-16575886
 ] 

Tinus Aamand Norstved commented on CAMEL-12725:
-----------------------------------------------

Created a pull request at github: [https://github.com/apache/camel/pull/2464]

> [ERROR] /sobject-pojo-optional.vm: Encountered "(" at line 64, column 8.
> ------------------------------------------------------------------------
>
>                 Key: CAMEL-12725
>                 URL: https://issues.apache.org/jira/browse/CAMEL-12725
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-salesforce
>    Affects Versions: 2.21.0, 2.21.1, 2.21.2, 2.22.0
>            Reporter: Tinus Aamand Norstved
>            Priority: Trivial
>
> When using "optionals" in the camel-salesforce-maven-plugin it will throw an 
> error like the following:
> {{[INFO] Generating Java Classes...}}
> {{[ERROR] /sobject-pojo-optional.vm: Encountered "(" at line 64, column 8.}}
> {{Was expecting one of:}}
> {{ <WHITESPACE> ...}}
> {{ <NEWLINE> ...}}
> {{ <IDENTIFIER> ...}}
> {{ "{" ...}}
> {{[ERROR] ResourceManager: parse exception: Encountered "(" at 
> /sobject-pojo-optional.vm[line 64, column 8]}}
> {{Was expecting one of:}}
> {{ <WHITESPACE> ...}}
> {{ <NEWLINE> ...}}
> {{ <IDENTIFIER> ...}}
> {{ "{" ...}}
>  
> This is caused by a change in 
> [https://github.com/apache/camel/commit/2a4038c66ddc86d081e96a69eb9200f9ff498fb4#diff-ecf95a5795fc049a5d3c45ffcaf5ef00]
>  which sets the following line:
> #set ( ($fieldType = $utility.getFieldType($desc, $field)) && ($fieldType) )
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to