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 192301 - installer fails (postflight script error)
Summary: installer fails (postflight script error)
Status: RESOLVED WORKSFORME
Alias: None
Product: installer
Classification: Unclassified
Component: Mac Native (show other bugs)
Version: 6.x
Hardware: Macintosh (x86) Mac OS X
: P3 normal (vote)
Assignee: Yulia Novozhilova
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-22 21:16 UTC by cleamon
Modified: 2012-11-25 23:27 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cleamon 2010-11-22 21:16:05 UTC
I've been trying all day to install this package.  I've browse the database here and found the error and possible solutions, but the problem still persists.  Here is the tail of the log:

11/22/10 3:59:25 PM runner[3905] postflight[3921]:  
11/22/10 3:59:25 PM Installer[3898] Install failed: The following install step failed: run postflight script for NetBeans Development Version 201011210001. Contact the software manufacturer for assistance. 
11/22/10 3:59:25 PM Installer[3898] IFDInstallController 859AE0 state = 7 
11/22/10 3:59:25 PM Installer[3898] Displaying 'Install Failed' UI. 
11/22/10 3:59:25 PM Installer[3898] 'Install Failed' UI displayed message:'The following install step failed: run postflight script for NetBeans Development Version 201011210001. Contact the software manufacturer for assistance.'. 
11/22/10 3:59:25 PM Installer[3898] The following install step failed: run postflight script for NetBeans Development Version 201011210001. Contact the software manufacturer for assistance. 
11/22/10 3:59:45 PM [0x0-0x239239].org.netbeans.ide.baseide.201011210001[3953] /Applications/NetBeans/NetBeans Dev 201011210001.app/Contents/MacOS/../Resources/NetBeans/bin/../platform/lib/nbexec: line 523: /System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/bin/java: Bad CPU type in executable 
11/22/10 3:59:45 PM com.apple.launchd[100] ([0x0-0x239239].org.netbeans.ide.baseide.201011210001[3953]) Exited with exit code: 126

I running os/x version 10.5.8 on a (intel) macbook pro.  2 Ghz Core Duo, 2 GB SDRAM
Comment 1 Yulia Novozhilova 2010-11-30 13:05:35 UTC
Looks like something is wrong with your java 6. 
What happens when you type "java -version" at the terminal prompt?
What happens when you type "/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/bin/java -version"?
Could you please also run java preferences.app (in utilities java directory) and see if you have java 6 listed.
Comment 2 cleamon 2010-11-30 17:54:21 UTC
(In reply to comment #1)
> Looks like something is wrong with your java 6. 
> What happens when you type "java -version" at the terminal prompt?
> What happens when you type
> "/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/bin/java
> -version"?
> Could you please also run java preferences.app (in utilities java directory)
> and see if you have java 6 listed.

Here's the first part:

java version "1.5.0_24"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_24-b02-357-9M3165)
Java HotSpot(TM) Client VM (build 1.5.0_24-149, mixed mode, sharing)

looks like that may be the problem.  let me try to find java 6 for os/x and try again.
Comment 3 Yulia Novozhilova 2010-12-01 13:55:35 UTC
Actually that shouldn't be the problem. It only means that you have Java 5 as default one.
I suppose you have Java 6 installed (or else installer wouldn't allow you to proceed with the installation). Could you please make sure your Java 6 installation is not corrupted. 
And it also helps a lot if you attach a full log here(file /var/log/install.log).
Comment 4 Yulia Novozhilova 2011-04-27 12:13:51 UTC
We haven't heard from reporter for a long time and were not able to reproduce
the issue in our environment. Closing the issue as worksforme.

cleamon, feel free to reopen if you still experience this issue, and
provide requested information. Thanks.