Get an error when accessing the entry from the Backing Map directly

We are using some sample code from Oracle to access Objects associated via KeyAssociation directly from the Backing Map.
Occasionally we get the error posted below. Can someone shed light on what this error means ?
I'm doing a Get on the Backing Map directly.
Thanks,
J
An entry was inserted into the backing map for the partitioned cache "Customerl" that is not owned by this member; the entry will be removed.
ReadWriteBackingMap$5{ReadWriteBackingMap inserted: key=Binary(length=75, value=0x---binary key data removed ----), value=Binary(length=691, value=0x---binary value data removed---)), synthetic}
     at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$Storage.onBackingMapEvent(DistributedCache.CDB:152)
     at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$Storage$PrimaryListener.entryInserted(DistributedCache.CDB:1)
     at com.tangosol.util.MapEvent.dispatch(MapEvent.java:191)
     at com.tangosol.util.MapEvent.dispatch(MapEvent.java:164)
     at com.tangosol.util.MapListenerSupport.fireEvent(MapListenerSupport.java:556)
     at com.tangosol.net.cache.ReadWriteBackingMap$InternalMapListener.dispatch(ReadWriteBackingMap.java:2064)
     at com.tangosol.net.cache.ReadWriteBackingMap$InternalMapListener.entryInserted(ReadWriteBackingMap.java:1903)
     at com.tangosol.util.MapEvent.dispatch(MapEvent.java:191)
     at com.tangosol.util.MapEvent.dispatch(MapEvent.java:164)
     at com.tangosol.util.MapListenerSupport.fireEvent(MapListenerSupport.java:556)
     at com.tangosol.net.cache.OldCache.dispatchEvent(OldCache.java:1718)
     at com.tangosol.net.cache.OldCache$Entry.onAdd(OldCache.java:1786)
     at com.tangosol.util.SafeHashMap.put(SafeHashMap.java:244)
     at com.tangosol.net.cache.OldCache.put(OldCache.java:253)
     at com.tangosol.net.cache.OldCache.put(OldCache.java:221)
     at com.tangosol.net.cache.ReadWriteBackingMap.get(ReadWriteBackingMap.java:721)
     at

Here is the sample we adapted. We have adapted the code below to our specific Cache. I have highlighted the line that throws the exception, this exception doesnt occur all the time, saw it about 10 times yesterday and 2 times today.
import com.tangosol.net.BackingMapManagerContext;
import com.tangosol.net.CacheFactory;
import com.tangosol.net.CacheService;
import com.tangosol.net.DefaultConfigurableCacheFactory;
import com.tangosol.net.NamedCache;
import com.tangosol.util.Binary;
import com.tangosol.util.ClassHelper;
import com.tangosol.util.InvocableMap;
import com.tangosol.util.processor.AbstractProcessor;
import java.io.Serializable;
import java.util.Map;
* dimitri
public class Main extends AbstractProcessor
public static class Foo implements Serializable
String m_sFoo;
public String getFoo()
return m_sFoo;
public void setFoo(String sFoo)
m_sFoo = sFoo;
public String toString()
return "Foo[foo=" + m_sFoo + "]";
public static class Bar implements Serializable
String m_sBar;
public String getBar()
return m_sBar;
public void setBar(String sBar)
m_sBar = sBar;
public String toString()
return "Bar[bar=" + m_sBar + "]";
public Object process(InvocableMap.Entry entry)
try
// We are invoked on foo - update it.
Foo foo = (Foo) entry.getValue();
foo.setFoo(foo.getFoo() + " updated");
entry.setValue(foo);
// Now update Bar
Object oStorage = ClassHelper.invoke(entry, "getStorage", null);
CacheService service = (CacheService) ClassHelper.invoke(oStorage, "getService", null);
DefaultConfigurableCacheFactory.Manager bmm =
(DefaultConfigurableCacheFactory.Manager) service.getBackingMapManager();
BackingMapManagerContext ctx = bmm.getContext();
Map mapBack = bmm.getBackingMap("bar");
// Assume that the key is still the same - "test"
Binary binKey = (Binary) ctx.getKeyToInternalConverter().convert(entry.getKey());
Binary binValue = (Binary) mapBack.get(binKey);
// convert value from internal and update
Bar bar = (Bar) ctx.getValueFromInternalConverter().convert(binValue);
bar.setBar(bar.getBar() + " updated");
// update backing map
binValue = (Binary) ctx.getValueToInternalConverter().convert(bar);
mapBack.put(binKey, binValue);
catch (Throwable oops)
throw ensureRuntimeException(oops);
return null;
public static void main(String[] asArg)
try
NamedCache cacheFoo = CacheFactory.getCache("foo");
NamedCache cacheBar = CacheFactory.getCache("bar");
Foo foo = new Foo();
foo.setFoo("initial foo");
cacheFoo.put("test", foo);
Bar bar = new Bar();
bar.setBar("initial bar");
cacheBar.put("test", bar);
System.out.println(cacheFoo.get("test"));
System.out.println(cacheBar.get("test"));
cacheFoo.invoke("test", new Main());
System.out.println(cacheFoo.get("test"));
System.out.println(cacheBar.get("test"));
catch (Throwable oops)
err(oops);
finally
CacheFactory.shutdown();
}

