microshed / mp-starter-intellij-ext Goto Github PK
View Code? Open in Web Editor NEWIntelliJ Plugin for Eclipse MicroProfile Starter
License: Apache License 2.0
IntelliJ Plugin for Eclipse MicroProfile Starter
License: Apache License 2.0
This was with IntelliJ IDEA (Community Edition) 2020.3.1.
Switching between JDKs didn't help.
FYI, @moghaddam @Emily-Jiang.
The latest MP starter supports MP 5.0. Can the vscode extension be updated to consume the latest version?
@moghaddam can you handle this?
The error I see is:
New Module: Error adding module to project: Cannot invoke "com.intellij.openapi.vfs.VirtualFile.getPath()" because "file" is null
I have updated Intellij IDE , then it is showing me below error.
"Plugin error: Plugin 'MicroProfile Starter' (version '0.3.2') is not compatible with the current version of the IDE, because it requires build 203 or older but the current build is IC-203.5981.155".
Kindly look into this
This is regarding eclipse/microprofile-starter#273
In the "New Project" wizard, if user chooses "MicroProfile Starter" in the category, then even by selecting other Java related categories (e.g. Spring, JBoss, Java and Java Enterprise), contents of the MicroProfile project wizard would still be rendered in the main part of the dialogue. User should exit the wizard and open it again to be able to see other project wizards.
When trying to use the plugin to create the new project, it occasionally throws the following exception in the IDE internal error logs, but nothing obvious happens in the UI and project is getting created successfully.
java.lang.NullPointerException
at org.microshed.intellij.wizard.MicroProfileSelectionStep.lambda$createCenterPanel$3(MicroProfileSelectionStep.java:166)
at java.desktop/javax.swing.JTree.fireValueChanged(JTree.java:2967)
at java.desktop/javax.swing.JTree$TreeSelectionRedirector.valueChanged(JTree.java:3456)
at java.desktop/javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(DefaultTreeSelectionModel.java:641)
at com.intellij.ui.treeStructure.Tree$MySelectionModel.fireValueChanged(Tree.java:625)
at java.desktop/javax.swing.tree.DefaultTreeSelectionModel.clearSelection(DefaultTreeSelectionModel.java:580)
at java.desktop/javax.swing.JTree.clearSelection(JTree.java:2701)
at java.desktop/javax.swing.JTree.setModel(JTree.java:861)
at org.microshed.intellij.wizard.components.MPSpecCheckboxTree.setModel(MPSpecCheckboxTree.java:57)
at org.microshed.intellij.wizard.MicroProfileSelectionStep.lambda$createTopPanel$1(MicroProfileSelectionStep.java:129)
at java.desktop/javax.swing.JComboBox.fireItemStateChanged(JComboBox.java:1227)
at java.desktop/javax.swing.JComboBox.selectedItemChanged(JComboBox.java:1288)
at java.desktop/javax.swing.JComboBox.contentsChanged(JComboBox.java:1335)
at java.desktop/javax.swing.AbstractListModel.fireContentsChanged(AbstractListModel.java:123)
at java.desktop/javax.swing.DefaultComboBoxModel.setSelectedItem(DefaultComboBoxModel.java:94)
at java.desktop/javax.swing.JComboBox.setSelectedItem(JComboBox.java:579)
at java.desktop/javax.swing.JComboBox.setSelectedIndex(JComboBox.java:624)
at java.desktop/javax.swing.plaf.basic.BasicComboPopup$Handler.mouseReleased(BasicComboPopup.java:907)
at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:298)
at java.desktop/java.awt.Component.processMouseEvent(Component.java:6651)
at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342)
at java.desktop/javax.swing.plaf.basic.BasicComboPopup$1.processMouseEvent(BasicComboPopup.java:551)
at java.desktop/java.awt.Component.processEvent(Component.java:6416)
at java.desktop/java.awt.Container.processEvent(Container.java:2263)
at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5026)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4858)
at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918)
at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4547)
at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307)
at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2773)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4858)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:778)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:727)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:751)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:749)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:748)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:878)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:823)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:466)
at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:693)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:465)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:117)
at java.desktop/java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.desktop/java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.desktop/java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.desktop/java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.desktop/java.awt.Dialog.show(Dialog.java:1063)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:707)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:432)
at com.intellij.openapi.ui.DialogWrapper.doShow(DialogWrapper.java:1685)
at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:1644)
at com.intellij.openapi.ui.DialogWrapper.showAndGet(DialogWrapper.java:1658)
at com.intellij.ide.impl.NewProjectUtil.createNewProject(NewProjectUtil.java:53)
at com.intellij.ide.actions.NewProjectAction.actionPerformed(NewProjectAction.java:29)
at com.intellij.openapi.actionSystem.ex.ActionUtil$1.run(ActionUtil.java:265)
at com.intellij.openapi.application.TransactionGuardImpl.runSyncTransaction(TransactionGuardImpl.java:82)
at com.intellij.openapi.application.TransactionGuardImpl.submitTransactionAndWait(TransactionGuardImpl.java:148)
at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:280)
at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.lambda$actionPerformed$0(ActionMenuItem.java:292)
at com.intellij.openapi.wm.impl.FocusManagerImpl.runOnOwnContext(FocusManagerImpl.java:265)
at com.intellij.openapi.wm.impl.IdeFocusManagerImpl.runOnOwnContext(IdeFocusManagerImpl.java:107)
at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.actionPerformed(ActionMenuItem.java:282)
at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967)
at com.intellij.openapi.actionSystem.impl.ActionMenuItem.lambda$fireActionPerformed$0(ActionMenuItem.java:111)
at com.intellij.openapi.application.TransactionGuardImpl.runSyncTransaction(TransactionGuardImpl.java:82)
at com.intellij.openapi.application.TransactionGuardImpl.lambda$submitTransaction$1(TransactionGuardImpl.java:106)
at com.intellij.openapi.application.TransactionGuardImpl.submitTransaction(TransactionGuardImpl.java:115)
at com.intellij.openapi.application.TransactionGuard.submitTransaction(TransactionGuard.java:121)
at com.intellij.openapi.actionSystem.impl.ActionMenuItem.fireActionPerformed(ActionMenuItem.java:111)
at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308)
at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405)
at java.desktop/javax.swing.JToggleButton$ToggleButtonModel.setPressed(JToggleButton.java:401)
at java.desktop/javax.swing.AbstractButton.doClick(AbstractButton.java:369)
at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:980)
at java.desktop/javax.swing.plaf.basic.BasicPopupMenuUI$Actions.doReturn(BasicPopupMenuUI.java:486)
at java.desktop/javax.swing.plaf.basic.BasicPopupMenuUI$Actions.actionPerformed(BasicPopupMenuUI.java:460)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.processMenuActions(IdeKeyEventDispatcher.java:952)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:187)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:801)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:466)
at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:704)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:465)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
A day after our initial release, JetBrains released IntelliJ 2019.3. So we should publish a new version that supports that one too. Our current version is targeted for 2019.2.*.
Noticed that we use v2 or v3 of the API in different places. Consider using the latest version of the API i.e. v4 across the board.
Why does the plugin require JDK 8?
I've got JDK version 11 installed. When I try to create a new project using the plugin, then I can't go to next, because I get blocked by a message saying "MicroProfile Starter requires JDK 8".
Hi, seems plugin is not compatible with the recent major version (2022.*) of IntelliJ
Currently vesion 0.35 supports only up to 2021.1.3, while currently IntelliJ's most recent version is 2022.2.2
https://plugins.jetbrains.com/plugin/13386-microprofile-starter/versions
The IntelliJ plugin for Spring Initializr and also the open source Quarkus plugin that released recently, both allow developers in the very first step to choose the REST API endpoint that they wants to use to generate the code. This allows developers who don't have direct access to the Internet from their computer to use a proxied address to access the API and use the plugin. Also this would enable them to use a custom version of the API (which can also be useful during the process of development and test of the plugin with new API versions without updating the code).
Hi, seems plugin is not compatible with recent 2 major versions of IntelliJ IDEA
https://plugins.jetbrains.com/plugin/13386-microprofile-starter/versions
0.3.4 supports only 2020.1 โ 2021.1.3 range
The new release of the REST API allows us to have an empty project if no spec is selected. This is necessary for the plugin as in the current implementation, it looks like a bug in the plugin that generates samples even if no spec is selected.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.