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

Static type checker error resolving classes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Done
    • High
    • Resolution: Fixed
    • 4.3.8
    • 4.1.3.22, 4.3.13
    • None
    • Sprint 27 - Ends Nov 1
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: