System.ObjectDisposedException: Safe handle has been closed

Hi All,
I have been struggling on a similar issue as “https://social.msdn.microsoft.com/Forums/sqlserver/en-US/2e98ec85-9ce0-452c-89c4-3cb6c4167590/systemobjectdisposedexception-safe-handle-has-been-closed-while-trying-to-begin-a-transaction?forum=sqldatabaseengine”
in a web application based on .net framework 2.0 and sql server 2008 R2. the exception happened about 3 times per month since 2011, and when it happens, no one could connect to the web site anymore. Here is the stack trace of the error.
at System.Runtime.InteropServices.SafeHandle.DangerousAddRef(Boolean& success)     
at SNINativeMethodWrapper.SNIPacketReset(SafeHandle pConn, IOType ioType, SafeHandle packet)
at System.Data.SqlClient.TdsParserStateObject.WriteSni()     
at System.Data.SqlClient.TdsParserStateObject.ExecuteFlush()     
at System.Data.SqlClient.TdsParser.TdsExecuteRPC(_SqlRPC[] rpcArray, Int32 timeout, Boolean
inSchema, SqlNotificationRequest notificationRequest, TdsParserStateObject stateObj, Boolean isCommandProc)     
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior
runBehavior, Boolean returnStream, Boolean async)     
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior
runBehavior, Boolean returnStream, String method, DbAsyncResult result)     
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior
runBehavior, Boolean returnStream, String method)     
at System.Data.SqlClient.SqlCommand.ExecuteScalar()     
at System.Data.SqlClient.SqlCommand.ExecuteScalar()     
at TNSSmartNetwork.SPS.Data.SystemEventLog.EventLogEntry.Add(GenericPrincipal CurrentPrincipal)
at TNSSmartNetwork.SPS.Web.Shell.Global.Session_Start(Object sender, EventArgs e)     
at System.Web.SessionState.SessionStateModule.RaiseOnStart(EventArgs e)     
at System.Web.SessionState.SessionStateModule.CompleteAcquireState()     
at System.Web.SessionState.SessionStateModule.BeginAcquireState(Object source, EventArgs e,
AsyncCallback cb, Object extraData)     
at System.Web.HttpApplication.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
I noticed the bug filed on the Microsoft Connect had been fixed, but it does not mention the reason and which version of .net framework it is fixed.
https://connect.microsoft.com/VisualStudio/feedback/details/779588/safe-handle-objectdisposedexception-sqltransaction-dispose
Appreciated if you could provide more details.
julian wu

Hi julian,
As the
connect item indicates, the issue is due to .Net Framework. For quick and accurate answer, I would like to recommend you post the question in the .NET Framework 
forum at
https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?category=netdevelopment . It is appropriate and you can get better help.
Thanks,
Lydia Zhang
If you have any feedback on our support, please click
here.
Lydia Zhang
TechNet Community Support

