Skip to Main Content

Enterprise Manager

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Failed to find OMS details: null java.lang.NullPointerException

953591Dec 11 2012 — edited Dec 11 2012
hello everyone

when i issue the commend emctl status oms -details i get the below error.
Error occured. Check the log /u01/app/.../sysman/log/emctl.log
below is the excerpt from the emctl.log

INFO mas.CredStoreUtil logp.251 - getCredential : Got creds for mapName -EM keyName - REPOS_DETAILS
2012-12-11 11:00:27,058 [main] INFO mas.CredStoreUtil logp.251 - getCredential : Got creds for mapName -EM keyName - ENCR_DETAILS
2012-12-11 11:00:27,529 [main] ERROR oms.PrintOMSSetupInfo main.240 - Failed to find OMS details: null
java.lang.NullPointerException
at oracle.sysman.emctl.util.EmctlUtil.getOMSSetupInfo(EmctlUtil.java:812)
at oracle.sysman.emctl.oms.PrintOMSSetupInfo.main(PrintOMSSetupInfo.java:101)

any idea on why this might be occuring?
This post has been answered by Venkata Thiruveedhi-Oracle on Dec 11 2012
Jump to Answer

Comments

Answer

To clarify - are you saying the 1st time the breakpoint wasn't honored, but now it is?

Or the breakpoint STILL isn't being used?

The most likely causes for breakpoints not 'breaking' execution are:

  • unit not compiled with debug
  • breakpoint added to a line of code that's not 'executable' (like a comment)
  • breakpoint condition evals to false


Marked as Answer by marcusafs · Sep 27 2020
marcusafs

The tutorial never says to compile for debug and I assumed the debug run button would do that, like some other tools do.  I compiled for debug and then ran debug and it broke at the break point.

Thanks.  Maybe someone could add the compile for debug the tutorial.

That step should definitely be in the lab/tutorial - sorry about that. We're going to be updating all of these for Open World, so I'll make sure this gets included.

The default compile action in the tool is 'with debug' but we don't auto compile dependent objects with debug on a debug 'start' action - which is what I think you're alluding to.

1 - 3
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jan 8 2013
Added on Dec 11 2012
3 comments
1,781 views