Java.lang.Exception: Exception in sending Request :: null

hai folks
i down loaded oracle database 10g release 2 from oracle site. after successflly installing the oracle database i got the following java exception when logged on as sys/passcode as sysdba
java.lang.Exception: Exception in sending Request :: null
can any one help me in this regard since i installed oracle database number of times and ended up with same error .

connect to the instance using SQL plus, to make sure userid and password are working.
then from OS console check dbconsole status
emctl status dbconsole
emctl status agent
if dbconsole/agent is not running then start dbconsole--emctl start dbconsole
you can also start dbconsole from services tab under admin.

Similar Messages

  • Java.lang.Exception: Exception in sending Request :: null on Windows7 64bit

    Dear All,
    I have installed Oracle 10g 32-bit on Windows 7 64-bit Ultimate Edition. After setting ORACLE_HOME and ORACLE_SID environment variables.
    Oracle connected to sqlplus fine. But when starting Enterprise Manager in browser following error displayed.
    The Enterprise Manager takes the SYS logon (as sysdba) quite happily and then it states:
    Error
    java.lang.Exception: Exception in sending Request :: null
    Status Status Pending
    Status Pending Since Unavailable
    Last Known State
    Please help anyone. This is so urgent.
    Regards,
    Rizi -DBA

    I have resolved this issue myself. Basically problem is due to TimeZone mismatch of Oracle database and Window or OS.
    Following are the steps to resolve the issue:-
    On DOS prompt issue following commands.
    1. emctl stop dbconsole
    2. Following file contains valid supported TimeZones and select according to your region:-
    e.g. Asia/Karachi
    $ORACLE_HOME/sysman/admin/supportedtzs
    3. Now open following file:-
    $ORACLE_HOME/computername_SID/sysman/config/emd.properties
    At the end of this file add:-
    agentTZRegion=Asia/Karachi
    4. emctl start dbconsole
    5. Open browser and logged in Enterprise Manager using sys/password as sysdba.
    Click on Pending Status and logged in again, Now you will successfully use Enterprise Manager.
    Anyways, Thanks for your effort.

  • EM 10g : java.lang.Exception: Exception in sending Request :: null

    I have installed 2 db on 10.2.0.1.0. The first one is running fine and easily manageable via Enterprise Manager. When I open EM on the second db I receive "java.lang.Exception: Exception in sending Request :: null" with no further explanation. When I try startup/shutdown, I get "Couldnot contact the agent. Verify that the url for the agent is null". However the db service and the DB console are up and running. I can connect via SQL*plus to manage my DB.
    From a java application the connection fails with "java.sql.SQLException: Io exception: The Network Adapter could not establish the connection"
    listener.ora is as follow:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = D:\OraHome_1)
    (PROGRAM = extproc) ) )
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC2))
    (ADDRESS = (PROTOCOL = TCP)(HOST = MyHost)(PORT = 1512) ) ) )
    TSANAMES is as follow:
    26ALER =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = MyHost)(PORT = 1512))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = 26aler) ) )
    LISTENER_26ALER =
    (ADDRESS = (PROTOCOL = TCP)(HOST = MyHost)(PORT = 1512))
    LISTENER_ORCL1020 =
    (ADDRESS = (PROTOCOL = TCP)(HOST = MyHost)(PORT = 1512))
    ORCL1020 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = MyHost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl1020) ) )
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC2))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO) ) )
    Any clue what could be wrong?
    The console servier is running as stated here:
    starting Oracle Enterprise Manager 10g Database Control ...The OracleDBConsole26
    aler service is starting................
    the OracleDBConsole26aler service was started successfully.
    Edited by: user730614 on Oct 27, 2008 8:27 PM

    I have same issue when i upgraded the database from 9i to 10g...some articales point that the issue is related to the timeZone settings..
    I hope some one here could explain what it is and how to solve it... thank you

  • Error OEM java.lang.Exception: Exception in sending Request :: null

    Hi there guys,
    i get the error when i trying to connect to OEM java.lang.Exception: Exception in sending Request :: null
    the installation went without any hitch,
    the instance is up and running, but when i use the console i get the error
    $emctl status dbconsole
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.3.0
    Copyright (c) 1996, 2006 Oracle Corporation. All rights reserved.
    http://erpdb.entp.hme:5500/em/console/aboutApplication
    Oracle Enterprise Manager 10g is running.
    $emctl status dbconsole
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.3.0
    Copyright (c) 1996, 2006 Oracle Corporation. All rights reserved.
    http://erpdb.entp.hme:5500/em/console/aboutApplication
    Oracle Enterprise Manager 10g is running.
    Logs are generated in directory /oraprod/db/tech_st/10.2.0/erpdb.entp.hme_PROD/sysman/log
    oraprod@erpdb [oraprod/db/tech_st/10.2.0]
    $emctl status agent
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.3.0
    Copyright (c) 1996, 2006 Oracle Corporation. All rights reserved.
    Agent Version : 10.1.0.5.1
    OMS Version : 10.1.0.5.0
    Protocol Version : 10.1.0.2.0
    Agent Home : /oraprod/db/tech_st/10.2.0/erpdb.entp.hme_PROD
    Agent binaries : /oraprod/db/tech_st/10.2.0
    Agent Process ID : 18734
    Parent Process ID : 18327
    Agent URL : http://erpdb.entp.hme:1830/emd/main
    Started at : 2011-02-07 14:17:18
    Started by user : oraprod
    Last Reload : 2011-02-07 14:17:18
    Last successful upload : 2011-02-08 08:27:46
    Total Megabytes of XML files uploaded so far : 0.18
    Number of XML files pending upload : 0
    Size of XML files pending upload(MB) : 0.00
    Available disk space on upload filesystem : 47.34%
    Agent is Running and Ready
    i have found in metalink that i must relink agent component and i try it but i still having the same error
    i have found a warnings whenn i try to relink with this command
    cd $ORACLE_HOME/sysman/lib
    make -f ins_sysman.mk agent
    (Bundled) cc: warning 1913:`/oraprod/db/tech_st/10.2.0/lib32/:/oraprod/db/tech_st/10.2.0/lib/:/oraprod/db/tech_st/10.2.0/sysman/lib32/:/oraprod/db/tech_st/10.2.0/jdk/jre/lib/IA64N/server:/oraprod/db/tech_st/10.2.0/jdk/jre/lib/IA64N' does not exist or cannot be read
    but this not a problem because i have configured the db console in an other instance of my server and i have same error when reliking OEM agent but the dbconsole work fine.
    this is the error msg given in :
    <ORACLE_HOME>/<nodename_sid>/sysman/log/emoms.trc has:
    2011-02-08 09:17:58,017 [MetricCollector:HOMETAB_THREAD600:60] ERROR rt.DbMetricCollectorTarget _getAllData.328 - oracle.sysman.emSDK.emd.comm.CommException: Exception in sending Request :: null
    oracle.sysman.emSDK.emd.comm.CommException: Exception in sending Request :: null
    at oracle.sysman.emSDK.emd.comm.EMDClient.getResponseForRequest_(EMDClient.java:1329)
    at oracle.sysman.emSDK.emd.comm.EMDClient.getResponseForRequest(EMDClient.java:1222)
    at oracle.sysman.emSDK.emd.comm.EMDClient.getMetrics(EMDClient.java:639)
    at oracle.sysman.emo.perf.metric.rt.DbHomeTab._getAllData(DbHomeTab.java:324)
    at oracle.sysman.emo.perf.metric.rt.DbHomeTab.getData(DbHomeTab.java:139)
    at oracle.sysman.emo.perf.metric.eng.MetricCached.collectCachedData(MetricCached.java:402)
    at oracle.sysman.emo.perf.metric.eng.MetricCollectorThread._collectCachedData(MetricCollectorThread.java:596)
    at oracle.sysman.emo.perf.metric.eng.MetricCollectorThread.run(MetricCollectorThread.java:320)
    at java.lang.Thread.run(Thread.java:534)
    2011-02-08 09:18:16,256 [EMUI_09_18_16_/console/database/instance/sitemap] ERROR perf.sitemap initializeGeneral.400 - Failed to initialize object: ORA-20206:
    ORA-06512: at "SYSMAN.EMD_DATABASE", line 1165
    ORA-01403: no data found
    ORA-06512: at line 1

    Most probably your Enterprise Manager is missconfigured. You may require to reconfigure it, rebuild the repository and reconfigure your EM console.
    Before you proceed. Has it ever worked?
    Are all required services up and running?, i.e. listener, database?
    Is your environment properly configured (envrionment variables)?
    Are you able to start your console from the command line with the emctl start dbconsole command?
    Please feedback.
    ~ Madrid.

  • OEM - java.lang.Exception: Exception in sending Request :: null

    Hi
    I have installed Oracle 10.2.0 on Windows Vista Home edition,
    On opening OEM page gettingthe below error -
    Error
    java.lang.Exception: Exception in sending Request :: null
    Database Instance: orcl2
    After google and some search in net , found an solution that a emd.properties files has to edited -agent TZ values has to be changed.
    Post making changes too I am still receiving same error.
    Could any one help me in fixing this error of OEM.
    Rgds
    Jr. DBA

    Bob..
    I have copied and pasted message from emdb.nohup file
    and found that values i have changed in emd.properties file its showing an error.
    The process cannot access the file because it is being used by another process.
    process::Launching process : F:\oracle\product\10.2.0\db_3\jdk/bin/java -server -Xmx256M -XX:MaxPermSize=96m -XX:MinHeapFreeRatio=20 -XX:MaxHeapFreeRatio=40 -DORACLE_HOME=F:\oracle\product\10.2.0\db_3 -Doracle.home=F:\oracle\product\10.2.0\db_3/oc4j -Doracle.oc4j.localhome=F:\oracle\product\10.2.0\db_3\Bangaram-PC_orcl2/sysman -DEMSTATE=F:\oracle\product\10.2.0\db_3\Bangaram-PC_orcl2 -Doracle.j2ee.dont.use.memory.archive=true -Djava.protocol.handler.pkgs=HTTPClient -Doracle.security.jazn.config=F:\oracle\product\10.2.0\db_3/oc4j/j2ee/OC4J_DBConsole_Bangaram-PC_orcl2/config/jazn.xml -Djava.security.policy=F:\oracle\product\10.2.0\db_3/oc4j/j2ee/OC4J_DBConsole_Bangaram-PC_orcl2/config/java2.policy -Djava.security.properties=F:\oracle\product\10.2.0\db_3/oc4j/j2ee/home/config/jazn.security.props -DEMDROOT=F:\oracle\product\10.2.0\db_3\Bangaram-PC_orcl2 -Dsysman.md5password=true -Drepapi.oracle.home=F:\oracle\product\10.2.0\db_3 -Ddisable.checkForUpdate=true -Djava.awt.headless=true -jar F:\oracle\product\10.2.0\db_3/oc4j/j2ee/home/oc4j.jar -config F:\oracle\product\10.2.0\db_3/oc4j/j2ee/OC4J_DBConsole_Bangaram-PC_orcl2/config/server.xml
    launchprocess::Launched process successfuly. Process Id is : 4544
    ----- Wed Apr 29 00:31:08 2009::Console Launched with PID 4544 at time Wed Apr 29 00:31:08 2009 -----
    ----- Wed Apr 29 00:32:40 2009::Property 'agentTZRegion' is missing from F:\oracle\product\10.2.0\db_3\Bangaram-PC_orcl2/sysman/config/emd.properties. This is normal when the agent is started for the very first time.Updating it... -----
    ----- Wed Apr 29 00:32:40 2009::F:\oracle\product\10.2.0\db_3\Bangaram-PC_orcl2/sysman/config/emd.properties copied to F:\oracle\product\10.2.0\db_3\Bangaram-PC_orcl2/sysman/config/emd.properties.2009-04-29-00-32-40 while updating the property 'agentTZRegion' -----
    ----- Wed Apr 29 00:32:42 2009::An agentTZregion of 'GMT' is installed in F:\oracle\product\10.2.0\db_3\Bangaram-PC_orcl2/sysman/config/emd.properties. -----
    ----- Wed Apr 29 00:32:44 2009::The agentTZRegion value in F:\oracle\product\10.2.0\db_3\Bangaram-PC_orcl2/sysman/config/emd.properties is not in agreement with what agent thinks it should be.Please verify your environment to make sure that TZ setting has not changed since the last start of the agent.
    If you modified the timezone setting in the environment, please stop the agent and exectute 'emctl resetTZ agent' and also execute the script 'mgmt_target.set_agent_tzrgn' to get the value propagated to repository -----
    The process cannot access the file because it is being used by another process.
    process::Launching process : F:\oracle\product\10.2.0\db_3\jdk/bin/java -server -Xmx256M -XX:MaxPermSize=96m -XX:MinHeapFreeRatio=20 -XX:MaxHeapFreeRatio=40 -DORACLE_HOME=F:\oracle\product\10.2.0\db_3 -Doracle.home=F:\oracle\product\10.2.0\db_3/oc4j -Doracle.oc4j.localhome=F:\oracle\product\10.2.0\db_3\Bangaram-PC_orcl2/sysman -DEMSTATE=F:\oracle\product\10.2.0\db_3\Bangaram-PC_orcl2 -Doracle.j2ee.dont.use.memory.archive=true -Djava.protocol.handler.pkgs=HTTPClient -Doracle.security.jazn.config=F:\oracle\product\10.2.0\db_3/oc4j/j2ee/OC4J_DBConsole_Bangaram-PC_orcl2/config/jazn.xml -Djava.security.policy=F:\oracle\product\10.2.0\db_3/oc4j/j2ee/OC4J_DBConsole_Bangaram-PC_orcl2/config/java2.policy -Djava.security.properties=F:\oracle\product\10.2.0\db_3/oc4j/j2ee/home/config/jazn.security.props -DEMDROOT=F:\oracle\product\10.2.0\db_3\Bangaram-PC_orcl2 -Dsysman.md5password=true -Drepapi.oracle.home=F:\oracle\product\10.2.0\db_3 -Ddisable.checkForUpdate=true -Djava.awt.headless=true -jar F:\oracle\product\10.2.0\db_3/oc4j/j2ee/home/oc4j.jar -config F:\oracle\product\10.2.0\db_3/oc4j/j2ee/OC4J_DBConsole_Bangaram-PC_orcl2/config/server.xml
    launchprocess::Launched process successfuly. Process Id is : 4404
    ----- Wed Apr 29 10:08:59 2009::Console Launched with PID 4404 at time Wed Apr 29 10:08:59 2009 -----
    ----- Wed Apr 29 10:11:35 2009::The agentTZRegion value in F:\oracle\product\10.2.0\db_3\Bangaram-PC_orcl2/sysman/config/emd.properties is not in agreement with what agent thinks it should be.Please verify your environment to make sure that TZ setting has not changed since the last start of the agent.
    If you modified the timezone setting in the environment, please stop the agent and exectute 'emctl resetTZ agent' and also execute the script 'mgmt_target.set_agent_tzrgn' to get the value propagated to repository -----
    The process cannot access the file because it is being used by another process.
    process::Launching process : F:\oracle\product\10.2.0\db_3\jdk/bin/java -server -Xmx256M -XX:MaxPermSize=96m -XX:MinHeapFreeRatio=20 -XX:MaxHeapFreeRatio=40 -DORACLE_HOME=F:\oracle\product\10.2.0\db_3 -Doracle.home=F:\oracle\product\10.2.0\db_3/oc4j -Doracle.oc4j.localhome=F:\oracle\product\10.2.0\db_3\Bangaram-PC_orcl2/sysman -DEMSTATE=F:\oracle\product\10.2.0\db_3\Bangaram-PC_orcl2 -Doracle.j2ee.dont.use.memory.archive=true -Djava.protocol.handler.pkgs=HTTPClient -Doracle.security.jazn.config=F:\oracle\product\10.2.0\db_3/oc4j/j2ee/OC4J_DBConsole_Bangaram-PC_orcl2/config/jazn.xml -Djava.security.policy=F:\oracle\product\10.2.0\db_3/oc4j/j2ee/OC4J_DBConsole_Bangaram-PC_orcl2/config/java2.policy -Djava.security.properties=F:\oracle\product\10.2.0\db_3/oc4j/j2ee/home/config/jazn.security.props -DEMDROOT=F:\oracle\product\10.2.0\db_3\Bangaram-PC_orcl2 -Dsysman.md5password=true -Drepapi.oracle.home=F:\oracle\product\10.2.0\db_3 -Ddisable.checkForUpdate=true -Djava.awt.headless=true -jar F:\oracle\product\10.2.0\db_3/oc4j/j2ee/home/oc4j.jar -config F:\oracle\product\10.2.0\db_3/oc4j/j2ee/OC4J_DBConsole_Bangaram-PC_orcl2/config/server.xml
    launchprocess::Launched process successfuly. Process Id is : 3764
    ----- Wed Apr 29 13:00:37 2009::Console Launched with PID 3764 at time Wed Apr 29 13:00:37 2009 -----
    ----- Wed Apr 29 13:02:57 2009::property 'agentTZregion' in 'F:\oracle\product\10.2.0\db_3\Bangaram-PC_orcl2/sysman/config/emd.properties' contains an invalid value of 'ALBANY/NEWYORK'.Agent start up can not proceed.This value might have been manually modified to be an incorrect value.This value needs to be set to one of the values listed in 'F:\oracle\product\10.2.0\db_3/sysman/admin/supportedtzs.lst'. Execute 'emctl config agent getTZ' and see if this is an appropriate value. -----
    The process cannot access the file because it is being used by another process.
    process::Launching process : F:\oracle\product\10.2.0\db_3\jdk/bin/java -server -Xmx256M -XX:MaxPermSize=96m -XX:MinHeapFreeRatio=20 -XX:MaxHeapFreeRatio=40 -DORACLE_HOME=F:\oracle\product\10.2.0\db_3 -Doracle.home=F:\oracle\product\10.2.0\db_3/oc4j -Doracle.oc4j.localhome=F:\oracle\product\10.2.0\db_3\Bangaram-PC_orcl2/sysman -DEMSTATE=F:\oracle\product\10.2.0\db_3\Bangaram-PC_orcl2 -Doracle.j2ee.dont.use.memory.archive=true -Djava.protocol.handler.pkgs=HTTPClient -Doracle.security.jazn.config=F:\oracle\product\10.2.0\db_3/oc4j/j2ee/OC4J_DBConsole_Bangaram-PC_orcl2/config/jazn.xml -Djava.security.policy=F:\oracle\product\10.2.0\db_3/oc4j/j2ee/OC4J_DBConsole_Bangaram-PC_orcl2/config/java2.policy -Djava.security.properties=F:\oracle\product\10.2.0\db_3/oc4j/j2ee/home/config/jazn.security.props -DEMDROOT=F:\oracle\product\10.2.0\db_3\Bangaram-PC_orcl2 -Dsysman.md5password=true -Drepapi.oracle.home=F:\oracle\product\10.2.0\db_3 -Ddisable.checkForUpdate=true -Djava.awt.headless=true -jar F:\oracle\product\10.2.0\db_3/oc4j/j2ee/home/oc4j.jar -config F:\oracle\product\10.2.0\db_3/oc4j/j2ee/OC4J_DBConsole_Bangaram-PC_orcl2/config/server.xml
    launchprocess::Launched process successfuly. Process Id is : 3768
    ----- Wed Apr 29 23:28:23 2009::Console Launched with PID 3768 at time Wed Apr 29 23:28:23 2009 -----
    ----- Wed Apr 29 23:30:00 2009::property 'agentTZregion' in 'F:\oracle\product\10.2.0\db_3\Bangaram-PC_orcl2/sysman/config/emd.properties' contains an invalid value of 'ALBANY/NEWYORK'.Agent start up can not proceed.This value might have been manually modified to be an incorrect value.This value needs to be set to one of the  values listed in 'F:\oracle\product\10.2.0\db_3/sysman/admin/supportedtzs.lst'. Execute 'emctl config agent getTZ' and see if this is an appropriate value. -----
    Rgds
    Jr. DBA

  • Getting java.lang.Exception: Exception in sending Request :: null  Error

    Hi,
    I am using Oracle 10.2.0.1.0. My intention is to create a new database instance.
    Here are the steps I have taken,
    1. Using DBCA, I created a new database instance, oracle sid = MYORCL0318
    2. I created the tablespaces for this instance.
    then, I went to Enterprise Manager at http://<hostname>:5501/em
    Login = sys
    password = xxxxxxx
    role = SYSDBA
    After I login, I would get an Error like this
    java.lang.Exception: Exception in sending Request :: null
    Any ideas why this is happening and how to fix this?
    thanks
    ST

    1. When I clicked on the Performance tab, I'd get a screen that looks like this
    Database Login
    * User Name: SYS
    * Password: xxxxxxxxxxxxx
    * Connect String: MYORCL0318
    * Connect As: SYSDBA
    In other words, I am kicked out by the system. (I am new to this forum, did not figure out how to attach the screen shot, so I hope you find my description of the screen acceptable.)
    2. emctl status returned the following
    C:\oracle\product\10.2.0Serve\db_1\BIN>emctl status
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
    Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
    Invalid arguments
    Unknown command option status
    Usage::
    Oracle Enterprise Manager 10g Database Control commands:
    emctl start| stop| status| setpasswd dbconsole
    emctl secure <options>
    emctl set ssl test|off|on em
    emctl set ldap <host> <port> <user dn> <user pwd> <context dn>
    emctl blackout options can be listed by typing "emctl blackout"
    emctl config options can be listed by typing "emctl config"
    emctl secure options can be listed by typing "emctl secure"
    emctl ilint options can be listed by typing "emctl ilint"
    emctl deploy options can be listed by typing "emctl deploy"
    so, I entered "emctl status dbconsole" instead, and I got,
    C:\oracle\product\10.2.0Serve\db_1\BIN>emctl status dbconsole
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
    Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
    http://hostname:5501/em/console/aboutApplication
    EM Daemon is not running.
    Logs are generated in directory C:\oracle\product\10.2.0Serve\db_1/<hostname>_MYORCL0318/sysman/log
    3. <ORACLE_HOME>\<hostname>_<SID>\sysman\log
    there are several log files in that directory,
    emdb.nohup
    emdctl.log
    emdctl.trc
    emoms.log
    emoms.trc
    OracleDBConsoleMYORCL0318exit.log
    OracleDBConsoleMYORCL0318srvc.log
    I'd assume you meant emoms.log
    towards the bottom of this log file, it has
    2010-03-19 13:55:32,843 [MetricCollector:HOMETAB_THREAD600:60] ERROR rt.DbMetricCollectorTarget _getAllData.328 - oracle.sysman.emSDK.emd.comm.CommException: Exception in sending Request :: null
    oracle.sysman.emSDK.emd.comm.CommException: Exception in sending Request :: null
         at oracle.sysman.emSDK.emd.comm.EMDClient.getResponseForRequest_(EMDClient.java:1319)
         at oracle.sysman.emSDK.emd.comm.EMDClient.getResponseForRequest(EMDClient.java:1212)
         at oracle.sysman.emSDK.emd.comm.EMDClient.getMetrics(EMDClient.java:637)
         at oracle.sysman.emo.perf.metric.rt.DbHomeTab._getAllData(DbHomeTab.java:324)
         at oracle.sysman.emo.perf.metric.rt.DbHomeTab.getData(DbHomeTab.java:139)
         at oracle.sysman.emo.perf.metric.eng.MetricCached.collectCachedData(MetricCached.java:402)
         at oracle.sysman.emo.perf.metric.eng.MetricCollectorThread._collectCachedData(MetricCollectorThread.java:596)
         at oracle.sysman.emo.perf.metric.eng.MetricCollectorThread.run(MetricCollectorThread.java:320)
         at java.lang.Thread.run(Thread.java:534)
    2010-03-19 13:55:32,843 [MetricCollector:HOMETAB_THREAD600:60] ERROR rt.DbMetricCollectorTarget _getAllData.328 - oracle.sysman.emSDK.emd.comm.CommException: Exception in sending Request :: null
    oracle.sysman.emSDK.emd.comm.CommException: Exception in sending Request :: null
         at oracle.sysman.emSDK.emd.comm.EMDClient.getResponseForRequest_(EMDClient.java:1319)
         at oracle.sysman.emSDK.emd.comm.EMDClient.getResponseForRequest(EMDClient.java:1212)
         at oracle.sysman.emSDK.emd.comm.EMDClient.getMetrics(EMDClient.java:637)
         at oracle.sysman.emo.perf.metric.rt.DbHomeTab._getAllData(DbHomeTab.java:324)
         at oracle.sysman.emo.perf.metric.rt.DbHomeTab.getData(DbHomeTab.java:139)
         at oracle.sysman.emo.perf.metric.eng.MetricCached.collectCachedData(MetricCached.java:402)
         at oracle.sysman.emo.perf.metric.eng.MetricCollectorThread._collectCachedData(MetricCollectorThread.java:596)
         at oracle.sysman.emo.perf.metric.eng.MetricCollectorThread.run(MetricCollectorThread.java:320)
         at java.lang.Thread.run(Thread.java:534)
    2010-03-19 13:56:32,843 [MetricCollector:HOMETAB_THREAD600:60] ERROR rt.DbMetricCollectorTarget _getAllData.328 - oracle.sysman.emSDK.emd.comm.CommException: Exception in sending Request :: null
    oracle.sysman.emSDK.emd.comm.CommException: Exception in sending Request :: null
         at oracle.sysman.emSDK.emd.comm.EMDClient.getResponseForRequest_(EMDClient.java:1319)
         at oracle.sysman.emSDK.emd.comm.EMDClient.getResponseForRequest(EMDClient.java:1212)
         at oracle.sysman.emSDK.emd.comm.EMDClient.getMetrics(EMDClient.java:637)
         at oracle.sysman.emo.perf.metric.rt.DbHomeTab._getAllData(DbHomeTab.java:324)
         at oracle.sysman.emo.perf.metric.rt.DbHomeTab.getData(DbHomeTab.java:139)
         at oracle.sysman.emo.perf.metric.eng.MetricCached.collectCachedData(MetricCached.java:402)
         at oracle.sysman.emo.perf.metric.eng.MetricCollectorThread._collectCachedData(MetricCollectorThread.java:596)
         at oracle.sysman.emo.perf.metric.eng.MetricCollectorThread.run(MetricCollectorThread.java:320)
         at java.lang.Thread.run(Thread.java:534)
    2010-03-19 13:56:32,843 [MetricCollector:HOMETAB_THREAD600:60] ERROR rt.DbMetricCollectorTarget _getAllData.328 - oracle.sysman.emSDK.emd.comm.CommException: Exception in sending Request :: null
    oracle.sysman.emSDK.emd.comm.CommException: Exception in sending Request :: null
         at oracle.sysman.emSDK.emd.comm.EMDClient.getResponseForRequest_(EMDClient.java:1319)
         at oracle.sysman.emSDK.emd.comm.EMDClient.getResponseForRequest(EMDClient.java:1212)
         at oracle.sysman.emSDK.emd.comm.EMDClient.getMetrics(EMDClient.java:637)
         at oracle.sysman.emo.perf.metric.rt.DbHomeTab._getAllData(DbHomeTab.java:324)
         at oracle.sysman.emo.perf.metric.rt.DbHomeTab.getData(DbHomeTab.java:139)
         at oracle.sysman.emo.perf.metric.eng.MetricCached.collectCachedData(MetricCached.java:402)
         at oracle.sysman.emo.perf.metric.eng.MetricCollectorThread._collectCachedData(MetricCollectorThread.java:596)
         at oracle.sysman.emo.perf.metric.eng.MetricCollectorThread.run(MetricCollectorThread.java:320)
         at java.lang.Thread.run(Thread.java:534)
    2010-03-19 13:57:32,843 [MetricCollector:HOMETAB_THREAD600:60] ERROR rt.DbMetricCollectorTarget _getAllData.328 - oracle.sysman.emSDK.emd.comm.CommException: Exception in sending Request :: null
    oracle.sysman.emSDK.emd.comm.CommException: Exception in sending Request :: null
         at oracle.sysman.emSDK.emd.comm.EMDClient.getResponseForRequest_(EMDClient.java:1319)
         at oracle.sysman.emSDK.emd.comm.EMDClient.getResponseForRequest(EMDClient.java:1212)
         at oracle.sysman.emSDK.emd.comm.EMDClient.getMetrics(EMDClient.java:637)
         at oracle.sysman.emo.perf.metric.rt.DbHomeTab._getAllData(DbHomeTab.java:324)
         at oracle.sysman.emo.perf.metric.rt.DbHomeTab.getData(DbHomeTab.java:139)
         at oracle.sysman.emo.perf.metric.eng.MetricCached.collectCachedData(MetricCached.java:402)
         at oracle.sysman.emo.perf.metric.eng.MetricCollectorThread._collectCachedData(MetricCollectorThread.java:596)
         at oracle.sysman.emo.perf.metric.eng.MetricCollectorThread.run(MetricCollectorThread.java:320)
         at java.lang.Thread.run(Thread.java:534)
    2010-03-19 13:57:32,843 [MetricCollector:HOMETAB_THREAD600:60] ERROR rt.DbMetricCollectorTarget _getAllData.328 - oracle.sysman.emSDK.emd.comm.CommException: Exception in sending Request :: null
    oracle.sysman.emSDK.emd.comm.CommException: Exception in sending Request :: null
         at oracle.sysman.emSDK.emd.comm.EMDClient.getResponseForRequest_(EMDClient.java:1319)
         at oracle.sysman.emSDK.emd.comm.EMDClient.getResponseForRequest(EMDClient.java:1212)
         at oracle.sysman.emSDK.emd.comm.EMDClient.getMetrics(EMDClient.java:637)
         at oracle.sysman.emo.perf.metric.rt.DbHomeTab._getAllData(DbHomeTab.java:324)
         at oracle.sysman.emo.perf.metric.rt.DbHomeTab.getData(DbHomeTab.java:139)
         at oracle.sysman.emo.perf.metric.eng.MetricCached.collectCachedData(MetricCached.java:402)
         at oracle.sysman.emo.perf.metric.eng.MetricCollectorThread._collectCachedData(MetricCollectorThread.java:596)
         at oracle.sysman.emo.perf.metric.eng.MetricCollectorThread.run(MetricCollectorThread.java:320)
         at java.lang.Thread.run(Thread.java:534)
    2010-03-19 13:58:32,843 [MetricCollector:HOMETAB_THREAD600:60] ERROR rt.DbMetricCollectorTarget _getAllData.328 - oracle.sysman.emSDK.emd.comm.CommException: Exception in sending Request :: null
    oracle.sysman.emSDK.emd.comm.CommException: Exception in sending Request :: null
         at oracle.sysman.emSDK.emd.comm.EMDClient.getResponseForRequest_(EMDClient.java:1319)
         at oracle.sysman.emSDK.emd.comm.EMDClient.getResponseForRequest(EMDClient.java:1212)
         at oracle.sysman.emSDK.emd.comm.EMDClient.getMetrics(EMDClient.java:637)
         at oracle.sysman.emo.perf.metric.rt.DbHomeTab._getAllData(DbHomeTab.java:324)
         at oracle.sysman.emo.perf.metric.rt.DbHomeTab.getData(DbHomeTab.java:139)
         at oracle.sysman.emo.perf.metric.eng.MetricCached.collectCachedData(MetricCached.java:402)
         at oracle.sysman.emo.perf.metric.eng.MetricCollectorThread._collectCachedData(MetricCollectorThread.java:596)
         at oracle.sysman.emo.perf.metric.eng.MetricCollectorThread.run(MetricCollectorThread.java:320)
         at java.lang.Thread.run(Thread.java:534)
    2010-03-19 13:58:32,843 [MetricCollector:HOMETAB_THREAD600:60] ERROR rt.DbMetricCollectorTarget _getAllData.328 - oracle.sysman.emSDK.emd.comm.CommException: Exception in sending Request :: null
    oracle.sysman.emSDK.emd.comm.CommException: Exception in sending Request :: null
         at oracle.sysman.emSDK.emd.comm.EMDClient.getResponseForRequest_(EMDClient.java:1319)
         at oracle.sysman.emSDK.emd.comm.EMDClient.getResponseForRequest(EMDClient.java:1212)
         at oracle.sysman.emSDK.emd.comm.EMDClient.getMetrics(EMDClient.java:637)
         at oracle.sysman.emo.perf.metric.rt.DbHomeTab._getAllData(DbHomeTab.java:324)
         at oracle.sysman.emo.perf.metric.rt.DbHomeTab.getData(DbHomeTab.java:139)
         at oracle.sysman.emo.perf.metric.eng.MetricCached.collectCachedData(MetricCached.java:402)
         at oracle.sysman.emo.perf.metric.eng.MetricCollectorThread._collectCachedData(MetricCollectorThread.java:596)
         at oracle.sysman.emo.perf.metric.eng.MetricCollectorThread.run(MetricCollectorThread.java:320)
         at java.lang.Thread.run(Thread.java:534)
    2010-03-19 13:59:32,859 [MetricCollector:HOMETAB_THREAD600:60] ERROR rt.DbMetricCollectorTarget _getAllData.328 - oracle.sysman.emSDK.emd.comm.CommException: Exception in sending Request :: null
    oracle.sysman.emSDK.emd.comm.CommException: Exception in sending Request :: null
         at oracle.sysman.emSDK.emd.comm.EMDClient.getResponseForRequest_(EMDClient.java:1319)
         at oracle.sysman.emSDK.emd.comm.EMDClient.getResponseForRequest(EMDClient.java:1212)
         at oracle.sysman.emSDK.emd.comm.EMDClient.getMetrics(EMDClient.java:637)
         at oracle.sysman.emo.perf.metric.rt.DbHomeTab._getAllData(DbHomeTab.java:324)
         at oracle.sysman.emo.perf.metric.rt.DbHomeTab.getData(DbHomeTab.java:139)
         at oracle.sysman.emo.perf.metric.eng.MetricCached.collectCachedData(MetricCached.java:402)
         at oracle.sysman.emo.perf.metric.eng.MetricCollectorThread._collectCachedData(MetricCollectorThread.java:596)
         at oracle.sysman.emo.perf.metric.eng.MetricCollectorThread.run(MetricCollectorThread.java:320)
         at java.lang.Thread.run(Thread.java:534)
    2010-03-19 13:59:32,859 [MetricCollector:HOMETAB_THREAD600:60] ERROR rt.DbMetricCollectorTarget _getAllData.328 - oracle.sysman.emSDK.emd.comm.CommException: Exception in sending Request :: null
    oracle.sysman.emSDK.emd.comm.CommException: Exception in sending Request :: null
         at oracle.sysman.emSDK.emd.comm.EMDClient.getResponseForRequest_(EMDClient.java:1319)
         at oracle.sysman.emSDK.emd.comm.EMDClient.getResponseForRequest(EMDClient.java:1212)
         at oracle.sysman.emSDK.emd.comm.EMDClient.getMetrics(EMDClient.java:637)
         at oracle.sysman.emo.perf.metric.rt.DbHomeTab._getAllData(DbHomeTab.java:324)
         at oracle.sysman.emo.perf.metric.rt.DbHomeTab.getData(DbHomeTab.java:139)
         at oracle.sysman.emo.perf.metric.eng.MetricCached.collectCachedData(MetricCached.java:402)
         at oracle.sysman.emo.perf.metric.eng.MetricCollectorThread._collectCachedData(MetricCollectorThread.java:596)
         at oracle.sysman.emo.perf.metric.eng.MetricCollectorThread.run(MetricCollectorThread.java:320)
         at java.lang.Thread.run(Thread.java:534)
    the error seems to repeat itself every 1 minute or so..
    thanks,
    ST
    Edited by: user507705 on Mar 19, 2010 12:53 PM

  • Error  java.lang.Exception: Exception in sending Request :: null ..Kill Me

    i use windows XP and oracle10gR2 ,my database run well ,and when run the EM the error java.lang.Exception: Exception in sending Request :: null ,
    my TZ is: agentTZRegion=Asia/Baghdad ,in emd.properites file or SELECT SESSIONTIMEZONE FROM DUAL;
    SESSIONTIMEZONE
    +03:00
    and the OS TIME ZONE is (GMT +03:00) Baghdad
    and I run the Java Console
    but the error remain ,
    Can anybody solve this Error, Please
    Edited by: sabah on 09/07/2011 06:35 ص

    Hi Sabah,
    You are not the only one having this issue,
    check Oracle 10g R2 Enterprise Manager Web Interface doesn't see the database if it has the solution for you.
    Eric

  • Java.lang.Exception: IOException in sending Request :: Connection refused:

    Hi all,
    I am a new to Oracle 10g.I am using Enterprise manager for DBA jobs.After ogging in to enterprise manager, when i click the refresh button, i get the folllowing error
    " java.lang.Exception: IOException in sending Request :: Connection refused: connect"
    Please do help to slove this problem.
    Thanks

    I'm having the same error in my console header. Here is the content of the emagent.trc file.
    Running 10gR2 on Win 2K3 server. (bold added for readability)
    emctl status dbconsole responds with 'EM Daemon is not running'
    2007-03-29 14:02:23 Thread-1776 ERROR pingManager: nmepm_pingReposURL: Did not receive a response header from repository
    2007-03-29 14:02:23 Thread-1776 WARN main: clear collection state due to OMS_version difference
    2007-03-29 14:02:23 Thread-1776 WARN command: Job Subsystem Timeout set at 600 seconds
    2007-03-29 14:02:24 Thread-1776 WARN upload: Upload manager has no Failure script: disabled
    2007-03-29 14:02:24 Thread-1776 WARN upload: Recovering left over xml files in upload directory
    2007-03-29 14:02:24 Thread-2920 ERROR command: nmejcn: received no status header from repository at http://dB_Domain:5500/em/upload/
    2007-03-29 14:02:24 Thread-1776 WARN upload: Recovered 0 left over xml files in upload directory
    2007-03-29 14:02:25 Thread-1776 WARN metadata: Metric collectSnapshot does not have any data columns
    2007-03-29 14:02:27 Thread-1776 WARN metadata: Metric Disk_Path does not have any data columns
    2007-03-29 14:02:27 Thread-1776 WARN metadata: Metric osm_diskGroupPolicies does not have any data columns
    2007-03-29 14:02:53 Thread-1776 WARN TargetManager: Regenerating all Metadata
    2007-03-29 14:05:17 Thread-1776 ERROR util.files: ERROR: nmeufis_new: failed in lfiopn on file: E:\oracle\product\10.2.0\db_3\dB_Domain_SIGD\sysman\emd\agntstmp.txt. error = 2 (No such file or directory)
    2007-03-29 14:05:28 Thread-1776 ERROR collector: nmecs_validateStateFile(): state file invalid : E:\oracle\product\10.2.0\db_3\dB_Domain_SIGD\sysman\emd\state\snapshot
    2007-03-29 14:05:28 Thread-1776 ERROR collector: Collector state files cleaned, severity will be resent
    2007-03-29 14:05:35 Thread-3660 ERROR upload: Error in uploadXMLFiles. Trying again in 60.00 seconds.
    2007-03-29 14:05:48 Thread-676 ERROR upload: Failed to delete/move xml file C:\WINDOWS\TEMP\X11.uod, ret = -2 ; agent exiting
    2007-03-29 14:05:48 Thread-676 ERROR : Signalled to Exit with status 3
    2007-03-29 14:05:48 Thread-1776 ERROR main: EMAgent abnormal terminating
    2007-03-29 14:06:29 Thread-2996 WARN command: Job Subsystem Timeout set at 600 seconds
    2007-03-29 14:06:29 Thread-2996 WARN upload: Upload manager has no Failure script: disabled
    2007-03-29 14:06:29 Thread-2996 WARN upload: Recovering left over xml files in upload directory
    2007-03-29 14:06:29 Thread-2996 WARN upload: Recovered 5 left over xml files in upload directory
    2007-03-29 14:06:29 Thread-2996 WARN upload: Merging leftover data file named errors.dat
    2007-03-29 14:06:29 Thread-2996 WARN upload: Merging leftover data file named severity.dat
    2007-03-29 14:06:30 Thread-2996 WARN upload: Merging leftover data file named rawdata.dat
    2007-03-29 14:06:30 Thread-2996 WARN metadata: Metric collectSnapshot does not have any data columns
    2007-03-29 14:06:31 Thread-2996 WARN metadata: Metric Disk_Path does not have any data columns
    2007-03-29 14:06:31 Thread-2996 WARN metadata: Metric osm_diskGroupPolicies does not have any data columns
    2007-03-29 14:07:29 Thread-2328 ERROR util.files: nmeufile_getLength: Error in lfilen. Error = 2 (No such file or directory)
    2007-03-29 14:15:19 Thread-1960 WARN http: 268,-1: nmehl_httpListener: signaled to exit from emctl
    Thank you for your help!
    Message was edited by:
    david.d

  • Java.lang.Exception: IOException is sending Request :: Connection refused

    Hi, everybody.
    Oracle Database Control 10g displays on the home page the following message
    -- java.lang.Exception: IOException is sending Request :: Connection refused
    after killing some database lock that is impeding the users to successfully carry out their daily activities.
    What could be the reason ?

    agent come with db was not working on that time

  • Error    java.lang.Exception: IOException in sending Request :: No rou

    hi
    Error
    java.lang.Exception: IOException in sending Request :: No route to host: connect
    this error occur when i open the EM every time,
    all my dba_users accounts are unlocked
    & when i tried to get the monitoring configuration the no item found dislplays
    what i have to so now any point
    thanks

    user8664817 wrote:
    10.2.0.3.0 on win2008(VMWARE) also i have number of invalid objects under different schemas on first installation
    wndows firewall is off.Chances are the "invalid objects" are a diversion ... utlrp.sql and move along.
    No route to host seems to point to network. Ping? TNSPing? DHCP? Route?

  • Java.lang.ClassNotFound Exception whenever I include .send()

    Everything runs fine, but when I add the .send(message); [it is in bold] I get a java.lang.ClassNotFound Exception.
    It still compiles, it just won't allow me to launch the program in the emulator. If I take that one piece of code out, everything runs fine again. I've been messing with it, and searching for a long time in an attempt to solve the problem but I've yet to come across a solution.
    I'm also using Bluej
    import java.io.*;
    import java.lang.*;
    import javax.microedition.lcdui.*;
    import javax.microedition.io.*;//Add SMS text, Map selection (upload image/altitude-scale)
    import javax.microedition.lcdui.Font;
    import javax.microedition.lcdui.Graphics;
    import javax.microedition.lcdui.Image;
    import javax.microedition.lcdui.Canvas;
    import javax.microedition.lcdui.Graphics;
    import javax.microedition.lcdui.game.GameCanvas;
    import javax.wireless.messaging.*;
       public class cardcanvas extends GameCanvas implements Runnable, CommandListener {
        Image i, Mortar, Target, paintballcharleston, selectimg, Cursor;
        SendSMS sendtext;
        Thread t = new Thread(this);
        Command cmdfire=new Command("Fire", Command.BACK, 1 );
        Command cmdreset=new Command("Reset", Command.ITEM, 2 );
        String text, message;
        static Image Map;
        MessageConnection messageConnection;
        TextMessage textMessage;
        int mortarX=5500, mortarY=5500, targetX=5500, targetY=5500, distanceX, distanceY, delay, mapx=-250, mapy=-250, xvel=115, yvel=130, gameAction=0, timer=0;
        double A, B, C, b, degreeX, degreeY, degreeV, voltageX, voltageY, scale=1.4235, findDegree=90;//get scale of pixel:realtime feet
        boolean paintdown=false, paintup=false, paintright=false, paintleft=false, left, finish, firemor, initiate, click, bottom=true, noYdegree, reset, sms=false;
        public cardcanvas(){
            super(false);
            this.addCommand(cmdfire);
            this.addCommand(cmdreset);
            this.setCommandListener(this);
        public void intit() {}
        public void start() {
            t.start() {}
        public void run()
            try{
                while(true)
                    if(paintright) {
                        timer++;
                        if(timer>1&&timer<4) xvel=xvel+5;
                        if(timer>=4&&timer<6) xvel=xvel+10;
                        if(timer>=6) xvel=xvel+20;
                    if(paintleft) {
                        timer++;
                        if(timer>1&&timer<4) xvel=xvel-5;
                        if(timer>=4&&timer<6) xvel=xvel-10;
                        if(timer>=6) xvel=xvel-20;
                    if(paintup) {
                        timer++;
                        if(timer>1&&timer<4) yvel=yvel-5;
                        if(timer>=4&&timer<6) yvel=yvel-10;
                        if(timer>=6) yvel=yvel-20;
                    if(paintdown) {
                        timer++;
                        if(timer>1&&timer<4) yvel=yvel+5;
                        if(timer>=4&&timer<6) yvel=yvel+10;
                        if(timer>=6) yvel=yvel+20;
                    if(mapy<-320) mapy=-320;
                    if(mapx>0) mapx=0;
                    if(mapy>0) mapy=0;
                    if(mapx>197) mapx=197;
                    if(xvel>225)
                        mapx=mapx-5;
                        targetX=targetX-5;
                        mortarX=mortarX-5;
                        xvel=225;
                    if(xvel<5)
                        mapx=mapx+5;
                        targetX=targetX+5;
                        mortarX=mortarX+5;
                        xvel=5;
                    if(yvel>260)
                        mapy=mapy-5;
                        targetY=targetY-5;
                        mortarY=mortarY-5;
                        yvel=260;
                    if(yvel<5)
                        mapy=mapy+5;
                        targetY=targetY+5;
                        mortarY=mortarY+5;
                        yvel=5;
                        if(reset) {
                            mapx=-250;
                            mapy=-250;
                            xvel=115;
                            yvel=130;
                            left=false;
                            firemor=false;
                            finish=false;
                            initiate=false;
                            click=false;
                            bottom=true;
                            noYdegree=false;
                            reset=false;
                            targetX=5500;
                            targetY=5500;
                            mortarX=5500;
                            mortarY=5500;
                            A=0;
                            B=0;
                            C=0;
                            b=0;
                            degreeX=0;
                        if(initiate) {
                           distanceX=targetX-mortarX;
                           distanceY=targetY-mortarY;
                           A=distanceY;
                           B=distanceX;
                               if(distanceY<0)
                                    A=distanceY*-1;
                                    bottom=false;
                               if(distanceX<0)
                                    B=distanceX*-1;
                                    left=true;
                            A=A*scale;
                            B=B*scale;
                            C=Math.sqrt((A*A)+(B*B));
                                while(((A*(Math.tan(b)))<B+.00002))
                                    b=b+.0001;
                            b=b*180/3.1415926535897932384626435;
                            degreeX=b;
                                if(bottom)
                                    b=90-b;
                                    b=b+90;
                                    degreeX=b;
                                if(left)
                                    degreeX=360-b;
                            initiate=false;
                            text=("DegreeX is "+degreeX+" Range is "+C);
                             sendTextMessage();
                     verifyGameState();
                     paint(getGraphics());
                     Thread.currentThread().sleep(1);
                catch (Exception E) {}
        private void verifyGameState() {}
        public void sendTextMessage()
            try
                String message = " ";
                MessageConnection messageConnection = (MessageConnection)Connector.open("sms://18433036060");
                TextMessage textMessage = (TextMessage)messageConnection.newMessage(
                        MessageConnection.TEXT_MESSAGE, "18433036060");
                textMessage.setPayloadText(message);
                *messageConnection.send(textMessage);*
            catch (Exception e) {}
    }If I remove messageConnection.send(texstMessage); the error is gone.
    Thanks in advance for your time

    cardmidlet:
    import javax.microedition.lcdui.*;
    import javax.microedition.midlet.MIDlet;
    import javax.microedition.midlet.MIDletStateChangeException;
    import java.io.IOException;
    import java.lang.*;
    public class cardmidlet extends MIDlet implements CommandListener {
        private Display display; Display map;
        cardmidlet midlet;
        private Form form; Form mapselection;
        private List menuList ;
        String[] elements=new String[]{"Initiate Program","Select Map","Help","About"};
        private Command selectCommand;
        Alert alert;
            private Command fnext=new Command("NEXT",Command.ITEM,1);
            private Command fback=new Command("BACK",Command.BACK,1);
            private Command mapnext=new Command("Next",Command.ITEM,1);
        private TextField uname; TextField mapchoice;
        public String nname, nmap;
        cardcanvas cd;
        protected void destroyApp(boolean arg0) throws MIDletStateChangeException {
        protected void pauseApp() {
        public cardmidlet() {
             menuList();
             cd = new cardcanvas();
        public void menuList(){
             display = Display.getDisplay(this);
             menuList = new List("Menu", List.IMPLICIT, elements, null);
             selectCommand=new Command("open",Command.ITEM,1);
             menuList.setSelectCommand(selectCommand);
             menuList.setCommandListener(this);  
        protected void startApp() throws MIDletStateChangeException {
            display.setCurrent(menuList);
        public void about(){
            alert = new Alert("Option Selected", "This program is created by"+"\n"+" Chris Furlong.", null, null);
              alert.setTimeout(Alert.FOREVER);
              alert.setType(AlertType.INFO);
              display.setCurrent(alert);
        public void help() {
            alert = new Alert("Option Selected", "Use the 4 d-pad keys to move the cursor. Press the center button once to select the mortar position, and a second time to select the target position. When both the mortar and the target are on screen, press the upper left key to begin the firing process. If you place one on the map by mistake, simply reset the program with the upper right key and start over.", null, null);
            alert.setTimeout(Alert.FOREVER);
            alert.setType(AlertType.INFO);
            display.setCurrent(alert);
        public void InitiateProgram(){
            display=Display.getDisplay(this);
            uname=new TextField("Enter your name","",50,TextField.ANY);
            form =new Form("New User");
            form.append(uname);
            form.addCommand(fnext);
            form.addCommand(fback);
            form.setCommandListener(this);
            display.setCurrent(form);
        public void selectmap()
           /* display=map.getDisplay(this);
            mapchoice=new TextField("Enter Map Name","",50,TextField.ANY);
            mapselection=new Form("Map Selection");
            mapselection.append(mapchoice);
            mapselection.addCommand(mapnext);
            mapselection.addCommand(fback);
            mapselection.setCommandListener(this);
            display.setCurrent(mapselection);*/
            display = map.getDisplay(this);
            map choose=new map();
        public String name(){
            nname=uname.getString();
            return nname;
    /*   public String mapname() {
            nmap=mapchoice.getString();
            return nmap;
        public void commandAction(Command com, Displayable arg1) {
             if(com==selectCommand)
                if(menuList.getSelectedIndex()==3)
                    about();
                if(menuList.getSelectedIndex()==2)
                    help();
                if(menuList.getSelectedIndex()==1)
                    selectmap();
                if(menuList.getSelectedIndex()==0)
                    InitiateProgram();
            if(com==fback)
                display.setCurrent(menuList);
            if(com==fnext){
                display = Display.getDisplay(this);
                cd.start();
                display.setCurrent(cd);
            if(com==mapnext)
                display = map.getDisplay(this);
                map choose=new map();
                display.setCurrent(choose);
    }

  • Java.lang.NullPointer Exception in File-RFC-File wtihout BPM scenario

    Hi All,
    I have implemented scenario File - RFC - File without BPM in PI7.1 according to below link by bhavesh
    [File - RFC - File without a BPM - Possible from SP 19.;
    but I am getting error java.lang.NullPointer Exception  in Audit log of sender communication channel when it enters in ResponseOnewayBean.
    I had implemented the same in PI 7.0 but there it was working fine.
    Is there any limitations on the use of the above beans in PI7.1 as I could see two more threads on the same unanswered yet.
    Please help me in resolving as it is priority task for me
    Thanks,
    Amit

    Sometime back I saved this SAP Note 1261159 for this error. Not sure if it is still valid. Try to get it implemented.
    Regards,
    Prateek

  • Java.lang.indexoutofbound Exception

    HI all
    i am trying to convert multiple jpg images to single tiff image..i am getting an exception that is
    "java.lang.indexoutofbound Exception"..can anyone help me
    import com.sun.media.imageio.plugins.tiff.TIFFImageWriteParam;
    import java.awt.image.BufferedImage;
    import java.io.File;
    import java.io.IOException;
    import java.util.ArrayList;
    import java.util.Iterator;
    import java.util.Locale;
    import javax.imageio.IIOImage;
    import javax.imageio.ImageIO;
    import javax.imageio.ImageReader;
    import javax.imageio.ImageWriteParam;
    import javax.imageio.ImageWriter;
    import javax.imageio.metadata.IIOMetadata;
    import javax.imageio.stream.ImageInputStream;
    import javax.imageio.stream.ImageOutputStream;
    public class mergeImages
    public void execute(ArrayList<File> imageFiles , File newTIFF)
    throws IOException
    Iterator iterator = imageFiles.iterator();
    Iterator writers = ImageIO.getImageWritersByFormatName("tif");
    ImageWriter writer = (ImageWriter)writers.next();
    ImageOutputStream ios = ImageIO.createImageOutputStream(newTIFF);
    writer.setOutput(ios);
    TIFFImageWriteParam tiffWriteParam = new TIFFImageWriteParam(Locale.US);
    tiffWriteParam.setCompressionMode(ImageWriteParam.MODE_EXPLICIT);
    tiffWriteParam.setCompressionType("JPEG");
    boolean firstImage = true;
    while (iterator.hasNext())
    File imageFile = (File) iterator.next();
    ImageInputStream iis = ImageIO.createImageInputStream(imageFile);
    Iterator readers = ImageIO.getImageReaders(iis);
    ImageReader reader = (ImageReader)readers.next();
    reader.setInput(iis);
    try
    for(int i = 0;i<imageFiles.size();i++)
    IIOMetadata iioImageMetadata = reader.getImageMetadata(i);
    int imageHeight = reader.getHeight(i);
    int imageWidth = reader.getWidth(i);
    tiffWriteParam.setTilingMode(ImageWriteParam.MODE_EXPLICIT);
    tiffWriteParam.setTiling(imageWidth, imageHeight, 0, 0);
    BufferedImage bi = reader.read(i, null);
    IIOImage image = new IIOImage(bi, null, iioImageMetadata);
    if(firstImage==false)
    writer.writeInsert(-1,image, tiffWriteParam);
    else {
    writer.write(null, image, tiffWriteParam);
    firstImage = false;
    catch (Exception e)
    System.out.println("Exxxxxxxxx"+e);
    reader.dispose();
    writer.dispose();
    public static void main(String[] args)throws IOException
    ArrayList filesList=new ArrayList();
    File destFile = new File("c:\\TEST.tif");
    //your logic to get the list of files.
    // set the file list to 'filesList'
    File in1 = new File("c:\\a.jpg");
    File in2 = new File("c:\\b.jpg");
    filesList.add(0,in1);
    filesList.add(1,in2);
    mergeImages mI=new mergeImages();
    mI.execute(filesList,destFile);
    }

    To expand on that a little, so that you get better information next time:
    This line tells you what, ultimately, failed.
    java.lang.IndexOutOfBoundsExceptionYou then get the stack trace from most recent method called to least recent method called. The most recent method will contain the line of code that actually failed, but as here may be in an external library:
    at com.sun.imageio.plugins.jpeg.JPEGImageReader.gotoImage(JPEGImageReader.java:448)The last external package after your own code will be the method call that failed. Here you were calling the getImageMetadata() method of the com.sun.imageio.plugins.jpeg.JPEGImageReader class. Documentation on this class is available from the [Sun API documentation|http://java.sun.com/j2se/1.5.0/docs/api/javax/imageio/ImageReader.html] .
    at com.sun.imageio.plugins.jpeg.JPEGImageReader.getImageMetadata(JPEGImageReader.java:851)The next entry indicates which line of your own code failed. Here it was line 45 which is within a method called execute (mediocre name - it should describe what it's doing, execute is too abstract) of your own class called mergeImagesHCL (also a poor name - classes should always start with a capital letter):
    at mergeImagesHCL.execute(mergeImagesHCL.java:45)The rest of the stack trace tells you how you got there - here by calling mergeImagesHCL at line 84 of the main method of the same class:
    at mergeImagesHCL.main(mergeImagesHCL.java:84)Stack traces tell you exactly what line of code your error is on, what you were calling when it failed, and why it failed. Use them.

  • Java.lang.NoClassDefFoundError: Exception in thread "main"

    Hello People,
    I am aware that this topic has been raised before. I have browsed through all the postings of this particular question, but i have not found the solution.
    While compilign i get no errors but this is what i get when i run the java program.
    java.lang.NoClassDefFoundError: Exception in thread "main"
    Tool completed with exit code 1
    The following is my path and classpath files under autoexec.bat
    SET PATH=%PATH%;C:\j2sdk1.4.0_03\bin
    SET CLASSPATH=.;%CLASSPATH%;C:\j2sdk1.4.0_03\bin
    These are the settings i have in MY COMPUTER properties/environments
    SYSTEM VARIABLES
    Variable - classpath
    Value - C:\Program Files\TextPad 4
    USER VARIABLES
    Variable - PATH
    Value - C:\j2sdk1.4.0_03\bin
    SYSTEM VARIABLES
    Variable - path
    Value - C:\PROGRA~1\PVCS\VM\win32\bin;C:\WINNT4\system32;C:\WINNT4;C:\WINNT4\system32\nls\ENGLISH;C:\WINNT4\system32\nls;C:\Program Files\Rational\common
    USER VARIABLES
    Variable - PATH
    Value - C:\j2sdk1.4.0_03\bin
    I hope this infromation will help.
    Thanks
    Regards,
    Shah

    SET PATH=%PATH%;C:\j2sdk1.4.0_03\bin
    SET CLASSPATH=.;%CLASSPATH%;C:\j2sdk1.4.0_03\bin
    These are the settings i have in MY COMPUTER
    properties/environments
    SYSTEM VARIABLES
    Variable - classpath
    Value - C:\Program Files\TextPad 4I am concerned that the classpath in the autoexec.bat is different from what you posted under System variables. What version of Windows are you running? autoexec.bat is used by 98. Others use the system variables. The classpath you show for autoexec.bat looks OK but the classpath you show for system variables looks wrong. It should be the same as what you show for autoexec.bat You do not need the sdk\bin directory in your classpath unless you plan to put classes there.
    The NoClassDefFound error means that the java.exe command could not find the class that you specified. You did not post the command that you entered. You may have specified the class wrong. Otherwise, it is probably a classpath problem.

  • Java.Lang.NullPoint.Exception in OWB Mapping

    Hello Everybody
    We are building Data Warehouse using OWB Repository 9.2.0.2.0. When we are validating or deploying the created map we are getting Java.Lang.NullPoint.Exception. This leads to blank screen. We are unable to recover the map. Sometimes, synchronization works to recover the map, but not all the times.
    Is there any solution to it?

    Mark
    Is it possible to solve the problem without migrating? I have the details of error as follows --
    java.lang.NullPointerException
    java.lang.NullPointerException
         at oracle.wh.service.impl.mapping.metadata.WBMappingGraphImpl.<init>(WBMappingGraphImpl.java:43)
         at oracle.wh.service.impl.mapping.metadata.WBMappingGraphHelper.createMappingGraph(WBMappingGraphHelper.java:31)
         at oracle.wh.ui.mapping.MappingGraphNew.drawStage(MappingGraphNew.java:2660)
         at oracle.wh.ui.mapping.MappingGraphNew.setStage(MappingGraphNew.java:484)
         at oracle.wh.ui.mapping.MappingEditorCanvas.refresh(MappingEditorCanvas.java:287)
         at oracle.wh.ui.common.WhFolderEditor.refreshCanvas(WhFolderEditor.java:951)
         at oracle.wh.ui.common.WhFolderEditor.refresh(WhFolderEditor.java:604)
         at oracle.wh.ui.common.WhFolderEditor$1$MyRefresh.run(WhFolderEditor.java:424)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:154)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:337)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)
    I appreciate your feedback.
    Cheers, Bana

Maybe you are looking for

  • Firefox will not open in browser but will on iPad

    I have a good signal to the router and iPad works well. The PC will not open any browser (Firefox, explorer internet), and Thunderbird opens but will not connect and times out. So I cannot reinstall Firefox or Thunderbird. I can get messages on my iP

  • Error while trying to create IPTSession object in ALUI Portlet

    All, I'm creating a IPTSession object using the following code in a ALUI portlet. (I'm using server side API for some reasons) #1 PortalObjectsFactory.Init(OKConfigFactory.createInstance(ConfigPathResolver.GetOpenConfigPath(), "portal")); #2 IPTSessi

  • Problems with Adobe Acrobat Professional 7.0

    I had a computer crash and had to re-install the Adobe 7.0 software which was an upgrade.   It took a call to tech support to get a code to install the upgrade again.  Whenever I open the software I get the following windows: FileOpen              Th

  • Multi-layered compositions creating overly large compressed files

    Hi there community! FCP HD 4.5 I have a composition that involves 3 layers of video and 4 audio tracks. It is only short but when trying to compress a sample for the web I'm having difficulty getting the file size down to something reasonable, like b

  • HT4528 how do i get rid of suggested/ remembered contacts in my iphone?

    hello, i am trying to get rid of some wunwanted contacts in my iphone, when i am bout to send a message i go to the "TO:" and i type in any letter, a suggested name& number pop up. how do i get rid of it, even tho that contact doesnt exsit in my cont