Similar Messages

  • Delivery Reports, Mail Control: Safe handle has been closed

    When i try to open Delivery reports from mail control in exchange i get the following error page, i included the stack trace to help make this easier to track down the problem
    Safe handle has been closed
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 
    Exception Details: System.ObjectDisposedException: Safe handle has been closed
    Source Error: 
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  
    Stack Trace: 
    [ObjectDisposedException: Safe handle has been closed]
       System.Runtime.InteropServices.SafeHandle.DangerousAddRef(Boolean& success) +0
       Microsoft.Win32.Win32Native.GetTokenInformation(SafeTokenHandle TokenHandle, UInt32 TokenInformationClass, SafeLocalAllocHandle TokenInformation, UInt32 TokenInformationLength, UInt32& ReturnLength) +0
       System.Security.Principal.WindowsIdentity.GetTokenInformation(SafeTokenHandle tokenHandle, TokenInformationClass tokenInformationClass) +147
       System.Security.Principal.WindowsIdentity.get_User() +103
       Microsoft.Exchange.Management.ControlPanel.CanaryExtensions.GetUserUniqueKey(HttpContext context) +95
       Microsoft.Exchange.Management.ControlPanel.CanaryExtensions.SendCanary(HttpContext context) +101
       Microsoft.Exchange.Management.ControlPanel.RbacModule.Application_PostAuthenticateRequest(Object sender, EventArgs e) +89
       System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +165
    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP
     

    Hi,
    From the error description, please make sure that all the services Exchange needed are running at first. What's more, I recommend you increase timeout for ECP and then check the result.
    Here is a thread about increasing timeout for ECP for your reference:
    Cannot open edit groups from ECP
    https://social.technet.microsoft.com/Forums/exchange/en-US/c57f40eb-7218-4a48-9efa-8fb687741d54/cannot-open-edit-groups-from-ecp?forum=exchangesvrclients
    Hope this can be helpful to you.
    Best regards,
    Amy Wang
    TechNet Community Support

  • New error with upgrade jboss/tomcat: "Connection handle has been closed and is unusable"

    Hi,
    This error suddenly appeared when we upgraded from jboss3/tomcat5.0 to jboss4.2/tomcat5.5.
    here's the usecase:
    1) User clicks on report link
    2) Crystal reports web componnent displays screen to fill in report parameters.
    3) user enters parameters and clicks submit
    4) System throws Exception
    The same reports worked fine with jboss 3.2.6/tomcat 5.0. We haven't touched anything in this realm.
    Log Excerpt:
    09:42:18,842 INFO  [datasource] Openning rowset
    09:42:18,904 ERROR [reportdefinition] com.crystaldecisions.reports.queryengine.driverImpl.m: JDBC Error: Connection handle has been closed and is unusable
    09:42:18,905 ERROR [datasource] Failed to open rowset: the query failed to open rowset
    com.crystaldecisions.reports.reportdefinition.datainterface.g: JDBC Error: Connection handle has been closed and is unusable
         at com.crystaldecisions.reports.reportdefinition.datainterface.d.a(Unknown Source)
    To try to narrow down the problem, I've updated the jdbc configuration to
         <track-statements>true</track-statements>   
    here's a recap:
    This Boolean element specifies whether to check for unclosed statements when a connection is returned to the pool. If it is true, a warning message is issued for each unclosed statement. If the log4j category org.jboss.resource.adapter.jdbc.WrappedConnection has trace level enabled, a stack trace of the connection close call is logged as well. This is a debug feature that can be turned off in production.
    Interestingly enough, this error appears slightly upstream:
    (CachedConnectionManager.java:526) - Closing a connection for you.  Please close them yourself: org.jboss.resource.adapter.jdbc.WrappedConnection@c76003
    java.lang.Throwable: STACKTRACE
         at
    org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:88)
         at com.crystaldecisions.reports.queryengine.driverImpl.k.a(Unknown Source)
         at com.crystaldecisions.reports.queryengine.driverImpl.o.if(Unknown Source)
         at com.crystaldecisions.reports.queryengine.av.new(Unknown Source)
         at com.crystaldecisions.reports.queryengine.av.byte(Unknown Source)
         at com.crystaldecisions.reports.reportdefinition.datainterface.b.a(Unknown Source)
         at com.crystaldecisions.reports.reportdefinition.datainterface.b.a(Unknown Source)
         at com.crystaldecisions.reports.reportdefinition.datainterface.b.a(Unknown Source)
         at com.crystaldecisions.reports.reportdefinition.datainterface.j.a(Unknown Source)
         at com.crystaldecisions.reports.dataengine.ba.try(Unknown Source)
         at com.crystaldecisions.reports.common.av.a(Unknown Source)
         at com.crystaldecisions.reports.common.ag.a(Unknown Source)
         at com.businessobjects.reports.sdk.b.e.a(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown
    So the question arises:
    1) Is the jboss datasource overly/aggressively closing result sets?
    2) or is there a coding error in CRXIR2?
    thanks,
    bill
    Full stack trace:
    [2008-03-13 17:26:18,905] [INFO ] org.jboss.resource.connectionmanager.CachedConnectionManager (CachedConnectionManager.java:526) - Closing a connection for you.  Please close them yourself: org.jboss.resource.adapter.jdbc.WrappedConnection@c76003
    java.lang.Throwable: STACKTRACE
         at org.jboss.resource.connectionmanager.CachedConnectionManager.registerConnection(CachedConnectionManager.java:290)
         at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:417)
         at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:842)
         at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:88)
         at com.crystaldecisions.reports.queryengine.driverImpl.k.a(Unknown Source)
         at com.crystaldecisions.reports.queryengine.driverImpl.o.if(Unknown Source)
         at com.crystaldecisions.reports.queryengine.av.new(Unknown Source)
         at com.crystaldecisions.reports.queryengine.av.byte(Unknown Source)
         at com.crystaldecisions.reports.reportdefinition.datainterface.b.a(Unknown Source)
         at com.crystaldecisions.reports.reportdefinition.datainterface.b.a(Unknown Source)
         at com.crystaldecisions.reports.reportdefinition.datainterface.b.a(Unknown Source)
         at com.crystaldecisions.reports.reportdefinition.datainterface.j.a(Unknown Source)
         at com.crystaldecisions.reports.dataengine.ba.try(Unknown Source)
         at com.crystaldecisions.reports.common.av.a(Unknown Source)
         at com.crystaldecisions.reports.common.ag.a(Unknown Source)
         at com.businessobjects.reports.sdk.b.e.a(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.y.a(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.r.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.cf.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.z.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ak.if(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ad.int(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.bk.for(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.v.a(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.v.if(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.DatabaseController.setTableLocation(Unknown Source)
         at com.crystaldecisions.reports.sdk.DatabaseController.setTableLocation(Unknown Source)
         at org.apache.jsp.reports.processreport_jsp.switchTables(processreport_jsp.java:131)
         at org.apache.jsp.reports.processreport_jsp.loadReport(processreport_jsp.java:68)
         at org.apache.jsp.reports.processreport_jsp._jspService(processreport_jsp.java:227)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:387)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at com.participate.shared.pagecache.client.PageCacheFilter.doFilter(PageCacheFilter.java:760)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at com.participate.util.servlet.ExpiredPasswordFilter.doFilter(ExpiredPasswordFilter.java:92)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at com.participate.pe.channels.client.servlet.ChannelUrlFilter.processUrl(ChannelUrlFilter.java:168)
         at com.participate.pe.channels.client.servlet.ChannelUrlFilter.doFilter(ChannelUrlFilter.java:100)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at com.participate.util.servlet.BlockIpAddressFilter.doFilter(BlockIpAddressFilter.java:224)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at com.outstart.multiapp.filters.KeepOtherSessionsAliveFilter.doFilter(KeepOtherSessionsAliveFilter.java:88)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at com.participate.util.servlet.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:151)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
         at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
         at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
         at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
         at java.lang.Thread.run(Thread.java:619)

    <p>
    OK. I found the problem along with a workaround.
    </p>
    <p>
    <strong>The problem:</strong>
    </p>
    <p>
    a programming practice clashes with a new jboss 'safety check'.
    </p>
    <p>
    <strong>Programming practice:</strong>
    </p>
    <p>
    crystal reports gets a database connection in one jsp page, then tries to use it on another jsp/servlet
    </p>
    <p>
    <strong>Jboss safety check:</strong>
    Jboss/tomcat new comes configured out-of-the-box with a 'cached connection
    manager', which
    </p>
    <p>
    "Check[s] for unclosed connections and transaction terminated checks in servlets/jsps."
    </p>
    <p>
    <strong> Summary</strong>
    </p>
    <p>
    In short, if a servlet/jsp ends and it leaves a database connection open, Jboss will automatically close it.
    </p>
    <p>
    </p>
    <p>
    <strong>Workaround:</strong><br />
    Comment out two entries in these two files:
    </p>
    <p>
    1) conf/jboss4/pe/deploy/jboss-web.deployer/server.xml
    </p>
    <p>
    2) conf/jboss4/pe/deploy/jboss-web.deployer/META-INF/jboss-service.xml
    </p>
    <p>
    The two entries:
    </p>
    <p>
    </p>
    <p>
    1)
    </p>
    <p>
                 <Valve className="org.jboss.web.tomcat.service.jca.CachedConnectionValve"<br />
                    cachedConnectionManagerObjectName="jboss.jca:service=CachedConnectionManager"<br />
                    transactionManagerObjectName="jboss:service=TransactionManager" /><br />
    </p>
    <p>
    2)
    </p>
    <p>
          <depends>jboss.jca:service=CachedConnectionManager</depends><br />
    </p>
    <p>
    </p>
    <p>
    <strong>Comments on the workaround</strong>
    </p>
    <p>
    The 'cached connection manager' basically makes sure that the application cleans up after bad programmers. It seems most helpful in development, load testing, or trouble shooting.
    </p>
    <p>
    In production,  you can likely  comment them out with minimal
    impact on the application.
    </p>

  • The PersistenceManager has been closed Exception

    Hi --
    I'm gettting the following exception:
    javax.jdo.JDOFatalUserException: The PersistenceManager has been closed.
         at
    com.solarmetric.kodo.runtime.PersistenceManagerImpl.checkClosed(PersistenceManagerImpl.java:2080)
         at
    com.solarmetric.kodo.runtime.PersistenceManagerImpl.isActive(PersistenceManagerImpl.java:481)
         at
    com.solarmetric.kodo.runtime.StateManagerImpl.isLoaded(StateManagerImpl.java:840)
         at
    net.nearlythere.utils.Money.jdoGetnet_nearlythere_utils_Money__amount(Money.java)
         at net.nearlythere.utils.Money.compareTo(Money.java:191)
         at
    net.nearlythere.business.data.ServiceIntervalPricing.isPaying(ServiceIntervalPricing.java:248)
    Now Money is a persistent class which looks like this (shortened greatly):
    public class Money implements Comparable, Cloneable, Serializable
    public static final Money ZERO = new Money(0.0);
    private BigDecimal _amount;
    public int compareTo(Money money)
    return amount.compareTo(money.amount);
    The code that throws the exception looks like:
         Money price = sip.getPrice();
         if(price.compareTo(Money.ZERO) > 0) {
    I have reason to believe the price is persistent capable. My question
    is: does jdo think the ZERO is persistent capable. Clearly, it is
    simply a constant, but is jdo able to handle this?
    Thanks,
    Dan

    Hi Patrick,
    In my system.jdo file, "Money" only shows up in only place, here's the
    portion of the jdo file in question:
    <package name="net.nearlythere.utils">
         <class name="Money">
         </class>
    </package>
    It resides in a different package than all the other objects, in case
    that matters...
    Dan
    Patrick Linskey wrote:
    Dan,
    What does your .jdo file look like for Money? In particular, are you
    explicitly listing ZERO as a persistent field? If so, can you try explicitly
    marking it as persistence-modifier="none":
    <field name="MONEY" persistence-modifier="none"/>
    This might be a bug in our default persistence assignment code.
    -Patrick
    On 6/26/02 1:48 PM, "Dan Finkelstein" <[email protected]> wrote:
    Hi Patrick,
    Here's some more info on this bug. With debug code, I have now
    determined that kodo things that Money.ZERO is a persistent object using
    the call JDOHelper.isPersistent(Money.ZERO). I've also verified that
    "price" is a persistent object -- as well it should be.
    It appears that kodo is throwing the PM has been closed exception
    because Money.ZERO is thought of as persistent and not part of the
    current PM.
    Your help is most appreciated,
    Dan
    Patrick Linskey wrote:
    This exception is probably not happening while accessing 'amount' in
    Money.ZERO, but rather while accessing 'amount' in 'price'. Additionally,
    the issue is not whether or not 'price' is a persistent instance; it's
    whether or not the object's PM is still open. The fact that the PM is even
    being used means that the object is associated with one.
    To debug, use JDOHelper.getPersistenceManager(), JDOHelper.isPersistent(),
    etc.
    -Patrick
    On 6/8/02 10:21 PM, "Dan Finkelstein" <[email protected]> wrote:
    Hi --
    I'm gettting the following exception:
    javax.jdo.JDOFatalUserException: The PersistenceManager has been closed.
    at
    com.solarmetric.kodo.runtime.PersistenceManagerImpl.checkClosed(PersistenceM
    an
    agerImpl.java:2080)
    at
    com.solarmetric.kodo.runtime.PersistenceManagerImpl.isActive(PersistenceMana
    ge
    rImpl.java:481)
    at
    com.solarmetric.kodo.runtime.StateManagerImpl.isLoaded(StateManagerImpl.java
    :8
    40)
    at
    net.nearlythere.utils.Money.jdoGetnet_nearlythere_utils_Money__amount(Money.
    ja
    va)
    at net.nearlythere.utils.Money.compareTo(Money.java:191)
    at
    net.nearlythere.business.data.ServiceIntervalPricing.isPaying(ServiceInterva
    lP
    ricing.java:248)
    Now Money is a persistent class which looks like this (shortened greatly):
    public class Money implements Comparable, Cloneable, Serializable
    public static final Money ZERO = new Money(0.0);
    private BigDecimal _amount;
    public int compareTo(Money money)
    return amount.compareTo(money.amount);
    The code that throws the exception looks like:
    Money price = sip.getPrice();
    if(price.compareTo(Money.ZERO) > 0) {
    I have reason to believe the price is persistent capable. My question
    is: does jdo think the ZERO is persistent capable. Clearly, it is
    simply a constant, but is jdo able to handle this?
    Thanks,
    Dan

  • Every morning when I awaken my MacBook Pro, I come to find that my Safari browser has been closed. How to fix this? I don't want to lose anything I have possibly typed in a site that I have left to finish working on for later.

    Every morning when I "awaken" my MacBook Pro, I come to find that my Safari browser has been closed on it's own. How to fix this? I don't want to lose anything I have possibly typed in a site that I have left to finish working on for later. I checked system preferences and everything seems to be checked appropriately as well as for Safari's preferences.
    I am not sure what's going on, because Safari only just recently started doing this and I haven't downloaded anything, nothing out of my regular computer routine. As well, I upgraded to Mavericks when it came out and I have the last version of it too. I can't imagine that Safari would close simply because I don't have or want to upgrade to Yosemite. I am holding off on the upgrade for a bit, because I heard Final Cut Pro 7 can't be run on Yosemite. While I could partition my drive, I really don't want to. Mavericks is fine for right now :   )
    Okay sooooo...back to Safari...what the! Please help and thanks for any replies ahead of time!
    I Hope All Is Well In Your World :   )
    Nyna

    There's an Apple help page on the DNS problem - at http://support.apple.com/kb/TS3408
    The first thing to try is changing your DNS settings - and for that you need to open System Preferences, then the
    Network section.
    In Network - click  on Advanced - then the DNS tab
    under DNS servers - use the + button to enter two extra lines
    either these, from google dns
    8.8.8.8
    8.8.4.4
    or from OpenDNS
    208.67.222.222
    208.67.220.220
    then click OK & then 'Apply'
    You would need to do that seperately for the Cable (Ethernet) settings and Wireless (Airport)

  • How can I delay my MBP from hibernating until the lid has been closed for a set period of time?

    After extensive research, I have been unable to solve this problem and I'm hoping someone can explain this to me.   Everytime I close the lid on my 13-inch, Early 2011 Macbook Pro, it immediately starts to write to disk (solid light on the front) for several seconds until it finally goes into Hibernate mode (flashing light on the front).  The problem is, I frequently close the lid, then immediately reopen it within 15-30 seconds to resume typing or to add something I may have forgotten.   Each time I reopen the lid before the light has started flashing, the MBP wakes for a moment, and allows me to resume typing.  However, the Hibernation process has already begun and within 30 seconds, the screen goes blank.   I have to wake it AGAIN, which is very annoying.
    Based on my research, I could use pmset to change the hibernatemode to 0 (it is currently set at 3).   However, I dont wish to disable hibernate mode completely; I DO want it to save a hibernation image to disk if it happens to run out of battery, so that when I resume I havent lost anything.   
    I then researched using standby and standbydelay to attempt a delay of the write to disk when going into standby mode.   According to the pmset manual:
    standby causes kernel power management to automatically hibernate a machine after it has slept for a
         specified time period. This saves power while asleep
    standbydelay specifies the delay, in seconds, before writing the hibernation image to disk and powering
         off memory for Standby
    I then set these values as below, expecting the laptop to wait 4200 seconds (70 minutes) before trying to write to disk when I close the lid:
    standbydelay         4200
    standby              1
    Unfortunately, that did not work either.   If I close the lid, the light glows solid immediately (indicating it is writing to disk), and if I try to reopen the lid before it is done, it will wake and seem fine, then 30 seconds later it goes blank right in the middle of me typing something.   I usually have to click the mouse several times, or even the power button to re-wake it.  
    I do have InsomniaX installed, for when I want to close the lid and keep the machine awake permanently (while watching videos on airplay) and I have tried quitting that application to test this.  However, when I close/reopen the lid..the result is the same.   I cant keep InsomniaX enabled all the time, because it will never go to sleep when I truly want it to.   If I am not using InsomniaX, I just want to delay hibernation until he lid has been closed for a set period (say 15 minutes or more).  If I have not reopened the lid within that time, I want it to write to disk and go into hibernation mode.  And if the battery runs all the way out, I want it to go into hibernation mode before shutting down so I can recover.
    I would appreciate any help in solving this problem.  Also any insight as to why the standbydelay setting above did not work.   Thanks!

    Whats with the MBP lid? Dont close it ... if you're so concerned! Just go to System Preferences/Energy Saver and set it to how you like it.

  • Why i'm getting exception InvalidOperationException: Invoke or BeginInvoke cannot be called on a control until the window handle has been created ?

    I have a backgroundworker1 dowork event and inside:
    private void backgroundWorker1_DoWork(object sender, DoWorkEventArgs e)
    BackgroundWorker bgw = (BackgroundWorker)sender;
    if (bgw.CancellationPending == true)
    return;
    else
    this.BeginInvoke(new MethodInvoker(delegate
    timer1.Stop();
    Button1Code();
    timer1.Start();
    trackBar2.Enabled = false;
    trackBar1.Enabled = false;
    while (true)
    bitmaps = ImagesComparison.get_images_with_clouds(b1);
    for (int i = 0; i < bitmaps.Length; i++)
    ConvertTo1or8Bit.BitmapToGIF(bitmaps[i], @"c:\convertedgifs\" + i.ToString("D6") + ".gif");
    break;
    The exception is on the BeginInvoke part.
    In the last few days i was running the program many times and i didn't have this exception even once.
    And now every times i'm running it i'm getting the exception.
    System.InvalidOperationException was unhandled by user code
    HResult=-2146233079
    Message=Invoke or BeginInvoke cannot be called on a control until the window handle has been created.
    Source=System.Windows.Forms
    StackTrace:
    at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
    at System.Windows.Forms.Control.BeginInvoke(Delegate method, Object[] args)
    at System.Windows.Forms.Control.BeginInvoke(Delegate method)
    at mws.ScanningClouds.backgroundWorker1_DoWork(Object sender, DoWorkEventArgs e) in d:\C-Sharp\Download File\Downloading-File-Project-Version-012\Downloading File\ScanningClouds.cs:line 715
    at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
    at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
    InnerException:
    Line 715 is: this.BeginInvoke(new MethodInvoker(delegate

    Where are you starting the background worker from?  Possibly the constructor of the form?
    It would be greatly appreciated if you would mark any helpful entries as helpful and if the entry answers your question, please mark it with the Answer link.

  • [Sybase JDBC Driver]Object has been closed

    Hi,
    I am getting the following error when accessing a datasource in an EJB on Weblogic using the Data Direct Drivers.
    java.sql.SQLException: [DataDirect][Sybase JDBC Driver]Object has been closed.
    The code works every other time. the first time through it works the second time I get the error.
    Any insite would be appricated.
    Here is my code
    public String test(String id)
    System.out.println ("test1");
    DataSource ds = null;
    Connection conn = null;
    PreparedStatement stmt = null;
    PreparedStatement stmt2 = null;
    String ret = "?????";
    try
    System.out.println ("read data - prepare");
    InitialContext ic = new InitialContext();
    ds = (DataSource)ic.lookup("java:comp/env/jdbc/dataconn");
    conn = ds.getConnection();
    String sql = "SELECT * FROM myTable WHERE ID = ?";
    System.out.println ("read data - conn.prepareStatement(sql);");
    stmt = conn.prepareStatement(sql);
    stmt.setString(1, id);
    // stmt.setMaxRows(1000);
    System.out.println ("read data - stmt.executeQuery();");
    ResultSet rs = stmt.executeQuery();
    System.out.println ("read data - read");
    if(!rs.next())
    ret = "Not found";
    else
    ret = "found";
    sql = "UPDATE myTable SET column1 = column1 + 1 WHERE ID = ?";
    System.out.println ("update data - prepare");
    stmt2 = conn.prepareStatement(sql);
    stmt2.setString(1, id);
    ret = ret + stmt2.executeUpdate();
    System.out.println ("update data - update");
    catch(Exception e)
    e.printStackTrace();
    finally
    try
    stmt.close();
    catch(Exception exception1) { }
    try
    stmt2.close();
    catch(Exception exception1) { }
    try
    conn.close();
    catch(Exception exception1) { }
    stmt = null;
    stmt2 = null;
    conn = null;
    return ret;
    }

    Hi. What version of weblogic, and can you print the whole stacktrace?
    That way I'll know which object is already closed. This hints at an
    already-fixed bug, but I'm not sure yet... And tell me what happens
    if you close your result set after you do your call to next(). Lastly,
    you can save some DBMS traffic if you change the query to:
    "SELECT 1 FROM myTable WHERE ID = ?"
    Then regardless of how wide the table is, and whether the table data
    is in DBMS memory, as long as there's an index on ID, the query only
    needs to use the index, not the data page to answer. If there's an
    index entry for your ID value, you'll get one row with 1 in it, else
    nothing.
    thanks
    Joe
    Scot McReynolds wrote:
    Hi,
    I am getting the following error when accessing a datasource in an EJB on Weblogic using the Data Direct Drivers.
    java.sql.SQLException: [DataDirect][Sybase JDBC Driver]Object has been closed.
    The code works every other time. the first time through it works the second time I get the error.
    Any insite would be appricated.
    Here is my code
    public String test(String id)
    System.out.println ("test1");
    DataSource ds = null;
    Connection conn = null;
    PreparedStatement stmt = null;
    PreparedStatement stmt2 = null;
    String ret = "?????";
    try
    System.out.println ("read data - prepare");
    InitialContext ic = new InitialContext();
    ds = (DataSource)ic.lookup("java:comp/env/jdbc/dataconn");
    conn = ds.getConnection();
    String sql = "SELECT * FROM myTable WHERE ID = ?";
    System.out.println ("read data - conn.prepareStatement(sql);");
    stmt = conn.prepareStatement(sql);
    stmt.setString(1, id);
    // stmt.setMaxRows(1000);
    System.out.println ("read data - stmt.executeQuery();");
    ResultSet rs = stmt.executeQuery();
    System.out.println ("read data - read");
    if(!rs.next())
    ret = "Not found";
    else
    ret = "found";
    sql = "UPDATE myTable SET column1 = column1 + 1 WHERE ID = ?";
    System.out.println ("update data - prepare");
    stmt2 = conn.prepareStatement(sql);
    stmt2.setString(1, id);
    ret = ret + stmt2.executeUpdate();
    System.out.println ("update data - update");
    catch(Exception e)
    e.printStackTrace();
    finally
    try
    stmt.close();
    catch(Exception exception1) { }
    try
    stmt2.close();
    catch(Exception exception1) { }
    try
    conn.close();
    catch(Exception exception1) { }
    stmt = null;
    stmt2 = null;
    conn = null;
    return ret;

  • "Killapps.exe has stopped working and has been closed&qu

    My card was working fine until i tried to update my drivers today. Now, no matter what version driver I attempt to install I get the error message "Killap
    ps.
    exe has stopped working and has been closed." when it begins to install the drivers. I've attempted the beta driver, the latest stable driver, and even installing the drivers off the disk. I even tried using system restore to go back to before I attempted my first update today, only to have system restore fail!? I have an X-Fi Fatalty Champion card, and am running Vista Ultimate 32 bit. Now that this has occured, I'm stuck without sound. Before you even ask, yes, I'm using the disk labled for vista that came with my card. Window's built in sound drivers (which worked when i first plugged in the card before I even installed the software a few months ago), dont even attempt to kick in. Help? Please?!

    I was having the same problem.  Earlier in the week, I was able to drag a few photos to the upload folder and they synced correctly.  Yesteday, I dragged different photos, and I got the "applephotostream.exe has stopped working" error.
    The solution - for me, at least! - was to reduce the size of the pictures being uploaded to the photostream.  While all of the pictures were jpegs, the first set were ca. 800K (3800 x 2500), and the second set were ca. 2.5 MB (4000 x 2000).  When I reduced the resolution of the last set by a factor of 4 (ca. 600 K, 2000 x 1500), they uploaded without a hitch.
    Based on this admittedly sketchy experiment, it looks like Apple has a max picture size limit, apparently based on file size rather than picture resolution).  Perhaps < 1 MB?  To be rigorous, I should complete the experiment - leave the resolution of the second set of pictures alone and reduce file size by reducing jpeg quality. 
    Has anyone heard about a picture file size limit?

  • The Web Service plug-in failed in OrganizationId and Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation

    Hi All,We are receiving below errors in our production envrionment as The Web Service plug-in failed in OrganizationId: c28f361a-8111-e211-b7f2-68b599c03df8; SdkMessageProcessingStepId: 36ccbb1b-ea3e-db11-86a7-000a3a5473e8;
     1.EntityName: userquery; Stage: 30; MessageName: RetrieveMultiple;
    Exception: Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation
    Inner Exception: System.IndexOutOfRangeException: #TotalRecordCount
    <Data>Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
    Inner Exception: System.IndexOutOfRangeException: #TotalRecordCount
    2.EntityName: email; Stage: 30; MessageName: RetrieveMultiple
    Exception: Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation
    Inner Exception: System.NullReferenceException: Object reference not set to an instance of an object
    <Data>Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation
    Inner Exception: System.NullReferenceException: Object reference not set to an instance of an object.
    3.
    EntityName: plugintype; Stage: 30; MessageName: RetrieveMultiple;
    <Data>Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
    Inner Exception: System.InvalidOperationException: There is already an open DataReader associated with this Command which must be closed first.
    Exception: Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
    Inner Exception: System.InvalidOperationException: There is already an open DataReader associated with this Command which must be closed firstPlease give us idea on above issues.
    Natarajan.V

    Hi,
    What version of CRM you are using? Does this happen when you open the case record?
    We have faced the similar for Account record and was solved using below query. I am not sure about incident.
    Update ACC
    SET ACC.Merged = 0
    from AccountBase ACC
    WHERE ACC.merged is null
    Do you have case merge option enabled on incident entity? As per the MS it is enabled for CRM 2013 SP1 and CRM 2015.
    http://www.microsoft.com/en-us/dynamics/crm-customer-center/merge-similar-cases.aspx 
    Thanks!
    Kalim Khan

  • The PersistenceManager has been closed

    I am getting a strange exception. The stacktrace is as below.
    Caused By:
    kodo.util.FatalUserException: The PersistenceManager has been closed. The stack trace at which the PersistenceManager was closed is held in the embedded exception.
              atkodo.runtime.PersistenceManagerImpl.assertOpen(PersistenceManagerImpl.java:4429)
              atkodo.runtime.PersistenceManagerImpl.newQuery(PersistenceManagerImpl.java:3509)
              atkodo.runtime.PersistenceManagerImpl.newQuery(PersistenceManagerImpl.java:3497)
              atkodo.runtime.PersistenceManagerImpl.newQuery(PersistenceManagerImpl.java:3436)
              atkodo.runtime.PersistenceManagerImpl.newQuery(PersistenceManagerImpl.java:3442)
              atcom.capgroup.fpac.dat.rules.FCAcctRuleLibrary.read(FCAcctRuleLibrary.java:173)
                        atcom.capgroup.fpac.bst.hoaccount.FCHOAccountServiceImpl.getAllFCHOAccountModels(FCHOAccountServiceImpl.java:166)
              atcom.capgroup.fpac.bst.hoaccount.FCHOAccountServiceImpl.getAllFCHOAccountModels(FCHOAccountServiceImpl.java:134)
              atcom.capgroup.fpac.ejb.hoaccount.FCHOAccountServerBean.getAllFCHOAccountModels(FCHOAccountServerBean.java:108)
              atcom.capgroup.fpac.ejb.hoaccount.FCHOAccountServer_te2uuo_EOImpl.getAllFCHOAccountModels(FCHOAccountServer_te2uuo_EOImpl.java:154)
              atcom.capgroup.fpac.ejb.hoaccount.FCHOAccountServer_te2uuo_EOImpl_WLSkel.invoke(Unknown Source)
              atweblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:477)
              atweblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:108)
              atweblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
              atweblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
              atweblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
              atweblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
              atweblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
              atweblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
              atweblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    Caused By:
    kodo.util.UserException:
              atkodo.runtime.PersistenceManagerImpl.free(PersistenceManagerImpl.java:1826)
              atkodo.runtime.PersistenceManagerImpl.close(PersistenceManagerImpl.java:1746)
              atcom.capgroup.isa.dal.LibrarySession.close(LibrarySession.java:116)
              atcom.capgroup.fpac.ejb.order.FCOrderServerBean.newOrder(FCOrderServerBean.java:153)
              atcom.capgroup.fpac.ejb.order.FCOrderServer_4ija6o_EOImpl.newOrder(FCOrderServer_4ija6o_EOImpl.java:1450)
              atcom.capgroup.fpac.ejb.order.FCOrderServer_4ija6o_EOImpl_WLSkel.invoke(Unknown Source)
              atweblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:477)
              atweblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:108)
              atweblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
              atweblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
              atweblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
              atweblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
              atweblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
              atweblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
              atweblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    At the start of EJB call, we get a PersistenceManager and we use this PM throughout this call. In the "finally" section of the EJB call, we close the PM. The stacktrace doesn't make sense since pm.close is called only after the other queries have been executed. Also this exception doesn't occur everytime. It happens once in a while. And it doesnt always happen in the same call. Sometimes this exception is thrown when another ejb call is made. Can the same persistencemanager instance be returned to two ejb invocations at the same time? Does Kodo have a PM pool?
    Thanks in advance.
    Vinod

    This is Kodo 3.3.4. The issue is I don't know when this is happening. It doesn't happen always. One scenario when it happened always was this.
    I have a jsp page which does open a PM and close it in the end. This is a data setup page.
    My application is a Swing based application. Sometimes I get the exact same exception as in my original post, with the cause pointed to the pm.close() in the JSP page. BUT THESE ARE TOTALLY DIFFERENT CALLS WITH NO RELATION TO EACH OTHER.
    I temporarily solved it by commenting out pm.close() in the jsp page. But I am not sure whether this is the right solution. The stack trace is as below:
    com.bst.exception.FCOrderServiceException: Unrecoverable System Error has occurred, Please try after sometime.
         at com.bst.order.builder.FCManagerOrderModelBuilder.constructOrderModelForNewOrder(FCManagerOrderModelBuilder.java:328)
         at com.bst.order.builder.FCAbstractOrderModelBuilder.buildForNew(FCAbstractOrderModelBuilder.java:227)
         at com.bst.order.builder.FCAbstractOrderModelBuilder.buildForNew(FCAbstractOrderModelBuilder.java:131)
         at com.bst.order.FCOrderServiceImpl.newOrder(FCOrderServiceImpl.java:929)
         at com.ejb.order.FCOrderServerBean.newOrder(FCOrderServerBean.java:142)
         at com.ejb.order.FCOrderServer_4ija6o_EOImpl.newOrder(FCOrderServer_4ija6o_EOImpl.java:424)
         at com.ejb.order.FCOrderServer_4ija6o_EOImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:477)
         at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:108)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
         at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: kodo.util.FatalUserException: The PersistenceManager has been closed. The stack trace at which the PersistenceManager was closed is held in the embedded exception.
         at kodo.runtime.PersistenceManagerImpl.assertOpen(PersistenceManagerImpl.java:4429)
         at kodo.runtime.PersistenceManagerImpl.isActive(PersistenceManagerImpl.java:943)
         at kodo.runtime.StateManagerImpl.beforeRead(StateManagerImpl.java:885)
         at kodo.runtime.StateManagerImpl.isLoaded(StateManagerImpl.java:1348)
         at com.dat.relation.FCOpacManager.jdoGetmgrNumber(FCOpacManager.java)
         at com.dat.relation.FCOpacManager.getMgrNumber(FCOpacManager.java:89)
         at com.bst.order.builder.FCManagerOrderModelBuilder.getManagerOrderDetails(FCManagerOrderModelBuilder.java:371)
         at com.bst.order.builder.FCManagerOrderModelBuilder.constructOrderModelForNewOrder(FCManagerOrderModelBuilder.java:315)
         ... 15 more
    Caused by: kodo.util.UserException:
         at kodo.runtime.PersistenceManagerImpl.free(PersistenceManagerImpl.java:1826)
         at kodo.runtime.PersistenceManagerImpl.close(PersistenceManagerImpl.java:1746)
         at com.capgroup.isa.dal.LibrarySession.close(LibrarySession.java:116)
         at jsp_servlet.__dynamiclibrarysetloader._jspService(__dynamiclibrarysetloader.java:223)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:463)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6718)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
    The original call constructOrderModelForNewOrder is an EJB call from a Swing application. The root cause is shown from the JSP page.

  • SQLException  Object has been closed

    Hi!
    Brief description of my webapp:
    I have two pages, page1.jsp and page2.jsp.
    Page1 contains an row set (JdbcRowSetXImpl) with database information, some Text fields binded to the dbcolums and a Hyperlink pointing on page2.
    Page2 contains an row set (JdbcRowSetXImpl) with database information and shows the information in a Data Table.
    What do I want to do ?
    I want to open page2 from the Hyperlink in page1.
    If I open page2, using the Hyperlink in page1, in the same browser window everything works fine.
    Here is the problem:
    If I open page2, using the Hyperlink in page1, in a new browser window (with JavaScript onclick windows.open method) I sometimes get the error SQLException [Sun][Oracle JDBC Driver]Object has been closed, se *) below.
    How can i solv the problem and what am i doing wrong?
    /Regards Krister
    I[#|2004-10-13T10:44:24.914+0200|ALLVARLIG|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=12;|ApplicationDispatcher[/logviewer] Servlet.service() for servlet jsp threw exception
    javax.faces.FacesException: java.sql.SQLException: [Sun][Oracle JDBC Driver]Object has been closed.
         at com.sun.jsfcl.data.RowSetDataModel.synchronize(Unknown Source)
         at com.sun.jsfcl.data.RowSetDataModel.access$100(Unknown Source)
         at com.sun.jsfcl.data.RowSetDataModel$CachedRowSetListener.rowSetChanged(Unknown Source)
         at javax.sql.rowset.BaseRowSet.notifyRowSetChanged(BaseRowSet.java:653)
         at com.sun.sql.rowset.JdbcRowSetXImpl.execute(Unknown Source)
         at com.sun.jsfcl.data.RowSetDataModel.initialize(Unknown Source)
         at com.sun.jsfcl.data.RowSetDataModel.create(Unknown Source)
         at com.sun.jsfcl.data.RowSetDataModel.setRowIndex(Unknown Source)
         at javax.faces.component.UIData.setRowIndex(UIData.java:380)
    .....

    Hm - your rowset stuff sounds fine. I wish I knew more about the hyperlink components - what you're encountering sounds strange.
    Just one other rowset consideration, since that's where your error seems to come from - if a rowset is bound to a datatable component - your code should operate on the dataTableModel, not on the rowsets themselves.... (once the orginal binding is set in the constructor). Did you know about that? Not sure it is the root of your issue - just maybe related.
    v

  • I forgot my Apple ID password and I can't reset it because my email account has been closed and the security questions don't work

    I Forgot my Apple ID password and I can't reset it because the related email account has been closed and the security questions don't work! How do I solve this? Thank you.

    Click here and contact Apple.
    (113292)

  • Error: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. --- System.NullReferenceException: Object reference not set to an instance of an object

    Hi,
    (1) I am trying to get the data from a database table and import into a text file.
    (2) If the record set have the data then it runs ok
    (3) when the record set not having any data it is giving the below error
    Error: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object
    Could you please let me know why this is happening?
    Any help would be appriciated
    Thanks,
    SIV

    You might ask them over here.
    http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=vbgeneral%2Ccsharpgeneral%2Cvcgeneral&filter=alltypes&sort=lastpostdesc
    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

  • I bought pages ages ago using an iTunes account that no longer works as the email address has been closed down. How can I now update my Pages app, if it asks me to sign in using this now defunct email address?

    I bought Pages ages ago using an iTunes account that no longer works as the email address has been closed down. How can I now update my Pages app, if it asks me to sign in using this now defunct email address?

    All apps are always tied to the account from whaich they were purchased and will always have to be updated using that account.
    Just because the e-mail account is shut down, has nothing to do with the itunes account. Why did you create a new account?  Why not just change the e-mail associated with the old account?

Maybe you are looking for

  • IPhone 5s won't play any music but iTunes

    My iPhone 5s worked great until the first system update. Since I updated the phone I have only been able to play music on my phone that I bought from iTunes. All my other music (downloads and uploaded cd's) will not play on my iPhone. They play on ev

  • Disk problem persists after hard drive replaced

    I've recently inherited a Macbook Pro which proceeded to die almost immediately. It showed all the signs of hard disk failure - erratic crashing, sometimes failing to boot, hanging/going slow. Eventually it completely refused to boot, sometimes showi

  • About report preview

    Hi all when i press View Output (the report request's phase/status is completed/normal => OK ) the message of Browser is: http://x.xgames.org:2000/OA_CGI/FNDWRR.exe?temp_id=1808632377&login=APPLSYSPUB/PUB@PROD Content-type: text/plain Error connectin

  • Bildtitel gehen verloren

    Hallo, ich nutze Photoshop Elements 4.0. Im Organizer habe ich alle Bilder mit einem Bildtitel versehen. Wenn ich diese Bilder zu einer Diashow zusammenstelle, werden bei etwa einem Drittel der Bilder die Bildtitel nicht angezeigt. Bei den Diashow-Vo

  • My ipod is not synching with the new itunes.  Why?

    I don't know why they say this new itunes is so much easier.  I find that's not the case.  I never had a problem syncing my music before.  Now, it won't sync.  When I go to the sync page, it says remove all of my music, videos and movies and sync it.