diff --git a/META-INF/plugin.xml b/META-INF/plugin.xml
index 96076d6..bb31f31 100644
--- a/META-INF/plugin.xml
+++ b/META-INF/plugin.xml
@@ -1,7 +1,7 @@
org.zkoss.zkidea
ZK
- 0.1.9
+ 0.1.10
ZK Framework
org.jetbrains.idea.maven
@@ -12,6 +12,11 @@
]]>
0.1.10
+
+ - [bug] #20 - Error when starting IntelliJ IDEA 2017.2
+
+
0.1.9
- [bug] #19 - Exception on Intellij IU-163.12024.16
diff --git a/src/org/zkoss/zkidea/project/ZKProjectsManager.java b/src/org/zkoss/zkidea/project/ZKProjectsManager.java
index 0163ad8..c0915f8 100644
--- a/src/org/zkoss/zkidea/project/ZKProjectsManager.java
+++ b/src/org/zkoss/zkidea/project/ZKProjectsManager.java
@@ -54,11 +54,15 @@ protected ZKProjectsManager(Project project) {
public void initComponent() {
StartupManagerEx startupManager = StartupManagerEx.getInstanceEx(this.myProject);
- startupManager.registerStartupActivity(new Runnable() {
- public void run() {
- ZKProjectsManager.this.doInit();
- }
- });
+
+ // fix for issue #20
+ if (!this.myProject.isDefault()) {
+ startupManager.registerStartupActivity(new Runnable() {
+ public void run() {
+ ZKProjectsManager.this.doInit();
+ }
+ });
+ }
}
private void doInit() {