Similar Messages

  • Get 400 error when accessing the Source from MySite sharepoint 2013

    we retrieving the recent  news feed from my site .Sometimes we are getting 400 bad request error.we have used rest json method toretrieve  the item from my site?any idea to resolve this issue?

    I'm not very familiar with Tuxedo unfortunately.
    I recommend that you post here:
    Could not get TuxedoConnectionFactory, setting up AP's incorrectly?
    You could also start with the code here:
    Where to Download weblogic.wtc.jatmi Library/Package
    And follow the instructions here:
    http://download.oracle.com/docs/cd/E21764_01/web.1111/e13756.pdf

  • I keep getting script errors when accessing Amazon Seller merchant pages. I get the following A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete. Script

    I keep getting script errors when accessing Amazon Seller merchant pages. I get the following A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete. Script: chrome://spautofill/content/spOverlay.js:150, I also get js210 as well. I have cleared all cookies and history and unistalled Firefaox and reinstalled. Been thru my AVS and set the site as trusted in every possible place. Still get the problem. Do not get it with IE on same PC.
    == URL of affected sites ==
    https://sellercentral.amazon.co.uk

    Same problem but with a different vendor site:
    https://www.webvitamins.com/myfavorites.aspx
    Not only does the page hang, but the other tabs also hang.
    I contacted the vendor and their reply was "we were told that this looks like a script that is used by "Sticky Password", third-party software that must have been installed on your browser. However, our website did not install it and does not have anything to do with it." As far as I can tell, "Sticky Password" is not installed on my Firefox.
    Same problem as above occurs, but with IE 8.0.6001.18702. Therefore, it is not unique to Firefox.
    CAUSE DETERMINED: Have determined that this problem only occurs when Kaspersky Password Manager is installed. In Firefox, if the "Password Manager Autofill Engine" add-on is disabled, the problem goes away.

  • More than maximum 5 filtered album lists trying to register. This will fail,Why i am getting this error when i pick video from Photo library.

    I am able to pick 4 videos from the Photo library in my iPhoneAPP but when i try to pick 5th one it throws an error:
    "More than maximum 5 filtered album lists trying to register. This will fail,Why i am getting this error when i pick video from Photo library."

    Hello Tate r Bulic
    I don't have any idea how to remove this error,can i pick more than 5 videos from the photo library...
    If it's then please help me and gimme idea..Thanks

  • I get this error when submitting the issue to DPS

    Hi am using Woodwing Enterprise to publish folios to the Adobe DPS and it has been okay, I have finished creating of a new issue and I get this error when submitting the issue to DPS : Adobe Distibution Server returned error while calling "createIssue". HTTP code: 401. HTTP message. " Unknown error.". Adobe results message: " Unauthorized for access. See logs for further details." Adobe results status: " UNAUTHORIZED." The DPS account was recently renewed

    Please contact gold support about this issue.

  • Bootcamp - I'm trying to install windows 8 on my MBPr but getting an error when partitioning the disk. 'An error occurred while partitioning the disk'

    I'm trying to install windows 8 on my MBPr but getting an error when partitioning the disk. 'An error occurred while partitioning the disk'

    You posted your Bootcamp question in the Macbook Pro forum. Your question has been asked and answered many times in the Bootcamp forum. https://discussions.apple.com/community/windows_software/boot_camp
    When you post in the Bootcamp forum include the complete and exact error message.

  • I am getting an error when resizing the Mac HD. I had a separate partition for Windows, but have deleted it and want to add the empty 50GB partition to my Mac HD.

    I am getting an error when resizing the Mac HD. I had a separate partition for Windows, but have deleted it and want to add the empty 50GB partition to my Mac HD.

    SparkchaserEd wrote:
    I am getting an error when resizing the Mac HD.
    What does this error say?

  • My phone keeps getting an error when downloading the new ios

    Even when i connect to itunes i keep getting an error when downloading the new os.  I have made 11 attempts.

    download is corrupt.  I finally solved it.  I had changed my password on my appleid and had not updated it in my phone.  After i got the same error on 3 different desktops i decided the error was in my phone and updated all my settings and the update worked the first time. 
    Thanks for your interest

  • Error when accessing Tuxedo Services from Weblogic

    Hi,
    I have a stateless session bean deployed on Weblogic 10.3.5 . I have a WTC Server configured to connect to my Tuxedo server.I have all the local and remote AP's set on this server also.
    Now I am trying to access Tuxedo server from a method in my deployed EJB. Method looks like this
    ========================================================================================
    Context ctx;
         TuxedoConnectionFactory tcf;
         TuxedoConnection myTux; // For now we get it via NEW until the Factory works
         TypedString myData;
         Reply myRtn;
         int status;
         System.out.println("getData called, converting " + toConvert);
         try {
         ctx = new InitialContext();
         tcf =
         (TuxedoConnectionFactory) ctx.lookup("TuxedoConnectionFactory");
         } catch (NamingException ne) {
         // Could not get the tuxedo object, throw TPENOENT
         throw new TPException(TPException.TPENOENT,
         "Could not get TuxedoConnectionFactory : " + ne);
         myTux = tcf.getTuxedoConnection();
         myData = new TypedString(toConvert);
         System.out.println("About to call tpcall");
         try {
         myRtn = myTux.tpcall("TOUPPER", myData, 0);
         } catch (TPReplyException tre) {
              System.out.println("tpcall threw TPReplyExcption " + tre);
         throw tre;
         } catch (TPException te) {
              System.out.println("tpcall threw TPException " + te);
         throw te;
         } catch (Exception ee) {
              System.out.println("tpcall threw exception: " + ee);
         throw new TPException(TPException.TPESYSTEM, "Exception: " + ee);
         System.out.println("tpcall successfull!");
         myData = (TypedString) myRtn.getReplyBuffer();
         myTux.tpterm(); // Closing the association with Tuxedo
    ========================================================================================
    I get following error when i call the above method from my client for EJB.
    ========================================================================================
    TPENOENT(6):0:0:TPED_MINVAL(0):QMNONE(0):0:Could not get TuxedoConnectionFactory : javax.naming.NameNotFoundException: Unable to resolve 'TuxedoConnectionFactory'. Resolved ''; remaining name 'TuxedoConnectionFactory'
         at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)
         at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:223)
         at sfsb3.ReplicableSFSB_6ri454_ReplicableSFSRemoteIntfImpl_1035_WLStub.getData(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:85)
         at $Proxy0.getData(Unknown Source)
         at test.TestDemoClient.main(TestDemoClient.java:37)
    ========================================================================================
    I need to resolve this quickly please.
    Thanks for any help
    Regards,
    Awais

    I'm not very familiar with Tuxedo unfortunately.
    I recommend that you post here:
    Could not get TuxedoConnectionFactory, setting up AP's incorrectly?
    You could also start with the code here:
    Where to Download weblogic.wtc.jatmi Library/Package
    And follow the instructions here:
    http://download.oracle.com/docs/cd/E21764_01/web.1111/e13756.pdf

  • I am getting an error when opening the organizer saying online services could not be initialized?

    I just installed photoshop elements 11 on my Mac and am receiving an error when opening the organizer.  It is stating that online services could not be initialized and that I need to reinstall.  I tried that and it is still coming up.  What do I do?

    How did you uninstall it?

  • I can't connect to Internet anymore (WIFI or Ethernet). This was working perfectly before. I don't get a proper IP address from my ADSL box and it seems there is a DNS error when accessing the Internet.

    I have an issue with my MacBook pro (MAC OS X 10.8.3) when trying to access Internet. I am behind an ADSL box (Orange). I have a PC on the same LAN which accesses Internet perfectly via the same Box.
    On the MAC, I have tried WIFI and Ethernet. And have same issue on both. I have checked the IP address (the ADSL box is a DHCP server) but the MAC doesn't get a proper IP and network mask I tried a manual IP address setup and it doesn't get better. I have setup the DNS servers for my Internet provider, but I get DNS error. I have tried 2 Internet browsers (Chrome and Safari), both have the same issue.
    I tried to put my MAC on a different ADSL box (I have 2 acccesses with 2 providers at home) and get the same issue.
    I also noticed a havy CPU load on the mDNSResponder process (at least 30%). I have restarted it, but no improvement.
    Last, I have repared the permissions.
    From those trials, it seems that the problem is on the Mac side. But I am completelly without any new idea, so I need help
    Thanks

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, or by a peripheral device. 
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. Note: If FileVault is enabled, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including Wi-Fi on certain iMacs. The next normal boot may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin. Test while in safe mode. Same problem? After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.

  • Why am I getting an error while accessing the service pop up when I try to convert a doc from pdf to a doc?

    I keep getting a pop up of "error while trying to access the service" when I am trying to convert a pdf to a doc?

    Hi snork8253,
    Please let me know the exact workflow you are following when you get this error.
    Are you trying to convert from within Reader or from Browser?
    If from Reader then make sure you are signed in within Reader
    Also try updating Reader to the latest v11.0.09 and check.
    Regards,
    Florence

  • Getting a java error when accessing the /nwa url

    Hi.
    We've recently updated our netweaver portal and application server from SPS19 to SPS21.
    Now we receive an error message when try to open the url http://<server>/nwa. After entering the credentials we get
      500   Internal Server Error
      SAP J2EE Engine/7.00
      Application error occurred during request processing.
      Details:   java.lang.NoSuchMethodError: com/sap/security/core/util/imp/LogonUtils.decryptURL(Ljava/lang/String;)Ljava/lang/String;
    Exception id: [000D600ADD7B003400000283000D007A000484CF7CDC6E88]
    Any suggestions?
    Thanks.
    Ralph.

    Hi.
    The installation worked without any problems. No error messages during the update process.
    The default trace gives
    application [logon] Processing HTTP request to servlet [LogonServlet] finished with error. The error is: java.lang.NoSuchMethodError: com/sap/security/core/util/imp/LogonUtils.decryptURL(Ljava/lang/String;)Ljava/lang/String;
    at com.sap.security.core.logonadmin.ServletAccessToLogic.sendRedirect(ServletAccessToLogic.java:242)
    at com.sap.security.core.sapmimp.logon.SAPMLogonLogic.doLogon(SAPMLogonLogic.java:916)
    at com.sap.security.core.sapmimp.logon.SAPMLogonLogic.uidPasswordLogon(SAPMLogonLogic.java:578)
    at com.sap.security.core.sapmimp.logon.SAPMLogonLogic.executeRequest(SAPMLogonLogic.java:158)
    at com.sap.security.core.sapmimp.logon.SAPMLogonServlet.doPost(SAPMLogonServlet.java:60)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(AccessController.java:219)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    Any suggestions on this?
    Thanks.
    Ralph.

  • Error when accessing the "Org unit" link from iview "Who's who"

    Hi all,
    In our ESS/MSS implementation we have come across to a strange error:
    In the master iview u201CWhou2019s whou201D when trying to access the link for the org unit we receive the following error:
    Service EMPLOYEE_ORGCHART_SERVICE does not exist.     
    Indeed the respective service does not exists nor the resources. We have ECC 5.0 and EP 7.0. We were unable so far to find the right (or dedicated)  resources/services for this.
    Any helps are much appreciated.
    Thanks,
    Eugen

    Hi Eugen,
    Probably these threads can help you.
    Error "Service EMPLOYEE_ORGCHART_SERVICE does not exist." in ESS.
    ESS Who's Who - remove link from Org Unit
    Good Luck!
    Sandeep Tudumu

  • Why do I get this error when specifying a parameter from the URL?

    Hello,
    I am trying to "install" a parameter in a page, so that it's value can be specified in the URL and a VO updated according to this value.
    Here's is the page definition file, with an executable and a binding to a method call:
    <executables>
    <invokeAction Binds="prepareMainMenuView1" id="invokeQuery"
    Refresh="prepareModel"/>
    </executables>
    <methodAction id="prepareMainMenuView1"
    InstanceName="AppModuleDataControl.dataProvider"
    DataControl="AppModuleDataControl" RequiresUpdateModel="true"
    Action="invokeMethod" MethodName="prepareMainMenuView1"
    IsViewObjectMethod="true">
    <NamedData NDName="param" NDValue="#{param.root_menu}"
    NDType="java.lang.String"/>
    </methodAction>
    if I run the MyMenu application with:
    http://127.0.0.1:7101/MyMenu-ViewController-context-root/faces/menu?root_menu=anything
    then I get this exception:
    ADF: Adding the following JSF error message: String index out of range: -1
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
    Do you know why? Where do I fail?
    I followed the isntruction here:
    http://www.jasonsdevelopercorner.com/?p=65
    So far I have not been able to read a parameter in a way, do you have any example on how can I use parameters from URL from within a single page in an unbounded task flow?
    I worked all the day on this, but with no luck.
    Thanks

    I solved the problem. The invoked method was not part of the VO, but was part of the AM.

Maybe you are looking for