This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 252928 - IllegalStateException: Module org.netbeans.api.progress/1 is already enabled
Summary: IllegalStateException: Module org.netbeans.api.progress/1 is already enabled
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Plugin Importer (show other bugs)
Version: 8.1
Hardware: All All
: P2 normal (vote)
Assignee: Libor Fischmeistr
URL:
Keywords:
: 252974 253807 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-06-11 09:13 UTC by amobilia
Modified: 2015-08-20 01:27 UTC (History)
17 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 217872


Attachments
stacktrace (3.58 KB, text/plain)
2015-06-11 09:13 UTC, amobilia
Details
stacktrace (3.60 KB, text/plain)
2015-07-17 09:37 UTC, bolsover
Details
stacktrace (3.57 KB, text/plain)
2015-07-20 08:46 UTC, J Bachorik
Details
stacktrace (3.58 KB, text/plain)
2015-07-21 08:31 UTC, stwr
Details
stacktrace (3.58 KB, text/plain)
2015-07-21 10:13 UTC, mrpc
Details
stacktrace (3.58 KB, text/plain)
2015-07-23 18:50 UTC, mrpc
Details
stacktrace (3.60 KB, text/plain)
2015-07-24 07:23 UTC, stwr
Details
stacktrace (1.38 KB, text/plain)
2015-07-28 08:05 UTC, Tomas Mysik
Details
stacktrace (3.58 KB, text/plain)
2015-07-30 07:38 UTC, thruminds
Details
stacktrace (3.58 KB, text/plain)
2015-08-06 20:26 UTC, javydreamercsw
Details
stacktrace (3.58 KB, text/plain)
2015-08-11 12:11 UTC, aquaglia
Details

Note You need to log in before you can comment on or make changes to this bug.
Description amobilia 2015-06-11 09:13:12 UTC
This bug was originally marked as duplicate of bug 247884, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 201506110001)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.45-b02, Java(TM) SE Runtime Environment, 1.8.0_45-b14
OS: Windows 7

User Comments:
GUEST: Netbeans notified me of plugins in older version of Netbeans. Just agreed to install them

GUEST: unknown error

martijnburger: Installing module

GUEST: import modules

ehsavoie: Importing plugins from 8.0.2 installation

GUEST: import settting

amobilia: Update from Netbeans 8.0.2 to latest dev build.
Accept to import plugins -> crash

GUEST: I
Comment 1 amobilia 2015-06-11 09:13:14 UTC
Created attachment 154154 [details]
stacktrace
Comment 2 Tomas Hurka 2015-06-12 13:34:04 UTC
Can you, please provide steps how to reproduce it? Thanks.
Comment 3 amobilia 2015-06-12 13:54:45 UTC
Steps to reproduce :
Install netbeans 8.0.2
Install latest dev builds
Accept to import plugins
=> You got the error message
Comment 4 Tomas Hurka 2015-06-12 13:57:18 UTC
(In reply to amobilia from comment #3)
> Steps to reproduce :
> Install netbeans 8.0.2
> Install latest dev builds
> Accept to import plugins
Which additional plugins were installed in NB 8.0.2?
Comment 5 amobilia 2015-06-12 14:01:02 UTC
Sorry, the plugins was :
- JS CSS Minify compress
- JSLint
+ all default netbeans 8.0.2 plugins
Comment 6 Tomas Hurka 2015-06-12 14:06:01 UTC
(In reply to amobilia from comment #5)
> Sorry, the plugins was :
> - JS CSS Minify compress
> - JSLint
> + all default netbeans 8.0.2 plugins
OK, thanks. Are you using
http://plugins.netbeans.org/plugin/40893/jslint and http://plugins.netbeans.org/plugin/49666/js-css-minify-compress ?
Comment 7 amobilia 2015-06-12 14:33:45 UTC
Yes and yes
Comment 8 Tomas Hurka 2015-06-12 15:17:40 UTC
Ok, so detailed steps:
1) install and start NB 8.0.2 (Java EE version)
2) install 2 plugins: JSLint and JS CSS Minify compress (both available on Plugin Portal UC)
3) quit NB 8.0.2
3) install and start latest dev. build (Java EE version)
4) wait 50 seconds for plugin import notification 
5) import both plugins

