日期:2014-05-17  浏览次数:20895 次

安装oem12报错
运行./runInstaller 后报错
Exception in thread "main" java.lang.NullPointerException
  at oracle.sysman.install.oneclick.util.PluginUtil.listOfPluginsTobeInstalledFromDirhasOp
ars(PluginUtil.java:234)
  at oracle.sysman.install.oneclick.util.PluginUtil.getCombinedListofPluginsFromDVDAndUser
PassedLocation(PluginUtil.java:551)
  at oracle.sysman.install.oneclick.EMGCPluginSelectionDlgonNext.getPluginInfo(EMGCPluginS
electionDlgonNext.java:156)
  at oracle.sysman.install.oneclick.EMGCPluginSelectionDlg.m_createPluginsSelectionTblSCro
llPane(EMGCPluginSelectionDlg.java:408)
  at oracle.sysman.install.oneclick.EMGCPluginSelectionDlg.m_createMainPanel(EMGCPluginSel
ectionDlg.java:391)
  at oracle.sysman.install.oneclick.EMGCPluginSelectionDlg.<init>(EMGCPluginSelectionDlg.j
ava:346)
  at oracle.sysman.install.oneclick.EMGCPluginSelectionDlg.getInstance(EMGCPluginSelection
Dlg.java:354)
  at oracle.sysman.install.oneclick.EMGCWizardFlow.createNoSeedWizardPages(EMGCWizardFlow.
java:744)
  at oracle.sysman.install.oneclick.EMGCWizardFlow.<init>(EMGCWizardFlow.java:257)
  at oracle.sysman.install.oneclick.EMGCWizardFlow.getInstance(EMGCWizardFlow.java:543)
  at oracle.sysman.install.oneclick.EMGCWizardFlow.main(EMGCWizardFlow.java:1109)
  at oracle.sysman.install.oneclick.EMGCInstaller.main(EMGCInstaller.java:1300)

弱弱问一下 是不是 与sysman 有关的没删除干净?
PS:因为原来的/tmp不够.所以用新的硬盘挂载 到/tmp

------解决方案--------------------
感觉好像与JDK的版本有关呢。
写Java程序,如果改变JDK版本后,经常遇到类似问题。