microsoft / vscode-spring-initializr

VSCode Extension for Spring Initializr
Other
70 stars 35 forks source link

spring initializr can't work #162

Open hapihapidoge opened 4 years ago

hapihapidoge commented 4 years ago

i have spring initailizr installed , and when i chose spring initalizr and then enter return button, it just has no reaction any more. 2020-10-02 15_00_34

Eskibear commented 4 years ago

Open Command Palette... -> Developer: Toggle Developer Tools, see if there's any error log in the console?

hapihapidoge commented 4 years ago

Open Command Palette... -> Developer: Toggle Developer Tools, see if there's any error log in the console?

i did as you suggest, and do not see any log in the console.

Eskibear commented 4 years ago

Do you have specific settings related to this extension? You can check your settings for any entry matching "spring.initializr.*".

Can you also reproduce this issue in historical version?

You can click the "gear", "install another vesion...", choose "0.4.8". image

hapihapidoge commented 4 years ago

Do you have specific settings related to this extension? You can check your settings for any entry matching "spring.initializr.*".

Can you also reproduce this issue in historical version?

You can click the "gear", "install another vesion...", choose "0.4.8". image

emmnn, i lower the version to 0.4.8 as you said, it works then . unbeliveable!

Eskibear commented 4 years ago

Then it might be a regression issue introduced in 0.5.0. But I cannot reproduce it by myself, without further information it would be hard to find out the root cause.

/cc @CsCherrYY

vininalm commented 4 years ago

I'm also having a problem with version 0.5.0. Everytime I try to create a project I get this error: error111

When I downgraded to 0.4.8 everything came back to normal.

Eskibear commented 4 years ago

@vininalm same case reported in #159 . It's fixed but not released yet. I'll do that today and then you can give it a try.

Eskibear commented 4 years ago

0.6.0 has been released, can you guys give it a try, and let me know if it works?

vininalm commented 4 years ago

0.6.0 has been released, can you guys give it a try, and let me know if it works?

Hey, thanks for the reply. I just gave it try after updating and got the same error.

hapihapidoge commented 4 years ago

0.6.0 has been released, can you guys give it a try, and let me know if it works?

emmm, i just tried too , 0.6.0 doesn't work

Eskibear commented 4 years ago

image

I'm seeing this issue. Are you seeing exactly the same one?

Eskibear commented 4 years ago

The issue mentioned in https://github.com/microsoft/vscode-spring-initializr/issues/162#issuecomment-726832226 is 100% reproducible, so I just released a hotfix v0.6.1 .

Give it a try, and let me know if it works now. For any issue, it would be very helpful if you paste the error message or a screenshot here. Thanks.

PS:

Root cause:

The utility didn't process corner cases well from response of the Spring Initializr v2.2 metadata. I guess recently they changed/updated some starters.

Why 0.4.8 works

We started to consume Spring Initializr metadata v2.2 since v0.5.0, and before that, the extension consumes metadata v2.1 see #138 . As they have different format of versions (SemVer in v2.2), the corner case seems to be only in metadata v2.2.

hapihapidoge commented 4 years ago

The issue mentioned in #162 (comment) is 100% reproducible, so I just released a hotfix v0.6.1 .

Give it a try, and let me know if it works now. For any issue, it would be very helpful if you paste the error message or a screenshot here. Thanks.

PS:

Root cause:

The utility didn't process corner cases well from response of the Spring Initializr v2.2 metadata. I guess recently they changed/updated some starters.

Why 0.4.8 works

We started to consume Spring Initializr metadata v2.2 since v0.5.0, and before that, the extension consumes metadata v2.1 see #138 . As they have different format of versions (SemVer in v2.2), the corner case seems to be only in metadata v2.2.

not work with v0.6.1 .

vininalm commented 3 years ago

The issue mentioned in #162 (comment) is 100% reproducible, so I just released a hotfix v0.6.1 .

Give it a try, and let me know if it works now. For any issue, it would be very helpful if you paste the error message or a screenshot here. Thanks.

PS:

Root cause:

The utility didn't process corner cases well from response of the Spring Initializr v2.2 metadata. I guess recently they changed/updated some starters.

Why 0.4.8 works

We started to consume Spring Initializr metadata v2.2 since v0.5.0, and before that, the extension consumes metadata v2.1 see #138 . As they have different format of versions (SemVer in v2.2), the corner case seems to be only in metadata v2.2.

Tested it with v0.6.1 and it worked just fine here.

Eskibear commented 3 years ago

Thank you for the feedbacks.

Now as expected, we fixed the "cannot read 'replace' of undefined" issue mentioned in https://github.com/microsoft/vscode-spring-initializr/issues/162#issuecomment-726298269

But the "no reaction" issue mentioned in https://github.com/microsoft/vscode-spring-initializr/issues/162#issue-713402301 I cannot reproduce it and without detailed information, it's hard to proceed. And I suggest we keep an eye on it. @hapihapidoge For the moment, you can use v0.4.8 as a workaround. If you find any further clues about this issue, please let us know and we'll follow up. @CsCherrYY please take a look see if the "no action" is introduced by the wizard since v0.5.0