Uploaded image for project: 'SR Platform'
  1. SR Platform
  2. SRPLAT-10

Static type checker error resolving classes

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 4.3.8
    • Fix Version/s: 4.1.3.22, 4.3.13
    • Component/s: None
    • Labels:
    • Sprint:
      Sprint 27 - Ends Nov 1
    • Critical Points:
      2.7

      Description

      The static type checker seems to have lots of trouble resolving classes that come from plugins or external JARs that are in WEB-INF/lib.

      To reproduce in JIRA:

      Running the scripted field in the example is successful though.

      This seems to happen when importing some other classes as well:

      • com.atlassian.jira.web.action.admin
      • com.atlassian.jira.bc.issue.comment.property.CommentPropertyService
      • com.atlassian.mail.server.SMTPMailServer
      • com.atlassian.applinks.api.application.jira.JiraApplicationType <--in ScriptRunner for Confluence

      Seems like this issue has existed for a while; by some reports it was working in SR 4.2.0.7.

      The following screenshot shows the error you get:

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jechlin Jamie Echlin
              Reporter:
              amarkham Adam Markham
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: