Cannot assign requested address

Oracle Community | 996278 | 4 years ago
  1. 0

    Urgent !!! ....Cannot Assign Requested Address: Cannot Bind | 1 year ago Cannot assign requested address
  2. 0

    Weblogic IIOP security settings

    Oracle Community | 4 years ago | 996278 Cannot assign requested address
  3. 0

    {panel:title=*This issue has moved*} {color:red}This issue has been moved permanently to [Adaptavist's Product Support JIRA instance|].{color} All existing users of this instance should have the same username on our Product Support instance. However, you will very likely need to click on the [Can't access your account|] link in order to reset to a new password. {panel}Hey, I am using the post-function "Set Field Value to constant or Groovy expression" on a create transition which does the following 1. It searches for a specific string in the Description 2. If it finds the string it regexps out a value from that string 3. It sets the Component/s field to this value This has worked fine until my last upgrade of JIRA (and the script runner) JIRA went from 6.3.10 to 6.4.3 and Script Runner from 3.0.10 to 3.0.14 These are my settings in the post-function: *The Condition clause* _Used to make sure there is a relevant Component defined in the project_ {code:javascript} import java.util.regex.Matcher import java.util.regex.Pattern import com.atlassian.jira.bc.project.component.ProjectComponent import com.atlassian.jira.ComponentManager import com.atlassian.jira.component.ComponentAccessor import com.atlassian.jira.project.Project import com.atlassian.jira.project.ProjectManager import webwork.action.ActionContext // Define the pattern to search for def pattern = ~/\[Component: [A-Z].*\]/ // (String[]) ids = ActionContext.getParameters().get("pid") // String pid = ids[0] def project = issueObject.getProjectObject() // project = ComponentManager.getInstance().getProjectManager().getProjectObj(pid.toLong()) log.error('Project is: ' + project.getName()) // Match the Description field matcher = issue.description =~ pattern if( issue.description =~ pattern ) { // Split out the Component name comp = matcher[0] comp -= "[Component: " comp -= "]" ProjectComponent component = ComponentAccessor.getProjectComponentManager().findByComponentName(project.getId(), comp) if( !(component == null)) { log.error('Component ' + component.getName() + ' found! Continue to set the Component!') return true } } // No Matching string or Component not found, exit with false log.error('Condition failed! Exiting!') return false {code} *The Value clause* _Used to set the Component/s field (if found)_ {code:javascript} import java.util.regex.Matcher import java.util.regex.Pattern def pattern = ~/\[Component: [A-Z].*\]/ matcher = issue.description =~ pattern // Split out the Component name comp = matcher[0] comp -= "[Component: " comp -= "]" log.error('Trying to set: ' + comp + '!!!') if (comp) { // If there is a component, set it! // This should be always true because of the Conditional Execution setup return comp } else { log.error('No Match!') } {code} However when creating a ticket with the correct string in Description I get the following error messages in my log and no update of the Component/s field {noformat} 2015-06-16 10:23:06,689 http-bio-8080-exec-14 ERROR svante.gustafsson 623x40302x1 24xuum, /secure/QuickCreateIssue.jspa [jmwe.plugins.functions.SetFieldValueFunction] Component Denied purchase found! Continue to set the Component! 2015-06-16 10:23:06,728 http-bio-8080-exec-14 ERROR svante.gustafsson 623x40302x1 24xuum, /secure/QuickCreateIssue.jspa [jmwe.plugins.functions.SetFieldValueFunction] Trying to set: Denied purchase!!! 2015-06-16 10:23:33,997 com.atlassian.mywork.client.reliability.DefaultUnreliableWorker:thread-4 WARN svante.gustafsson 911x17674x1 1q9hahg, /secure/CreateIssueDetails.jspa [mywork.client.reliability.DefaultReliabilityService] Failed task "{"username":"svante.gustafsson","type":"POST","json":"{\"globalId\":\"appId=d5a1efa2-ac5d-3884-bb26-078307c8d6e9&entity=issue&id=118572\",\"condition\":{},\"metadata\":{\"watching\":true}}","path":"/rest/mywork/1/notification/metadata"}" No route to host at at at com.atlassian.applinks.core.auth.ApplicationLinkRequestAdaptor.execute( at com.atlassian.applinks.core.auth.oauth.OAuthRequest.execute( at com.atlassian.mywork.client.reliability.DefaultUnreliableWorker.send( at com.atlassian.mywork.client.reliability.DefaultUnreliableWorker.access$200( at com.atlassian.mywork.client.reliability.DefaultUnreliableWorker$1$ at at java.util.concurrent.ThreadPoolExecutor.runWorker( at java.util.concurrent.ThreadPoolExecutor$ at Caused by: No route to host at Method) at at at at at <+2> ( at java.lang.reflect.Method.invoke( at org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket( at org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.createSocket( at {noformat} NOTE: the two first ERROR messages are just printouts from the post-function. Any idea why this post-function groovy script is not working any more? Are there any changes in the Script Runner (or JIRA) that I have missed during the upgrade? Another change was that we introduced Crowd at the same time so now JIRA authenticate through a Crowd User directory rather than direct to the LDAP directory. I am not sure if this could affect this post-function. Cheers, // Svante

    JIRA | 2 years ago | No route to host
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 1062#258141852

    GitHub | 2 months ago | joakime Cannot assign requested address
  6. 0

    CommonProblems - Blazegraph | 3 weeks ago Cannot assign requested address

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis


      Cannot assign requested address

    2. Java RT
      1. Method)
      5 frames