java.lang.IllegalArgumentException: used argument cannot be less than 0

Atlassian JIRA | Brenden Bain [Atlassian] | 7 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    When trying to get the memory information under WAS 7.0 we get the following error. This error does not cause any other problems other than the log information not being there. {code} 2009-10-12 15:09:33,768 WebContainer : 3 ERROR [atlassian.jira.startup.JiraStartupLogger] Cannnot obtain basic JIRA information java.lang.IllegalArgumentException: used argument cannot be less than 0 at java.lang.management.MemoryUsage.<init>(MemoryUsage.java:95) at com.ibm.lang.management.MemoryPoolMXBeanImpl.getUsageImpl(Native Method) at com.ibm.lang.management.MemoryPoolMXBeanImpl.getUsage(MemoryPoolMXBeanImpl.java:205) at com.atlassian.jdk.utilities.runtimeinformation.MemoryInformationBean.toString(MemoryInformationBean.java:37) at com.atlassian.jira.startup.JiraSystemInfo.obtainBasicInfo(JiraSystemInfo.java:147) at com.atlassian.jira.startup.JiraStartupLogger.printStartingMessage(JiraStartupLogger.java:84) at com.atlassian.jira.startup.JiraStartupChecklistContextListener.contextInitialized(JiraStartupChecklistContextListener.java:44) at com.ibm.ws.webcontainer.webapp.WebApp.notifyServletContextCreated(WebApp.java:1588) at com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.java:350) at com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:292) at com.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication(WebGroupImpl.java:99) at com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(VirtualHostImpl.java:167) at com.ibm.ws.webcontainer.WSWebContainer.addWebApp(WSWebContainer.java:722) at com.ibm.ws.webcontainer.WSWebContainer.addWebApplication(WSWebContainer.java:607) at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:376) at com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:668) at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1162) at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1313) at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:611) at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:938) {code}

    Atlassian JIRA | 7 years ago | Brenden Bain [Atlassian]
    java.lang.IllegalArgumentException: used argument cannot be less than 0
  2. 0

    When trying to get the memory information under WAS 7.0 we get the following error. This error does not cause any other problems other than the log information not being there. {code} 2009-10-12 15:09:33,768 WebContainer : 3 ERROR [atlassian.jira.startup.JiraStartupLogger] Cannnot obtain basic JIRA information java.lang.IllegalArgumentException: used argument cannot be less than 0 at java.lang.management.MemoryUsage.<init>(MemoryUsage.java:95) at com.ibm.lang.management.MemoryPoolMXBeanImpl.getUsageImpl(Native Method) at com.ibm.lang.management.MemoryPoolMXBeanImpl.getUsage(MemoryPoolMXBeanImpl.java:205) at com.atlassian.jdk.utilities.runtimeinformation.MemoryInformationBean.toString(MemoryInformationBean.java:37) at com.atlassian.jira.startup.JiraSystemInfo.obtainBasicInfo(JiraSystemInfo.java:147) at com.atlassian.jira.startup.JiraStartupLogger.printStartingMessage(JiraStartupLogger.java:84) at com.atlassian.jira.startup.JiraStartupChecklistContextListener.contextInitialized(JiraStartupChecklistContextListener.java:44) at com.ibm.ws.webcontainer.webapp.WebApp.notifyServletContextCreated(WebApp.java:1588) at com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.java:350) at com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:292) at com.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication(WebGroupImpl.java:99) at com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(VirtualHostImpl.java:167) at com.ibm.ws.webcontainer.WSWebContainer.addWebApp(WSWebContainer.java:722) at com.ibm.ws.webcontainer.WSWebContainer.addWebApplication(WSWebContainer.java:607) at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:376) at com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:668) at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1162) at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1313) at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:611) at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:938) {code}

    Atlassian JIRA | 7 years ago | Brenden Bain [Atlassian]
    java.lang.IllegalArgumentException: used argument cannot be less than 0
  3. 0

    Problems with MemoryInformations in WebSphere

    GitHub | 2 years ago | GoogleCodeExporter
    java.lang.IllegalArgumentException: used argument cannot be less than 0
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    IllegalArgumentException thrown from MemoryInformations

    Google Groups | 5 years ago | Anthony Richir
    java.lang.IllegalArgumentException: used argument cannot be less than 0

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      used argument cannot be less than 0

      at java.lang.management.MemoryUsage.<init>()
    2. Java RT
      MemoryUsage.<init>
      1. java.lang.management.MemoryUsage.<init>(MemoryUsage.java:95)
      1 frame
    3. com.ibm.lang
      MemoryPoolMXBeanImpl.getUsage
      1. com.ibm.lang.management.MemoryPoolMXBeanImpl.getUsageImpl(Native Method)
      2. com.ibm.lang.management.MemoryPoolMXBeanImpl.getUsage(MemoryPoolMXBeanImpl.java:205)
      2 frames
    4. com.atlassian.jdk
      MemoryInformationBean.toString
      1. com.atlassian.jdk.utilities.runtimeinformation.MemoryInformationBean.toString(MemoryInformationBean.java:37)
      1 frame
    5. com.atlassian.jira
      JiraStartupChecklistContextListener.contextInitialized
      1. com.atlassian.jira.startup.JiraSystemInfo.obtainBasicInfo(JiraSystemInfo.java:147)
      2. com.atlassian.jira.startup.JiraStartupLogger.printStartingMessage(JiraStartupLogger.java:84)
      3. com.atlassian.jira.startup.JiraStartupChecklistContextListener.contextInitialized(JiraStartupChecklistContextListener.java:44)
      3 frames
    6. WebSphere
      DeployedApplicationImpl.start
      1. com.ibm.ws.webcontainer.webapp.WebApp.notifyServletContextCreated(WebApp.java:1588)
      2. com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.java:350)
      3. com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:292)
      4. com.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication(WebGroupImpl.java:99)
      5. com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(VirtualHostImpl.java:167)
      6. com.ibm.ws.webcontainer.WSWebContainer.addWebApp(WSWebContainer.java:722)
      7. com.ibm.ws.webcontainer.WSWebContainer.addWebApplication(WSWebContainer.java:607)
      8. com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:376)
      9. com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:668)
      10. com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1162)
      11. com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1313)
      12. com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:611)
      13. com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:938)
      13 frames