Sdkman-cli: sdk list java can not display

Created on 10 Nov 2020  路  7Comments  路  Source: sdkman/sdkman-cli

Bug report




Error




Oops, an error occurred

    <p id="detail">
        This exception has been logged with id <strong>7hldp80on</strong>.
    </p>

</body>


To reproduce

run "sdk list java"
System info

bug

Most helpful comment

This was due to an unsupported Java vendor added:
https://github.com/sdkman/sdkman-db-migrations/pull/413

I've since deployed a fix to our backend, which resolves the matter:
https://github.com/sdkman/sdkman-candidates/pull/17

All 7 comments

I created a small Travis CI build to demonstrate the problem.

Build: https://github.com/retronym/travis-jdk-switch-test/blob/b081c00b18313b37a9b1c500f93807f11c57445c/.travis.yml
Log: https://api.travis-ci.org/v3/job/742626989/log.txt

I don't see the problem locally on Mac OS / SDKMAN 5.9.1+575

Same here:

$ uname -a
Linux desktop 5.8.2-050802-generic #202008190732 SMP Wed Aug 19 07:35:42 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

$ sdk version
SDKMAN 5.9.1+575

$ sdk list java

<!DOCTYPE html>
<html lang="en">
    <head>
        <title>Error</title>
        <link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">
        <style>
            html, body, pre {
                margin: 0;
                padding: 0;
                font-family: Monaco, 'Lucida Console', monospace;
                background: #ECECEC;
            }
            h1 {
                margin: 0;
                background: #A31012;
                padding: 20px 45px;
                color: #fff;
                text-shadow: 1px 1px 1px rgba(0,0,0,.3);
                border-bottom: 1px solid #690000;
                font-size: 28px;
            }
            p#detail {
                margin: 0;
                padding: 15px 45px;
                background: #F5A0A0;
                border-top: 4px solid #D36D6D;
                color: #730000;
                text-shadow: 1px 1px 1px rgba(255,255,255,.3);
                font-size: 14px;
                border-bottom: 1px solid #BA7A7A;
            }
        </style>
    </head>
    <body>
        <h1>Oops, an error occurred</h1>

        <p id="detail">
            This exception has been logged with id <strong>7hlem98cb</strong>.
        </p>

    </body>
</html>

Hi,
I have the same problem, but I need now change my java version. Could provide anybody list version for java? sdk list java?

Happens for me as well:

$ uname -a
Linux desktop 5.4.74-1-MANJARO #1 SMP PREEMPT Sun Nov 1 13:43:13 UTC 2020 x86_64 GNU/Linux

$ sdk version

SDKMAN 5.9.1+575

$ sdk list java




Error




Oops, an error occurred

    <p id="detail">
        This exception has been logged with id <strong>7hleofl37</strong>.
    </p>

</body>

Also breaks builds on our CI server running ubuntu

@marzc try: ls -al ~/.sdkman/candidates/java/

I'm having the same problem here, on Ubuntu Linux (18.04.5 / 4.15.0-122-generic). SDKMAN 5.9.1+575.

Ok, just now problem fix. Thanks.

This was due to an unsupported Java vendor added:
https://github.com/sdkman/sdkman-db-migrations/pull/413

I've since deployed a fix to our backend, which resolves the matter:
https://github.com/sdkman/sdkman-candidates/pull/17

Was this page helpful?
0 / 5 - 0 ratings

Related issues

aadrian picture aadrian  路  7Comments

OmidTahouri picture OmidTahouri  路  7Comments

pshirshov picture pshirshov  路  6Comments

hho picture hho  路  4Comments

WizardMerlin picture WizardMerlin  路  3Comments