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 76048 - Updating netbeans 5.0 causes netbeans to fail to launch
Summary: Updating netbeans 5.0 causes netbeans to fail to launch
Status: RESOLVED DUPLICATE of bug 57517
Alias: None
Product: platform
Classification: Unclassified
Component: Autoupdate (show other bugs)
Version: 5.x
Hardware: Macintosh Mac OS X
: P4 blocker (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-07 02:14 UTC by jboetje
Modified: 2008-04-10 11:08 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jboetje 2006-05-07 02:14:12 UTC
I downloaded nb5.0. Then ran the module update, selected all features and the Jindent module. 
Everything was fine until once the update was complete, netbeans would not launch. Here is the console 
log entry:
RegisterProcess failed (error = -2805)
/Applications/NetBeans.app/Contents/MacOS/../Resources/NetBeans/bin/../platform6/lib/nbexec: line 
1: 12557 Abort trap              "/Library/Java/Home/bin/java" -classpath "/Applications/NetBeans.app/
Contents/Resources/NetBeans/platform6/lib/boot.jar:/Applications/NetBeans.app/Contents/
Resources/NetBeans/platform6/lib/org-openide-modules.jar:/Applications/NetBeans.app/Contents/
Resources/NetBeans/platform6/lib/org-openide-util.jar:/Library/Java/Home/lib/dt.jar:/Applications/
NetBeans.app/Contents/Resources/NetBeans/platform6/modules/ext/updater.jar" -
Dnetbeans.system_http_proxy="DIRECT" -Dnetbeans.dirs=":/Applications/NetBeans.app/Contents/
MacOS/../Resources/NetBeans/bin/../nb5.0:/Applications/NetBeans.app/Contents/MacOS/../
Resources/NetBeans/bin/../ide6:/Applications/NetBeans.app/Contents/MacOS/../Resources/NetBeans/
bin/../enterprise2:/Applications/NetBeans.app/Contents/MacOS/../Resources/NetBeans/bin/../
harness" -Dnetbeans.home="/Applications/NetBeans.app/Contents/Resources/NetBeans/platform6" "-
Dcom.apple.mrj.application.apple.menu.about.name=NetBeans" "-Xdock:name=NetBeans" "-
Xdock:icon=/Applications/NetBeans.app/Contents/MacOS/../Resources/NetBeans/bin/../nb5.0/
netbeans.icns" "-Dnetbeans.importclass=org.netbeans.upgrade.AutoUpgrade" "-
Dnetbeans.accept_license_class=org.netbeans.license.AcceptLicense" "-Xms32m" "-Xmx128m" "-
XX:PermSize=32m" "-XX:MaxPermSize=96m" "-Xverify:none" "-Dapple.laf.useScreenMenuBar=true" -
Dnetbeans.user="/Users/jboetje/.netbeans/5.0" org.netbeans.updater.UpdaterFrame --userdir "/
Users/jboetje/.netbeans/5.0" "--branding" "nb" "-psn_0_174718977"
Ignored unknown option: -psn_0_174718977
Ignored unknown option: -psn_0_176160769
2006-05-06 20:44:58.423 java[12620] CFLog (0): CFMessagePort: bootstrap_register(): failed 1103 
(0x44f), port = 0xfe03, name = 'java.ServiceProvider'
See /usr/include/servers/bootstrap_defs.h for the error codes.
2006-05-06 20:44:58.425 java[12620] CFLog (99): CFMessagePortCreateLocal(): failed to name Mach 
port (java.ServiceProvider)
Ignored unknown option: -psn_0_176160769
Ignored unknown option: -psn_0_176291841
Ignored unknown option: -psn_0_176422913
2006-05-06 21:11:48.135 SyndicationAgent[12753] WARNING: BestCalendarDateFromString - can't 
interpret: 'Sun, May 00:52:07 7 GMT'
Ignored unknown option: -psn_0_176816129
Comment 1 jboetje 2006-05-08 00:03:09 UTC
I found the proximate problem. After the update process ran, it closed the window, but left the process 
running. The new second netbeans process was unable to access a resource in use by the other process 
and died. When I killed the update process, netbeans started correctly and registered the new and updated 
modules.
Comment 2 Max Sauer 2006-05-10 08:52:51 UTC
OK, I'll change this to INVALID. If you feel like there is something to be fixed
on our side, please reopen, thanks. 
Comment 3 jboetje 2006-05-10 16:18:37 UTC
I'd suggest that netbeans check to see if there's an open instance of the updater and put up the regular 
"You're running another instance of Netbeans...." warning. It seems that the updater has a different path / 
setup to indicate that it's runnning.
Comment 4 Jiri Rechtacek 2008-04-10 11:08:46 UTC

*** This issue has been marked as a duplicate of 57517 ***