java.lang.IllegalArgumentException: Unable to get truested keys

Spring JIRA | Adam Pullen | 5 years ago
  1. 0

    There is a jenkins build machine that builds several Spring Roo based jobs. Before the build roo is started to reproduce the *.aj files "every now and then" roo produces the following output * Please wait - still loading * 2,792 (or until the build is aborted) * java.lang.IllegalArgumentException: Unable to get truested keys * [org.springframework.roo.felix.pgp.PgpServiceImpl] Failed creating the component instance; see log for reason (however entries in the roo.log) * [org.springframework.roo.felix.HttpPgpUrlStreamHandlerServiceImpl] Cannot create component instance due to failure to bind reference pgpService * [org.springframework.roo.felix.pgp.PgpServiceImpl] The activate method has thrown an exception java.lang.IllegalArgumentException: Unable to get truested keys at org.springframework.roo.felix.pgp.PgpServiceImpl.getTrustedKeys(PgpServiceImpl.java:197) at org.springframework.roo.felix.pgp.PgpServiceImpl.trust(PgpServiceImpl.java:402) Attached is a zip file containing two .spring_roo_pgp.bpg files. The one with the extension .working is ok, the one named .spring_roo_pgp.bpg is from the build machine. I am able to swap my working file with the broken one to reproduce the problem locally. After the file becomes corrupt all the jobs need to be stopped and the .spring_roo_pgp.bpg file needs to be deleted, after this the builds will work for upto 3 days then the .spring_roo_pgp.bpg becomes corrupt again. My guess is that when roo begins downloading an updated package and 2 or more other roo instances are also doing the same, a race condition occurs and the two roo instances are updating the .spring_roo_pgp.bpg file leaving it in an inconsistent state for the next builds.

    Spring JIRA | 5 years ago | Adam Pullen
    java.lang.IllegalArgumentException: Unable to get truested keys
  2. 0

    There is a jenkins build machine that builds several Spring Roo based jobs. Before the build roo is started to reproduce the *.aj files "every now and then" roo produces the following output * Please wait - still loading * 2,792 (or until the build is aborted) * java.lang.IllegalArgumentException: Unable to get truested keys * [org.springframework.roo.felix.pgp.PgpServiceImpl] Failed creating the component instance; see log for reason (however entries in the roo.log) * [org.springframework.roo.felix.HttpPgpUrlStreamHandlerServiceImpl] Cannot create component instance due to failure to bind reference pgpService * [org.springframework.roo.felix.pgp.PgpServiceImpl] The activate method has thrown an exception java.lang.IllegalArgumentException: Unable to get truested keys at org.springframework.roo.felix.pgp.PgpServiceImpl.getTrustedKeys(PgpServiceImpl.java:197) at org.springframework.roo.felix.pgp.PgpServiceImpl.trust(PgpServiceImpl.java:402) Attached is a zip file containing two .spring_roo_pgp.bpg files. The one with the extension .working is ok, the one named .spring_roo_pgp.bpg is from the build machine. I am able to swap my working file with the broken one to reproduce the problem locally. After the file becomes corrupt all the jobs need to be stopped and the .spring_roo_pgp.bpg file needs to be deleted, after this the builds will work for upto 3 days then the .spring_roo_pgp.bpg becomes corrupt again. My guess is that when roo begins downloading an updated package and 2 or more other roo instances are also doing the same, a race condition occurs and the two roo instances are updating the .spring_roo_pgp.bpg file leaving it in an inconsistent state for the next builds.

    Spring JIRA | 5 years ago | Adam Pullen
    java.lang.IllegalArgumentException: Unable to get truested keys
  3. 0

    problem with linear regression

    GitHub | 1 year ago | jakonn
    java.lang.IllegalArgumentException: Unable to get linear index >= 8
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Problem started this week after we upgraded Jenkins (1.511 -> 1.514) and JobConfigHistory (2.3 -> 2.4). On a job page, e.g. https://jenkins.mydomain.se/myProject/job/myJob/ when I Press the badge for "Config changed since last build" I get the error message: "Job Configuration Difference No permission to view config history" In addition to that I get logged out from Jenkins. In the logs I can see: -------- Sep 23, 2013 2:24:40 PM hudson.ExpressionFactory2$JexlExpression evaluate WARNING: Caught exception evaluating: it.getLines() in /3gsim/view/CSI%20Wall1/job/LSV%20status/jobConfigHistory/showDiffFiles. Reason: java.lang.IllegalArgumentException: Unable to get history from: null java.lang.IllegalArgumentException: Unable to get history from: null at hudson.plugins.jobConfigHistory.JobConfigHistoryProjectAction.getOldConfigXml(JobConfigHistoryProjectAction.java:198) at hudson.plugins.jobConfigHistory.JobConfigHistoryProjectAction.getLines(JobConfigHistoryProjectAction.java:162) at sun.reflect.GeneratedMethodAccessor975.invoke(Unknown Source) -------- If I instead go to the Job Configuration History page, e.g. https://jenkins.mydomain.se/myProject/job/myJob/jobConfigHistory and select the two latest versions there I have no problems getting the diff. The links used on these two pages are *almost* identical. On the Job config History page it uses https, from the job page it uses http.

    Jenkins JIRA | 3 years ago | Stefan Kalmelid
    java.lang.IllegalArgumentException: Unable to get history from: null
  6. 0

    Error running TestSparkMultiLayer

    GitHub | 2 years ago | dgkris
    java.lang.IllegalArgumentException: Unable to get linear index >= 1

    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

    1. java.lang.IllegalArgumentException

      Unable to get truested keys

      at org.springframework.roo.felix.pgp.PgpServiceImpl.getTrustedKeys()
    2. org.springframework.roo
      PgpServiceImpl.trust
      1. org.springframework.roo.felix.pgp.PgpServiceImpl.getTrustedKeys(PgpServiceImpl.java:197)
      2. org.springframework.roo.felix.pgp.PgpServiceImpl.trust(PgpServiceImpl.java:402)
      2 frames