Inspect the class information of a variable in the debugger

Is there any way to inspect the class and classloader of a variable in the debugger? I want to see something like
x.getClass().getClassLoader();

Add a x.getClass().getClassLoader();
statement and debug the variable.
http://www.oracle.com/technology/products/jdev/howtos/10g/dbg_tips/debugger_tips1.html

Similar Messages

  • Can not receive Mac mail -error Outlook cannot find the server. Verify the server information is entered correctly in the Account Settings, and that your DNS settings in the Network pane of System Preferences are correct.  Account name: "MacMail"

    Can not receive Mac mail -error Outlook cannot find the server. Verify the server information is entered correctly in the Account Settings, and that your DNS settings in the Network pane of System Preferences are correct.  Account name: "MacMail"
    What are the correct mail account settings and more importantly the correct DNS settings
    Thank you for any help you may be able to provide
    Cheers
    Chris (iMac i7)

    Do not delete the old account yet. sign up for an iCloud account if you haven't.
    I understand .mac mail will still come through. Do not delete the old account yet.
    You cannot use .mac or MobileMe as type of Account, you have to choose IMAP when setting up, otherwise Mail is hard coded to change imap.mail.me.com to mail.me.com & smtp.mail.me.com to smtp.me.com, no matter what you try to enter.
    iCloud Mail setup, do not choose .mac or MobileMe as type, but choose IMAP...
    On second step where it asks "Description", it has to be a unique name, but you can still use your email address.
    IMAP (Incoming Mail Server) information:
              •          Server name: imap.mail.me.com
              •          SSL Required: Yes
              •          Port: 993
              •          Username: [email protected] (use your @me.com address from your iCloud account)
              •          Password: Your iCloud password
    SMTP (outgoing mail server) information:
              •          Server name: smtp.mail.me.com
              •          SSL Required: Yes
              •          Port: 587
              •          SMTP Authentication Required: Yes
              •          Username: [email protected] (use your @me.com address from your iCloud account)
              •          Password: Your iCloud password
    Also, you must upgrade your password to meet the new criteria:  8 characters, including upper and lower case and numbers.  If you have an older password that does not meet these criteria, when you try to setup mail on your mac, using all of the IMAP criteria listed above, it will still give a server error message.  Go to   http://appleid.apple.com         then follow directions to change your password, then go back to setting up your mail using the IMAP instructions above.
    Thanks to dpepper...
    https://discussions.apple.com/thread/3867171?tstart=0

  • DB2Exception - The value of a host variable in the EXECUTE or OPEN statemen

    I want to store a XML file into database.
    To undersdande my problem, please see the code below:
    java.sql.Connection conn = null ;
    PreparedStatement ps;
    // Here I'm calling a function to get Database Connection.
    String sXmlFile = "" ; // This variable stores a XML file as String
    String sSQL = "INSERT INTO Crs_x_xml (XML_TRAN_ID,XML_MESSAGE,SUSPENDED_FLAG ) VALUES(?,?,?)";
    try {
         ps = conn.prepareStatement(sSQL);
         ps.setLong(1,1);
         ps.setBytes(2, sXmlFile.getBytes());
         ps.setString(3,"A");
         ps.executeUpdate();
         conn.close();
    } catch (Exception e) {
         e.printStackTrace();
    The Problem:
    The table Crs_x_xml that I used has three columns, the first is a int, the second is a BLOB and third is Char(1) and its in DB2 running on AIX.
    Sometimes it execute very well. But sometimes gives following error :=
    COM.ibm.db2.jdbc.DB2Exception: [IBM][CLI Driver][DB2/AIX64] SQL0302N The value of a host variable in the EXECUTE or OPEN statement is too large for its corresponding use. SQLSTATE=22001
    I dont know whats going wrong. Plz help....
    ~Abhijeet

    Hi,
    I am using a CMP query in websphere, in which i am trying to execute a select query.
    The query is as follows:
    SELECT OBJECT(o) FROM HrTmmbrAct o WHERE o.tmmbrActC IN ( 1,2,3 ) AND o.effD BETWEEN '2000-02-11' AND '2008-02-22'
    The tmmbrActC is defined as a string in the Websphere CMP fields. I am not sure now to pass the value to it. Do we need to pass it as objects. pls help.
    Thanks
    - Giri

  • HT1918 Created an apple I'd using a wrong e-mail address. Can't access the e-mail to varify the Apple ID in order to be able to change the account settings. Any idea how can change the account information without having to varify the account through the e

    Created an apple I'd using a wrong e-mail address. Can't access the e-mail to varify the Apple ID in order to be able to change the account settings. Any idea how can change the account information without having to varify the account through the e-mail?

    You are trying to find a loophole to circumvent a basic rule that prohibits the transfer of purchased content from one Apple ID to another.
    Content tied to an Apple ID are bound to that Apple ID forever. You can not merge or trade accounts. Well, not (officially) anyway...

  • Does the Class Word always have to be the last word in column name? What about Units?

    Sometimes we are required to store both a US and a metric column in the same table.  Is it ok to use the unit type as a suffix to the class word like AreaSqMi and AreaSqkm in the case of watersheds which cross both the US and Canadian borders?
    Before everyone jumps on me let me explain.  The software environment we are using is from ESRI's (Geographic Information System) for displaying maps.  The popups for displaying attribute data can only display existing columns so no derived columns.

    Use columns standarts
    http://www.codeproject.com/Articles/22947/A-Naming-Scheme-for-Database-Tables-and-Fields
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • Error while seeing the Content Information of any content in the UCM.

    Hi All,
    I am facing an issue where i am seeing this error. i am not able to view the content information of any item in my content server.
    +Event generated by user 'username at host 'servername'. Unable to retrieve information for 'content id'. Unable to execute service method 'getDocFormats'. Null pointer is dereferenced. [ Details ]+
    An error has occurred. The stack trace below shows more information.
    +!csUserEventMessage,username,servername!$!csUnableToGetRevInfo2,GMKP_036626!csUnableToExecMethod,getDocFormats!syNullPointerException+
    intradoc.common.ServiceException: !csUnableToGetRevInfo2,GMKP_036626!csUnableToExecMethod,getDocFormats
    *ScriptStack DOC_INFO+
    +3:getDocFormats,dID=35481,dDocName=GMKP_036626+
    at intradoc.server.ServiceRequestImplementor.buildServiceException(ServiceRequestImplementor.java:2115)
    at intradoc.server.Service.buildServiceException(Service.java:2260)
    at intradoc.server.Service.createServiceExceptionEx(Service.java:2254)
    at intradoc.server.Service.createServiceException(Service.java:2249)
    at intradoc.server.ServiceHandler.executeAction(ServiceHandler.java:102)
    at intradoc.server.Service.doCodeEx(Service.java:533)
    at intradoc.server.Service.doCode(Service.java:505)
    at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1643)
    at intradoc.server.Service.doAction(Service.java:477)
    at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1458)
    at intradoc.server.Service.doActions(Service.java:472)
    at intradoc.server.ServiceRequestImplementor.executeActions(ServiceRequestImplementor.java:1391)
    at intradoc.server.Service.executeActions(Service.java:458)
    at intradoc.server.ServiceRequestImplementor.doRequest(ServiceRequestImplementor.java:737)
    at intradoc.server.Service.doRequest(Service.java:1890)
    at intradoc.server.ServiceManager.processCommand(ServiceManager.java:435)
    at intradoc.server.IdcServerThread.processRequest(IdcServerThread.java:265)
    at intradoc.idcwls.IdcServletRequestUtils.doRequest(IdcServletRequestUtils.java:1343)
    at intradoc.idcwls.IdcServletRequestUtils.processFilterEvent(IdcServletRequestUtils.java:1715)
    at intradoc.idcwls.IdcIntegrateWrapper.processFilterEvent(IdcIntegrateWrapper.java:222)
    at sun.reflect.GeneratedMethodAccessor136.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at idcservlet.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:87)
    at idcservlet.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:305)
    at idcservlet.common.ClassHelperUtils.executeMethodWithArgs(ClassHelperUtils.java:278)
    at idcservlet.ServletUtils.executeContentServerIntegrateMethodOnConfig(ServletUtils.java:1600)
    at idcservlet.IdcFilter.doFilter(IdcFilter.java:352)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: java.lang.NullPointerException
    at intradoc.data.DataBinder.addLocaleFields(DataBinder.java:1507)
    at intradoc.data.DataBinder.addResultSet(DataBinder.java:1925)
    at stellent.acomplete.doFilter(acomplete.java:68)
    at intradoc.shared.PluginFilters.filterWithAction(PluginFilters.java:114)
    at intradoc.shared.PluginFilters.filter(PluginFilters.java:68)
    at intradoc.server.DocCommonHandler.getDocFormats(DocCommonHandler.java:263)
    at sun.reflect.GeneratedMethodAccessor210.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at intradoc.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:86)
    at intradoc.common.ClassHelperUtils.executeMethodReportStatus(ClassHelperUtils.java:324)
    at intradoc.server.ServiceHandler.executeAction(ServiceHandler.java:79)
    +... 49 more+
    Please let me know what to do. ?

    Try to find your item in Documents table. Then, take dFormat and find the corresponding in DocFormats and ExtensionFormatMap tables.
    If something's missing you may try to define it in Configuration Manager. Otherwise, somebody from support will have to see your system.

  • I have reset the all information in my iphone but the phone hangup on the apple icon and does not start

    I have reset all the information in my iphone 3GS but the phone hangup on the apple icon and does not start an I reset the phone with ON/OFF buttom and the home buttom but still the problem exist

    The Basic Troubleshooting Steps are:
    Restart..  Reset..  Restore from Backup..  Restore as New...
    Try a Reset of the Phone... You will Not Lose Any Data...
    Turn the Phone Off... ( if it isn’t already )
    Press and Hold the Sleep/Wake Button and the Home Button at the Same Time...
    The Apple logo will Appear and then Disappear...
    Usually takes about 10 - 15 Seconds...
    Turn the Phone On...
    If that does not help... See Here:
    Backing up, Updating and Restoring
    http://support.apple.com/kb/HT1414

  • Why shows the disk information 150GB Backup data, when the TimeMachine Backup is on another disk?

    Hi,
    i'm using Time Machine to make my backups to my NAS (Synology DS211j). This is working.
    But when i'm using the disk information (about my mac) there are 150GB Backup data stored on the disk of the mac.
    What is this for a backup, when time machine backups the data to an external disk?

    Welcome to the Apple Support Communities
    When you turn on Time Machine on a MacBook, MacBook Pro or MacBook Air with OS X Lion or Mountain Lion, your Mac creates automatically "local snapshots" on the startup disk > http://pondini.org/TM/30.html That's why you have 150 GB of backups on the internal drive

  • "The class being compiled does not match the class that was imported"

    ----------Actions on timeline in
    sixSpices/updateSite/updateSite.fla----------
    import com.sixspices.updater.view.*;
    var calDrawer:CalendarView = new CalendarView(); //Listener /
    view
    ----------sixSpices/com/sixspices/updater/view/CalendarView.as
    file----------
    class CalendarView {
    public function CalendarView(){
    public function onRecieveData(listOfEvents:Array) {
    displayEvents(listOfEvents);
    public function displayEvents(listOfEvents:Array):Void {
    trace(listOfEvents);
    When I test the movie (updateSite.swf) in flash, it gives me
    the error:
    The class being compiled, 'CalendarView', does not match the
    class that was imported,
    'com.sixspices.updater.view.CalendarView'.

    Here is my file structure:
    sixSpices
    -->updateSite
    -->-->updateSite.fla
    -->-->updateSite.swf
    -->com
    -->-->sixSpices
    -->-->-->updater
    -->-->-->-->view
    -->-->-->-->-->Calendar.as
    If I move updateSite.fla to the folder sixSpices so that
    "com" is in the same folder as it, I get the same error.
    The following works with no problems (no similar error):
    ----------Actions on timeline in
    sixSpices/updateSite/updateSite.fla----------
    import com.sixspices.updater.model.*;
    var calModel:CalendarOverview = new CalendarOverview();
    //Broadcaster / model
    ----------sixSpices/com/sixspices/updater/model/CalendarOverview.as
    file----------
    import com.sixspices.updater.model.*;
    import mx.utils.Delegate;
    import mx.events.EventDispatcher;
    class CalendarOverview {
    public function CalendarOverview(){
    }

  • HT1918 If I have two users on an itunes account can I change the payment information on just one of the users without loosing purchased items?

    If I have two users on one itunes account, can I change the payment method on one without loosing the purchases on that user?  If so how do I do this?

    If so how do I do that

  • To pass the selected data to a variable from the drop down list in abap wd

    Hi,
    I have already created a drop down list and populated it with data from table by using the node and linking it with the internal table. Now I need to know which element is selected so based on that I need to perform some function. eg. based on the selected data , i need to populate the next drop down list.
    A demo code will be really helpful.
    Thanks and Regards
    Tenzin

    Hi,
    On selcting the value from the drop down, we have one event ONSELECT.
    Write the code in this event.
    Get the attribute value to lV_xxxxxx using get attribute.
    then using that you can fill the next DDBK attribute.
    method wddoinit .
      data:
            lo_nd_spfli type ref to if_wd_context_node,
            lo_el_spfli type ref to if_wd_context_element,
            ls_spfli type wd_this->element_spfli.
      data:
          lv_carrid LIKE ls_sflight-carrid,
             itab_carrid type wd_this->elements_spfli,
             wa_carrid type wd_this->element_spfli,
             lo_nodeinfo_spfli type ref to if_wd_context_node_info,
             lt_value_set type wdy_key_value_table,
             ls_value_set type wdy_key_value.
      lo_nd_spfli = wd_context->get_child_node( name = wd_this->wdctx_spfli ).
      lo_nodeinfo_spfli = lo_nd_spfli->get_node_info( ).
      select carrid
        from spfli
        into corresponding fields of table itab_carrid.
      if sy-subrc = 0.
        sort itab_carrid by carrid.
        delete adjacent duplicates from itab_carrid comparing carrid.
      endif.
      loop at itab_carrid into wa_carrid.
        ls_value_set-key = wa_carrid-carrid.
        ls_value_set-value = wa_carrid-carrid.
        append ls_value_set to lt_value_set.
      endloop.
      lo_nodeinfo_spfli->set_attribute_value_set( name = 'CARRID'
      value_set = lt_value_set ).
    endmethod.
    in the event of first DDBK, write the select statement wsing where condition of lv_XXX.
    and append the record as above.
    Regards,
    sarath

  • The class or interface 'URL Variables' could not be loaded

    what should i do for this problem is my action scripts...
    my scripts is....
    import mx.transitions.Tween;
    import mx.transitions.Zoom.*;
    import caurina.transitions.*;
    import flash.net.URLRequest;
    import flash.net.URLVariables;
    var myGalleryXML = new XML();
    myGalleryXML.ignoreWhite = true;
    /*new*/
    var search = 'all';
    var filter = 'all';
    var search:String = ExternalInterface.call("window.location.search");
    var vars:URLVariables = new URLVariables(search);
    trace(vars.search);
    trace(vars.filter);
    if(vars.search!='all' and vars.filter!='all')
        search= vars.search;
        filter=vars.filter;
    myGalleryXML.load("http://supremeinv.in/demo/index.php/"+search+"/"+filter);

    First you need to decide which version of Actionscript you are going to use, then use the code that agrees with that decision.  URLVariables (and URLRequest) are AS3 code elements.
    Elsewhere, you will end up with conflicts if you continue to declare the same variable multiple times.  In this case you are declaring var search at least twice.

  • There is a way to get the color information faster than double clicking the color box?

    When I need to know, for example, the hexadecimal value of a color I need to double click in the color box in the tools palette. Okay, it's not a that hard but sometimes when I'm using the gradient tools I want to do something like hover the mouse pointer over my color I get some instant information somewhere. There is a way to do this?
    Thanks folks!

    Try the info palette (click on arrows left of Info to expand). You will just need to click once to select target item, but will not have to constantly open and close the color picker window. Pretty much same solution as expanded color palette, but you can see stroke and fill together.

  • My service provider has assured me i have the correct information entered but I get the message "mail server is not responding"

    My service provider "Sentex Commmunication" has assured me I have entered all the fields correctly but I am still getting the message that my mail server is not responding

    I deleted the account and reentered the data. I got a new message saying my ISP mail account wasn't trusted. It allows you to accept it, I did and it went through. Thanks

  • My ipod wont let me download apps it says there a problem with the billing information but its always been the same how do i fix it

    i have tired everything and nothing works i restored my ipod and now i cant get any of my apps back

    Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

Maybe you are looking for