NullPointerException when using an aggregator

Hello

There seems to be a problem with the way my cache is configured and the way it handles an aggregator.

By operating the aggregator of my UT on my local machine, it seems to pay the fine; However, when my aggregator is executed on a cache outside my test JAVA virtual machine, and then the next NullPointerException is thrown.

It really seems that the external cache may not have required dependencies, which would naturally exist when the cache is started on the FMV of the test.

It seems that there may be a simple solution, but for the moment I don't understand.

Thank you in advance, please
Mike Menne

Portable (com.tangosol.util.WrapperException): (Wrapped: execution of requests that have failed for the maintenance DistributedCache member (Id = 1, Timestamp is 2011-06-30 10:44:45.942, address = 10.29.9.91:8088, MachineId = 7771, Location = site: na musician. - .com, machine: na1000-lasch2, process: 5628, role = IntellijRtExecutionAppMain)) null
at com.tangosol.util.Base.ensureRuntimeException(Base.java:293)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.tagException(Grid.CDB:36)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache.onAggregateFilterRequest(PartitionedCache.CDB:67)
to com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$ AggregateFilterRequest.run (PartitionedCache.CDB:1)
to com.tangosol.coherence.component.util.DaemonPool$ WrapperTask.run (DaemonPool.CDB:1)
to com.tangosol.coherence.component.util.DaemonPool$ WrapperTask.run (DaemonPool.CDB:32)
to com.tangosol.coherence.component.util.DaemonPool$ Daemon.onNotify (DaemonPool.CDB:63)
at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
at java.lang.Thread.run(Thread.java:619)
the limit of <>process
at com.tangosol.io.pof.ThrowablePofSerializer.deserialize(ThrowablePofSerializer.java:57)
at com.tangosol.io.pof.PofBufferReader.readAsObject(PofBufferReader.java:3306)
at com.tangosol.io.pof.PofBufferReader.readObject(PofBufferReader.java:2603)
at com.tangosol.coherence.component.net.extend.message.Response.readExternal(Response.CDB:20)
at com.tangosol.coherence.component.net.extend.Codec.decode(Codec.CDB:29)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Peer.decodeMessage(Peer.CDB:25)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Peer.onNotify(Peer.CDB:47)
at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
at java.lang.Thread.run(Thread.java:619)
Caused by: Portable (java.lang.NullPointerException)
at com.tangosol.util.InvocableMapHelper.extractFromEntry(InvocableMapHelper.java:294)
to com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$ Storage$ BinaryEntry.extract (PartitionedCache.CDB:32)
at com.tangosol.util.aggregator.AbstractAggregator.processEntry(AbstractAggregator.java:107)
at com.tangosol.util.aggregator.AbstractAggregator.aggregate(AbstractAggregator.java:94)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache.onAggregateFilterRequest(PartitionedCache.CDB:46)
to com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$ AggregateFilterRequest.run (PartitionedCache.CDB:1)
to com.tangosol.coherence.component.util.DaemonPool$ WrapperTask.run (DaemonPool.CDB:1)
to com.tangosol.coherence.component.util.DaemonPool$ WrapperTask.run (DaemonPool.CDB:32)
to com.tangosol.coherence.component.util.DaemonPool$ Daemon.onNotify (DaemonPool.CDB:63)
at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
at java.lang.Thread.run(Thread.java:619)
the limit of <>process
at com.tangosol.io.pof.ThrowablePofSerializer.deserialize(ThrowablePofSerializer.java:57)
at com.tangosol.io.pof.PofBufferReader.readAsObject(PofBufferReader.java:3306)
at com.tangosol.io.pof.PofBufferReader.readObject(PofBufferReader.java:2603)
at com.tangosol.io.pof.PortableException.readExternal(PortableException.java:150)
at com.tangosol.io.pof.ThrowablePofSerializer.deserialize(ThrowablePofSerializer.java:58)
at com.tangosol.io.pof.PofBufferReader.readAsObject(PofBufferReader.java:3306)
at com.tangosol.io.pof.PofBufferReader.readObject(PofBufferReader.java:2603)
at com.tangosol.coherence.component.net.extend.message.Response.readExternal(Response.CDB:20)
at com.tangosol.coherence.component.net.extend.Codec.decode(Codec.CDB:29)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Peer.decodeMessage(Peer.CDB:25)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Peer.onNotify(Peer.CDB:47)
at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
at java.lang.Thread.run(Thread.java:619)