The problem seems to be in org.netbeans.modules.autoupdate.pluginimporter module, which  should use similar logic as in issue #247884 to restart IDE. Reassigning to Plugin Importer.
Comment 9 Tomas Hurka 2015-06-14 18:01:22 UTC
*** Bug 252974 has been marked as a duplicate of this bug. ***
Comment 10 bolsover 2015-07-17 09:37:15 UTC
Created attachment 154691 [details]
stacktrace

Installing plugins from previous version install
Comment 11 J Bachorik 2015-07-20 08:46:37 UTC
Created attachment 154717 [details]
stacktrace

importing plugins from an older version
Comment 12 stwr 2015-07-21 08:31:30 UTC
The same happened just for me with 201507200001.
Comment 13 stwr 2015-07-21 08:31:37 UTC
Created attachment 154754 [details]
stacktrace

Just wanted to import plugins from my already installed instance of NetBeans.
Comment 14 mrpc 2015-07-21 10:13:37 UTC
Created attachment 154761 [details]
stacktrace

Installed the dev build of netbeans, imported settings from stable (8.0.2) and then tried to import all addons (answered yes on the question in notification window to import all addons).
Comment 15 mrpc 2015-07-23 18:50:07 UTC
Created attachment 154828 [details]
stacktrace

1. Installed beta candidate
2. It asked me if I want to import settings from 8.0.1. Said yes
3. It opened my projects and started the background scanning
4. It asked if I also want to import my addons. Said yes and it gave me an exception...
Comment 16 stwr 2015-07-24 07:23:14 UTC
Created attachment 154837 [details]
stacktrace

Product Version - NetBeans IDE 8.1 Beta (Build 201507231027) (#ebce8947d744)
Operating System - Windows 7 version 6.1 running on amd64
Java; VM; Vendor - 1.8.0_60-ea; Java HotSpot(TM) 64-Bit Server VM 25.60-b23; Oracle Corporation
Runtime - Java(TM) SE Runtime Environment 1.8.0_60-ea-b25

Just wanted to import plugins from my older NetBeans installation.
Comment 17 Tomas Mysik 2015-07-28 08:05:41 UTC
Created attachment 154965 [details]
stacktrace

importing modules from nb 8.0 to newly installed nb 8.1
Comment 18 Tomas Mysik 2015-07-28 08:14:57 UTC
22 duplicates so far...
Comment 19 Libor Fischmeistr 2015-07-28 13:36:42 UTC
*** Bug 253807 has been marked as a duplicate of this bug. ***
Comment 20 thruminds 2015-07-30 07:38:58 UTC
Created attachment 155032 [details]
stacktrace

f
Comment 21 javydreamercsw 2015-08-06 20:26:04 UTC
Created attachment 155203 [details]
stacktrace

Importing plugins from 8.0.1
Comment 22 aquaglia 2015-08-11 12:11:59 UTC
Created attachment 155264 [details]
stacktrace

Opening projects for the first time
Comment 23 DGA51 2015-08-11 22:10:21 UTC
Today I installed 8.1Beta on my Win64 PC.  There was only one plugin to import (nodejs) and it imported it without any issues.  Perhaps it is plugin-specific?
Comment 24 Libor Fischmeistr 2015-08-18 10:15:42 UTC
Fix - http://hg.netbeans.org/core-main/rev/57aaa4ae82d9

IDE requires restart to import such plugins.
Comment 25 Quality Engineering 2015-08-20 01:27:30 UTC
Integrated into 'main-silver', will be available in build *201508200002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/57aaa4ae82d9
User: Libor Fischmeistr <lfischmeistr@netbeans.org>
Log: #252928: IllegalStateException: Module org.netbeans.api.progress/1 is already enabled