Purpose (problem description)
- This page helps with the issue of the following warning during a JEE analysis with the jaxws extension:
- Extension com.castsoftware.jaxws has encountered an issue
- Last line of the traceback is AttributeError: 'Parenthesis' object has no attribute 'get_annotations' or AttributeError: 'CurlyBracket' object has no attribute 'get_annotations'
- Extension com.castsoftware.jaxws has encountered an issue
- An example of the full traceback is below:
- 2019-12-19 15:19:59.435365 Warning MODULMSG ; Job execution Extension com.castsoftware.jaxws has encountered an issue :
During <XXX> on <YYY>
Traceback (most recent call last):
File "C:\Program Files\CAST\8.3\ThirdParty\Python34\lib\site-packages\cast\analysers\internal\plugin.py", line 123, in call_extensions2
plugin._call_extension2(className, methodName, parameter)
File "C:\Program Files\CAST\8.3\ThirdParty\Python34\lib\site-packages\cast\__init__.py", line 95, in _call_extension2
method(parameter)
File "C:\ProgramData\CAST\CAST\Extensions\com.castsoftware.jaxws.1.0.10-funcrel\apache_cxf_analyser.py", line 169, in start_type
if self.is_endpoint(_type):
File "C:\ProgramData\CAST\CAST\Extensions\com.castsoftware.jaxws.1.0.10-funcrel\apache_cxf_analyser.py", line 305, in is_endpoint
for annotation in ast.get_annotations():
AttributeError: 'Parenthesis' object has no attribute 'get_annotations'
- 2019-12-19 15:19:59.435365 Warning MODULMSG ; Job execution Extension com.castsoftware.jaxws has encountered an issue :
CAST Extension Version
Release | Yes/No |
---|---|
com.castsoftware.jaxws.1.0.10-funcrel |
Observed in RDBMS
RDBMS | Yes/No |
---|---|
Oracle Server | |
Microsoft SQL Server | |
CSS3 | |
CSS2 |
Step by Step scenario
- Deliver code
- Analyze code
- Examine analysis log and see warnings for this issue.
Action Plan
Perform the below actions
- These warnings can be ignored and have no impact on the analysis results
- If needed, support may be able to provide an extension that resolves this issue
- The warnings will be addressed in a future release of the jaxws extension.
- If the problem you are facing does not match any case listed in this page, contact CAST Technical Support with the Relevant Input to reproduce issue.
Notes/comments
Ticket # 20973, 19698
Related Pages