Q
Problem solve Get help with specific problems with your technologies, process and projects.

Getting "null pointer exception" error

I installed Oracle 10g on it. When I want to shut down the database from the em console I can't do it. I get a message saying "internal server error null pointer exception." Where do I create the username and password for OSHost?

My PC is running Windows XP Professional Service Pack 2 on a Dell Optiplex GX520. I installed Oracle 10g on it. When I want to shut down the database from the em console I can't do it. I get a message saying "internal server error null pointer exception." Where do I create the username and password for OSHost?

This may indicate a problem with a state file in the $ORACLE_HOME/ /sysman/emd directory -- one of the...

files may be corrupt.

You may want to reinstantiate the <HOST_SID> directory used by the Database Control.

  • Set the oracle_sid and oracle_home environment variables.
  • Use emca to remove the host_sid directory under the oracle_home:
    emca -x orcl
    
    Note that orcl will be the name of the sid you set in the environment.
  • On Windows, ensure that the dbconsole service has been deleted from the services control panel. On occasion, it may show that the service is merely marked for delete, with a status of DISABLED in the control panel. This will be resolved by a system reboot.
  • Use emca to rebuild the host_sid directory:
    emca -r
    
  • Retry the shutdown command from Database Control.
This was last published in April 2006

Dig Deeper on Oracle database installation, upgrades and patches

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide.com

SearchDataCenter

SearchContentManagement

SearchHRSoftware

Close