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 138157

Summary: Cannot install patch2 when updating from bubble (post-install hook)
Product: platform Reporter: Jaromir Uhrik <juhrik>
Component: AutoupdateAssignee: Jiri Rechtacek <jrechtacek>
Status: VERIFIED FIXED    
Severity: blocker CC: mmirilovic, sustaining
Priority: P2    
Version: 6.x   
Hardware: All   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:
Attachments: Screenshot attached...
Begin of the messages.log - I have cut repeating exceptions
Screenshot attached...
the messages log from 'bubble' before install
NBM w/ post-install hook

Description Jaromir Uhrik 2008-06-24 22:07:10 UTC
The patch2 from the update center http://bits.netbeans.org/netbeans/6.1/fixes/2008-06-24_14-17-56/uc/catalog.xml.gz 
cannot be installed in NetBeans 6.1 on Mac OS X. This patch can be installed correctly when updating from Plugin
Manager. Also this patch can be correctly installed on Windows.

Steps to reproduce:
====================
-delete userdir
-install NetBeans full ide from installer
-install patch 1 (install all 21 plugins at once)
-add http://bits.netbeans.org/netbeans/6.1/fixes/2008-06-24_14-17-56/uc/catalog.xml.gz to the plugin manager
-close Plugin Manager and restart IDE
-push the bubble when it appears at the bottom of IDE 
-follow the installation of the patch2 (install all 24 plugins at once)
-when the IDE restarts the warning dialog with the dependencies problem appears - see attached screenshot
Comment 1 Jaromir Uhrik 2008-06-24 22:09:08 UTC
Created attachment 63368 [details]
Screenshot attached...
Comment 2 Jaromir Uhrik 2008-06-25 09:02:10 UTC
I have easier steps to reproduce on Mac:
-clear userdir
-install NetBeans 6.1 javase distribution and run it 
-add mentioned update center with patch2 bits to plugin manager
-close plugin manager
-click on bubble and proceed the installation
Comment 3 Jaromir Uhrik 2008-06-25 09:09:06 UTC
Created attachment 63396 [details]
Begin of the messages.log - I have cut repeating exceptions
Comment 4 Jaromir Uhrik 2008-06-25 09:29:44 UTC
When intalling patch from bubble then plugins "IDE Platform" and "Platform" are missing in the list. See the attached
screenshot where difference of installation via 'bubble' vs 'plugin manager' are visible.
Comment 5 Jaromir Uhrik 2008-06-25 09:31:29 UTC
Created attachment 63400 [details]
Screenshot attached...
Comment 6 Jaromir Uhrik 2008-06-25 09:34:37 UTC
Created attachment 63402 [details]
the messages log from 'bubble' before install
Comment 7 Jiri Rechtacek 2008-06-26 14:30:08 UTC
Caused unlucky combination of issue 138095 and issue 134395. Both are Mac specific. We will use post-install hook for
solving that for NB6.1 Patch2.
Comment 8 Jiri Rechtacek 2008-06-26 14:32:51 UTC
Created attachment 63514 [details]
NBM w/ post-install hook
Comment 9 Jaromir Uhrik 2008-07-01 07:48:51 UTC
Verified. It is possible to install it the latest staged patch binaries now.
Comment 10 Jaromir Uhrik 2008-07-07 15:22:26 UTC
This fix has been used in patch 2 as described in issue #138450.