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 202692 - Unable to start IDE with JIRA plugin
Summary: Unable to start IDE with JIRA plugin
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Netigso (show other bugs)
Version: 7.1
Hardware: All All
: P1 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
: 203511 209879 210780 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-09-26 18:01 UTC by javydreamercsw
Modified: 2012-04-06 10:55 UTC (History)
7 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
log file (14.27 KB, text/plain)
2011-09-26 18:01 UTC, javydreamercsw
Details
Warning when issue happens (10.75 KB, image/png)
2011-09-28 15:05 UTC, javydreamercsw
Details
More logs (11.97 KB, application/octet-stream)
2011-09-28 15:07 UTC, javydreamercsw
Details
Initial Installation Error Message (111.35 KB, image/png)
2012-03-01 16:15 UTC, jyeary
Details
After Disabling Modules and Continuing Start (248.66 KB, image/png)
2012-03-01 16:16 UTC, jyeary
Details
messages.log (32.01 KB, application/octet-stream)
2012-03-02 02:31 UTC, jyeary
Details
More robust behavior when OSGi bundle enablement fails (3.05 KB, patch)
2012-03-02 07:50 UTC, Jaroslav Tulach
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description javydreamercsw 2011-09-26 18:01:15 UTC
Created attachment 111200 [details]
log file

IDE crashes during start up. It was from a new user dir after downloading/installing modules.
Comment 1 Tomas Stupka 2011-09-27 08:09:19 UTC
1.) i wasn't able to reproduce with 250920110601
- did you download jira via tools/plugins or via services/.../create issue tracker/download jira plugin? what UC did you try to download jira from? anything else then just starting the ide and downloading jira?

2.) seen something similar once during development - happened when netigso wasn't able to resolve javax.wsdl-s friend api and Netigso-Export-Package wasn't yet declared in the modules manifest...
Comment 2 javydreamercsw 2011-09-27 14:01:51 UTC
Nothing special, just went to the Plugin screen and picked a bunch of plugins including JIRA. Might be the interaction with another module?
Comment 3 javydreamercsw 2011-09-28 15:05:58 UTC
Created attachment 111282 [details]
Warning when issue happens

I just installed JIRA plugin with a lot more and got this when starting up.
Comment 4 javydreamercsw 2011-09-28 15:07:46 UTC
Created attachment 111283 [details]
More logs

Selecting Disable and Continue made the IDE crash.
Comment 5 Tomas Stupka 2011-09-29 10:24:09 UTC
looks like something went wrong with javax.wsdl - either download or install

could you please reproduce the problem (including the install part) and attach the log files from both instances (install and the one after restart)

thanks
Comment 6 Tomas Stupka 2011-09-30 10:14:03 UTC
i see that you reported issue #202779 with 201109260601. does it mean you were able to install jira eventually?
Comment 7 javydreamercsw 2011-09-30 12:05:19 UTC
Yes I did. If I install JIRA alone and then the others it works. Do you know which other plugins have that library? The logs you request are attached. I'll retry them again.
Comment 8 Tomas Stupka 2011-09-30 12:51:56 UTC
(In reply to comment #7)
> Yes I did. If I install JIRA alone and then the others it works.
what exactly are the others? couldn't reproduce when installing jira with just some other modules

> Do you know which other plugins have that library? 
only jira 

> The logs you request are attached. I'll retry them again.
i would need a log from the session when the plugin is installed and downloaded
Comment 9 javydreamercsw 2011-09-30 14:25:45 UTC
I was unable to reproduce this morning on build 201109290601. I had everything downloaded in the shared location. I'll retry installing in the user dir.
Comment 10 javydreamercsw 2011-09-30 15:07:31 UTC
I'm unable to reproduce anymore. Maybe an interim daily build issue?
Comment 11 Tomas Stupka 2011-09-30 15:34:01 UTC
well then, let's close the issue and wait if it appears again
Comment 12 Jesse Glick 2011-10-11 13:48:54 UTC
*** Bug 203511 has been marked as a duplicate of this bug. ***
Comment 13 Jesse Glick 2011-10-11 13:50:01 UTC
Regardless of what problems there might have been in the UC catalog for JIRA at that time, the error recovery in Netigso is unacceptable.
Comment 14 Jaroslav Tulach 2011-10-25 05:41:34 UTC
assert is unlikely blocker for next release. If things work with -da, then we can release, imho.
Comment 15 Jaroslav Tulach 2011-12-05 10:17:59 UTC
I've managed to simulate the assert with a test and prevented it in ergonomics#fe9ec3396a58
Comment 16 Quality Engineering 2011-12-07 12:14:08 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/fe9ec3396a58
User: Jaroslav Tulach <jtulach@netbeans.org>
Log: #202692: Cleanup if enabling fails
Comment 17 jyeary 2012-03-01 16:13:17 UTC
I experienced the same issue with 7.1.1 with module complaints about JIRA on Mac. On Windows, it was complaining about JUnit 4. I may not be able to reproduce on Windows since the directory was already compromised before I backed it up. 

The Mac was backed up before the update so I can provide some additional details.

I will redo the installation with Windows and Mac and see if I get the errors and logs.
Comment 18 jyeary 2012-03-01 16:15:46 UTC
Created attachment 116256 [details]
Initial Installation Error Message
Comment 19 jyeary 2012-03-01 16:16:42 UTC
Created attachment 116257 [details]
After Disabling Modules and Continuing Start
Comment 20 Jaroslav Tulach 2012-03-01 17:13:45 UTC
Can you attach your messages.log?
Comment 21 jyeary 2012-03-02 02:31:26 UTC
Created attachment 116269 [details]
messages.log
Comment 22 jyeary 2012-03-02 03:00:54 UTC
I have all of the log files tar and gzipped, but it comes out to 242MB. Please let me know if you need them attached.
Comment 23 Jaroslav Tulach 2012-03-02 07:29:23 UTC
I have finally managed to simulate the problem locally. I'll make the startup behavior more robust.
Comment 24 Jaroslav Tulach 2012-03-02 07:50:48 UTC
Created attachment 116276 [details]
More robust behavior when OSGi bundle enablement fails

Rather than
- throw thrw;
let's call
+ mgr.getEvents().log(Events.FAILED_INSTALL_NEW, problematic);
the call to events shows the warning dialog and allows user to exit or continue with disabled modules.
Comment 25 Jaroslav Tulach 2012-03-02 08:18:29 UTC
ergonomics#cf6030a53eb6
Comment 26 Tomas Stupka 2012-03-02 08:34:23 UTC
(In reply to comment #17)
> I experienced the same issue with 7.1.1 with module complaints about JIRA on
> Mac. 
a possible workaround to get the ide running would be to remove $userdir/modules/org-netbeans-modules-jira.jar
Comment 27 Quality Engineering 2012-03-11 11:07:35 UTC
Integrated into 'main-golden', will be available in build *201203110400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/cf6030a53eb6
User: Jaroslav Tulach <jtulach@netbeans.org>
Log: #202692: More robust start sequence. Problems in OSGi bundles should not prevent the system from starting.
Comment 28 Jaroslav Tulach 2012-03-22 09:29:57 UTC
*** Bug 209879 has been marked as a duplicate of this bug. ***
Comment 29 Jaroslav Tulach 2012-04-06 10:55:16 UTC
*** Bug 210780 has been marked as a duplicate of this bug. ***