Published by: 869517 on July 6, 2011 10:03

Hello

This looks like it could be due to an incorrect serialization/deserialization for your personalized aggregator. The reason that this works very well within the JVM is that coherence should not serialize the message in this case and that it is able to route locally to the thread of the service hides.

Thank you
-Rob

Tags: Fusion Middleware

Similar Questions

  • NullPointerException when using::InsertRow()

    Hello

    I'm trying to add a record to a table in the database and I am getting Nullpointerexception when executing an insert to help : InsertRow().

    The use case:

    Database table I am trying to insert records in it called someTable.

    This table contains the following attributes: A, B, C, D, E

    the primary key is a combination of three areas: a. B, C

    I am running the following code to insert a new record into someTabletable:

    AppModuleImpl appModule = (AppModuleImpl)(JSFUtils.getApplicationModule("AppModuleDataControl"));
            ViewObject someTableVO =appModule.findViewObject("someTableView1");        
           
    
         
            Row row= someTableVO.createRow();
           
            row.setAttribute("A", variable1);
            row.setAttribute("B", variable2);
            row.setAttribute("C", variable3);
            row.setAttribute("D", variable4);
           
           
           
    
    
            someTableVO.insertRow(row); // This statement cause the NullPointerException
    
      appModule.getDBTransaction().commit();
    
            
            someTableVO.executeQuery(); 
    
    

    Note:

    1. There is none Null no don't force exept for ofcourse primary key, and I'm adding data for all fields of primry key.

    2. I'm not insert data for class E as you can see it form the example code above. But even when I tried to add value in, still gives me the same error.

    3. I'm sure that the variables ( variable1 ... ( variable4) are not null.

    4. I get the right view object someTableView1

    5. I use the ADF with Jdevelopr 11.1.2.3 technology

    Problem solved

    I should post the lines before committing as follows:

    AppModuleImpl appModule = (AppModuleImpl)(JSFUtils.getApplicationModule("AppModuleDataControl"));
            ViewObject someTableVO =appModule.findViewObject("someTableView1");          
    
            Row row= someTableVO.createRow();  
    
            row.setAttribute("A", variable1);
            row.setAttribute("B", variable2);
            row.setAttribute("C", variable3);
            row.setAttribute("D", variable4);  
    
            someTableVO.insertRow(row); 
    
      row.validate(); // This statement solved the problem
    
      appModule.getDBTransaction().commit();  
    
            someTableVO.executeQuery();
    
  • Caching returns a java.lang.NullPointerException when used with the saml token client strategy

    Hi all

    Not sure if anyone has faced this problem earlier.

    I work with Oracle Service Bus, creating a SOAP Service. I use GOSA policies with my services to businesses (oracle/wss10_saml_token_with_Message_integrity_client_policy).

    Problem: I want to use caching when you call the services in the background as the change from rarely to answer. When I use the service, it works perfectly well for the first time, but the next time that it returns just a

    -Error message:

    null

    java.lang.NullPointerException

    at com.bea.wli.sb.security.wss.WssHandlerImpl.doOutboundResponse(WssHandlerImpl.java:1057)

    at com.bea.wli.sb.context.BindingLayerImpl.addResponse(BindingLayerImpl.java:736)

    to com.bea.wli.sb.pipeline.PipelineContextImpl$ SynchronousListener.onReceiveResponse (PipelineContextImpl.java:1456)

    at com.bea.wli.sb.pipeline.resultcache.ServiceResultCachingCallback.run(ServiceResultCachingCallback.java:50)

    at weblogic.work.ContextWrap.run(ContextWrap.java:41)

    Truncated. check the log file full stacktrace

    >

    I can't change the policy as my communication brake from the backend. Please let me know if there is anyway I can prevent that or is this a bug with Oracle services.

    Thank you guys. Found the "16165934" Patch for this problem.

  • NullPointerException when using table of trinidad

    I use the table of the Trinity as below with delete button

    < tr:form >
    < inlineStyle = tr:panelFormLayout ' height: 334px; ">
    < f: facet = 'footer' name / >
    < tr:table value = "#{bindings." Var UserFavoriteVO.collectionModel}"="row ".
    lines = ' #{bindings. " UserFavoriteVO.rangeSize}"binding * =" #{UserActionBean.table1} "*.
    emptyText = "#{bindings." UserFavoriteVO.viewable? "{"No line yet.":"Access Denied."}"
    selectedRowKeys = ' #{bindings. " UserFavoriteVO.collectionModel.selectedRow}.
    selectionListener = "#{bindings." UserFavoriteVO.collectionModel.makeCurrent}.
    rowSelection 'multiple' = >
    < tr:column sortProperty = "favoriteContent" sortable = "false".
    headerText = "#{bindings." UserFavoriteVO.hints.favoriteContent.label} ">"
    < tr:inputText value = "#{row.bindings.favoriteContent.inputValue} '"
    simple = 'true '.
    required = "#{bindings." UserFavoriteVO.hints.favoriteContent.mandatory}.
    columns = "#{bindings." UserFavoriteVO.hints.favoriteContent.displayWidth}.
    maximumLength = "#{bindings." UserFavoriteVO.hints.favoriteContent.precision} ">"
    < f: validator binding="#{row.bindings.favoriteContent.validator}"/ >
    < / tr:inputText >
    < / tr:column >
    ...
    ...
    < text af:commandButton = actionListener * = "#{UserActionBean.performDelete} *" / "Delete" >


    UserActionBean:

    private UIXTable table1;
    public void setTable1 (UIXTable table1) {}
    This.Table1 = table1;
    }

    public UIXTable getTable1() {}
    Return table1;
    }

    public void performDelete (ActionEvent action)
    {
    ...
    ...
    }


    When I click on the button Delete I'm below the exception. I even tried a ti debug but unable to reach Perforemdelete (ActionEvent action) method.

    Root cause]] of ServletException.
    java.lang.NullPointerException
    at org.apache.myfaces.trinidad.model.RowKeySet.add(RowKeySet.java:129)
    at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.table.TableSelectManyRenderer._setDeltas(TableSelectManyRenderer.java:161)
    at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.table.TableSelectManyRenderer.decode(TableSelectManyRenderer.java:113)
    at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.TableRenderer.decodeSelection(TableRenderer.java:138)
    at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.TableRenderer.decode(TableRenderer.java:102)
    Truncated. check the log file full stacktrace
    >

    Lete me know where is the problem
    Thanks for any help

    Several choices and makecurrent doen't make sense.

    ...selectionListener="#{bindings.UserFavoriteVO.collectionModel.makeCurrent}"
    rowSelection="multiple">...
    

    try to remove the selectionListener in your table. You can remove the selectedRowKeys also...

    Timo

  • How to choose a skin when using the aggregator?

    I write a tutorial that I put in the aggregator. (I use 6 Captivate). Everything is perfect, but I want to change the skin of generic. I know that it is possible that someone has done it for the last done tutorial. Any suggestions? (Here's my boring table of contents)

    untitled.JPG

    Hello

    For this by modifying one of the projects used, then by defining as that of using the Aggreagator. Do not have it open for the time being, but I remember correctly, it will appear in the list with a green font dark to indicate which is the one that will be used.

    See you soon... Rick

  • Aggregation in IR works incorrectly when using calculated columns breaks

    I have a problem with the aggregation in IR when using stops on calculated columns.

    Please see the exact steps to reproduce the problem in my next post below

    Martin

    Published by: Martin Krepelka, October 22, 2008 11:18

    Martin,

    I filed a bug about the problem you are having. The problem is when you control break on a calculated column with defined format mask and aggregates, the aggregate information is not displayed correctly. When I run the interactive report in debug mode, I see that analytical for aggregated information function partitions incorrectly. Using your example:

    IR runs this query to get the counts for each month of posting:

    count("AMOUNT") over (partition by "POSTING_DATE")
    

    Instead, it should run this query:

    count("AMOUNT") over (partition by to_char("POSTING_DATE",'RRRR/MM'))
    

    To work around the problem, you can change the calculation month without the format mask view and set to_char(F,'RRRR/MM'). Aggregates will display correctly.

    Christina

  • NullPointerException when getting the serial port.

    Hello

    I use the comm.jar to get the serial port, but failed.

    Error log:
    java.lang.NullPointerException: name cannot be null
    at java.io.FilePermission.init(FilePermission.java:171)
    to java.io.FilePermission. < init > (FilePermission.java:249)
    at java.lang.SecurityManager.checkDelete(SecurityManager.java:990)
    at javax.comm.CommPortIdentifier.getPortIdentifiers(CommPortIdentifier.java:24)

    I check the code in comm.jar.

    public static enumeration getPortIdentifiers()
    {
    SecurityManager securitymanager = System.getSecurityManager ();
    If (securitymanager! = null)
    securitymanager.checkDelete (propfilename);
    return new CommPortEnumerator();
    }

    Because securitymanager is not null, call checkDelete (propfilename). If securitymanager is null, all is well.

    Issues related to the:
    1. What is the function of the SecurityManager here, is the default value of null?
    2.i put the comm.jar in my class path, see also the win32com.dll file. But what is the cause of the error?

    Thanks in advance!

    Duplicate of NullPointerException when getting sΘrie

    Please post questions only once. It is impolite to post several times.

  • screen saver turns on when using FaceTime

    Since the update to MAC OS Sierra, I noticed that my screensaver activates when using FaceTime - most annoying because I have to quickly move the mouse to put it all again.

    He didn't get it until I've updated from El capitan, so I guess it's something to do with MacOS Sierra.

    He's not doing it with Youtube but I'm still trying with Skype.

    Screen saver works as it should do it with an ordinary application (for example, safari, etc.) Pages) if I don't move the mouse or keyboard for the specified time (five minutes).

    I do not have hot set of corners, the display is set on turn off (energy prefs is system) after 10 minutes. Screen saver is five minutes of inactivity.

    I have an iMac 27 "retina, first generation (a little less than two years) with i5 and 16 gig memory, standard graphics M290X.

    I missed easy adjustment here?

    I have it, feel also my parents as well.

  • Why can I never get a good picture on my imac when using Skype?

    Why can I never get a good picture on my imac when using Skype?

    I use the free Skype to talk to my friend in China every week. They always see me on their computer or phone clearly, but I can never get a good video of them, clues why? I see a good image of myself, but never of them. I can't adjust the settings of the built-in camera because they are fixed. Is this my router modem, which is 8 years old now. What is causing this problem. If you look on YouTube there are hundreds and thousands of good quality webcam videos then why am I having this eternal problem year after year? I've got El Capitan OSX

    If they can see you clearly, the problem is not on your side - at least not in your Mac. Could be the router or you internet connection. Otherwise: https://support.skype.com/en/skype/mac/

  • When using on the part of the family can they others besides Organizer individual payments?

    When using on the part of the family can others besides the Organizer make individual payments without using the card of the organizers?

    Family sharing makes it easy for up to 6 people in your family share each other iBooks, iTunes and App Store purchases without sharing accounts.

    "Pay for purchases with the same credit card families and approve kids' expenses directly from the device of a parent." And share photos, a family calendar and more to help keep everyone connected. »

    Implement the family sharing - Apple Support

  • Where do I put the AutoFill feature when using Firefox?

    You people do a great job of describing 'How to use Auto Fill'... but nowhere in this article does say WHERE - to implement the feature when using Firefox.

    How and where can I find the setting?

    Thank you.

    PS: maybe that should be in the article somewhere.

    What about filling the data in a form (input field) on a web page?

    See:

  • Distortions of the screen when using Firefox on Android

    Hi, a recurring problem - when using Firefox on my Android Web site, are often distorted. If I try to zoom before to increase the size of police or image during playback, the screen breaks and distorts, with different sections of text and images disappear (black sections of the screen appear) or overlapping, often in a different font sizes. The Web site displayed on the screen as "jumps around." The same thing happens if I try to select text for copy - it is impossible to select all or selection is distorted. I have not had this problem before and noticed only recently. Almost impossible to use the browser now! What is the result of an automatic update of the software? Help, please! Thank you.

    Please try to update to Firefox 38.

  • Strange glitch Visual on the taskbar when using Firefox

    Hello

    I feel a strange glitch Visual on the taskbar when using firefox.

    Please take a look at this short video because it shows the problem, it's almost impossible to show in pictures.

    https://DL.dropboxusercontent.com/u/12595174/VIDEO0016.3gp

    I use firefox on Windows 7 Pro 64 bit v36.0.1. Video card is an ASUS R9 280 X using the latest drivers from AMD 14.12 Catalyst Omega Software.

    Motherboard is an ASUS M5A88 with 16 GB of ram and a processor of 6300 FX.

    It is a new construction that I have implemented in the last 24 hours, and this behavior was not present on the system using the same version of windows, firefox and even map chart and drivers. But on another card mother and CPU. Previous Board of Directors has been
    M4A79XTD EVO with a Phenom II X 4 955BE.

    The glitching does not occur when it is on the desktop and firefox is closed. It will not occur when you use IE - 64 nor does it when I am using the steam software or any Explorer windows/opening files.

    All the motherboard drivers are installed correctly, the integrated graphics card is disabled in the BIOS. I disabled the settings of firefox for hardware acceleration, smooth scrolling and text... to see if it was the question. It wasn't.

    I'd appreciate any help to solve this... Really, I don't want to use a different browser but it's bad enough and quite distracting to really annoy me, and I don't see any alternative.

    Thank you very much.
    H

    Hi jscher2000

    I was about to post a reply, because a friend suggested that maybe that's a rendering of issue rather than a firefox one video card even if it's strange how it affected firefox only. I didn't have a chance to test it on Chrome as it is a new construction and I don't want to install the software, I do not use.

    I went to the Manager of catalyst and had a glance to the settings. I changed something, but no help... I then started to make a simple change and test until I found that the activation "gpu up-scaling" in the properties of digital flat screens has solved the problem.

    I am now free twinkle

    Thanks for your quick response however.

  • Outlook has started to get a connection not approved when using firefox

    Outlook started having no reliable connection error when using firefox. Not sure why it started, but all the few minutes that it times out and I have to re - open outlook from google. He does not receive this error on IE or firefox android. I use win 7. I talked with microsoft and they say it's a problem of firefox not outlook.

    I tried the things:
    -Updated firefox
    -Updated antivirus
    -antivirus scans
    -disable the anti-virus
    -from firefox in safe mode.
    -clear all the cache and history
    -Disable all add-ons
    -system restore
    -past by mistake "untrusted connection" on the help of mozilla (does not solve it. There is no option to allow the certificate)
    -search on the net for a similar problem (found nothing)

    So far, it has been like this for a week and its starting to piss me off as it happened out of the blue.

    I solved the problem for someone else who has the same problem.

    Options - troubleshooting information - reset firefox

  • When using YouTube, I get foreign on-screen words. This does not happen with Safari.

    When using YouTube, I get foreign on-screen words. This does not happen with Safari.

    Clear the cache and cookies only from Web sites that are causing problems.

    "Clear the Cache":

    • Firefox > Preferences > advanced > network > content caching Web: 'clear now '.

    'Delete Cookies' sites causing problems:

    • Firefox > Preferences > privacy > Cookies: "show the Cookies".

    You can write a check for corrupted fonts and duplicate and other police issues:

Maybe you are looking for