Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot create a new maven project from archetype #279

Closed
shaka0919 opened this issue Mar 21, 2019 · 6 comments
Closed

cannot create a new maven project from archetype #279

shaka0919 opened this issue Mar 21, 2019 · 6 comments
Assignees
Labels
bug Something isn't working completed

Comments

@shaka0919
Copy link

shaka0919 commented Mar 21, 2019

version of extension: 0.15.1
version of vscode:1.32.3
OS: macOS Mojave
while i was trying to create a new maven project from archetype 'quickstart'
a message popped up by Maven for java:
"Command "maven.archetype.generate" fails. Cannot read property 'length' of undefined"

could any guys help to resolve this issue?

@Eskibear
Copy link
Member

What's the version of your Maven extension? See #277 , it should have been fixed in v0.15.1

@Eskibear Eskibear added needs more info Further information is requested bug Something isn't working and removed needs more info Further information is requested labels Mar 21, 2019
@Eskibear Eskibear self-assigned this Mar 21, 2019
@Eskibear
Copy link
Member

Confirmed to be a bug. It's another NPE when there's no open workspace.

We'll fix it soon, and the workaround is to open any folder first, before you create a new Maven project.

@shaka0919
Copy link
Author

while i was tring to create a new maven project from archetype 'quickstart'
a message popped up by Maven for java:
"Command "maven.archetype.generate" fails. Cannot read property 'length' of undefined"

could any guys help to resolve this issue?

What's the version of your Maven extension? See #277 , it should have been fixed in v0.15.1

more info updated.

@Eskibear
Copy link
Member

The fix for the NPE has been released just now. You can update the extension to v0.15.2. Let me know if it works for you.

@shaka0919
Copy link
Author

Confirmed to be a bug. It's another NPE when there's no open workspace.

We'll fix it soon, and the workaround is to open any folder first, before you create a new Maven project.

Thanks. it worked!

@Eskibear
Copy link
Member

Closing as fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working completed
Projects
None yet
Development

No branches or pull requests

2 participants