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'
  • 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'
CAST Extension Version


Release

Yes/No

com.castsoftware.jaxws.1.0.10-funcrel(tick)
Observed in RDBMS

RDBMS

Yes/No

Oracle Server (tick)
Microsoft SQL Server (tick)
CSS3(tick)
CSS2 (tick)
Step by Step scenario
  1. Deliver code
  2. Analyze code
  3. Examine analysis log and see warnings for this issue.
Action Plan

Perform the below actions

  1. These warnings can be ignored and have no impact on the analysis results
    1. If needed, support may be able to provide an extension that resolves this issue
  2. The warnings will be addressed in a future release of the jaxws extension.
  3. 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