Giter Site home page Giter Site logo

gridkit's People

gridkit's Issues

Delay update queue seems to have defects

Peformance behavior of delay update queue for index is strange, need to 
investigate.

Original issue reported on code.google.com by alexey.ragozin on 22 Jul 2010 at 6:17

Exception deserializing large ArrayLists

What steps will reproduce the problem?
1. I have an Array List woth 20,000+ items
2. Place List in the grid with a key
3. Extract the ArrayList from the Grid

What is the expected output? 
An ArrayList with the same size and elements in the List

What do you see instead?
Exception in thread "main" (Wrapped) java.io.IOException: Deserialization 
failed, format CollectionFormat(public java.util.ArrayList())
    at com.tangosol.util.ExternalizableHelper.fromBinary(ExternalizableHelper.java:266)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$ConverterFromBinary.convert(PartitionedCache.CDB:4)
    at com.tangosol.util.ConverterCollections$AbstractConverterEntry.getValue(ConverterCollections.java:3548)
    at com.sesco.bd.bdcache.bdcache_Node.selectNodesForMarketDay(bdcache_Node.java:38)
    at com.sesco.bd.bdcache.bdcache_Node.main(bdcache_Node.java:62)
Caused by: java.io.IOException: Deserialization failed, format 
CollectionFormat(public java.util.ArrayList())
    at org.gridkit.coherence.utils.pof.ReflectionPofSerializer.internalDeserialize(ReflectionPofSerializer.java:116)
    at org.gridkit.coherence.utils.pof.ReflectionPofSerializer.deserialize(ReflectionPofSerializer.java:103)
    at com.tangosol.io.pof.PofBufferReader.readAsObject(PofBufferReader.java:3316)
    at com.tangosol.io.pof.PofBufferReader.readObject(PofBufferReader.java:2604)
    at com.tangosol.io.pof.ConfigurablePofContext.deserialize(ConfigurablePofContext.java:368)
    at com.tangosol.util.ExternalizableHelper.deserializeInternal(ExternalizableHelper.java:2746)
    at com.tangosol.util.ExternalizableHelper.fromBinary(ExternalizableHelper.java:262)
    ... 4 more
Caused by: java.io.IOException: Failed to deserialize java.util.ArrayList 
instance
    at org.gridkit.coherence.utils.pof.ReflectionPofSerializer$CollectionSerializer.deserialize(ReflectionPofSerializer.java:327)
    at org.gridkit.coherence.utils.pof.ReflectionPofSerializer.internalDeserialize(ReflectionPofSerializer.java:112)
    ... 10 more
Caused by: java.lang.ArrayIndexOutOfBoundsException: 10
    at java.util.ArrayList.clear(ArrayList.java:453)
    at org.gridkit.coherence.utils.pof.ReflectionPofSerializer$CollectionSerializer.deserialize(ReflectionPofSerializer.java:315)
    ... 11 more


What version of the product are you using? On what operating system?
Downloaded source as of 3/16/2013

Please provide any additional information below.

This occurs at 
             //this is workaround for incorrect transient markers usage in ArrayList

                    col.clear();

I found if I placed in the following code, it prevents the 
ArrayIndexOutOfBoundsException
                    if(col instanceof ArrayList){
                        ((ArrayList)col).ensureCapacity(col.size());
                    }

Perhaps not the cleanest solution but, works for me.

Original issue reported on code.google.com by [email protected] on 18 Mar 2013 at 5:06

Every link to source files is broken at https://code.google.com/p/gridkit/wiki/NanoCloudTutorial

Broken links:
http://code.google.com/p/gridkit/source/browse/grid-lab/trunk/examples/nanocloud
-getting-started-1/src/test/java/org/gridkit/lab/examples/nanocloud/StartingWith
LocalCloud.java
http://code.google.com/p/gridkit/source/browse/grid-lab/trunk/examples/nanocloud
-getting-started-1/src/test/java/org/gridkit/lab/examples/nanocloud/StartingWith
DistributedCloud.java

and others.

Original issue reported on code.google.com by [email protected] on 8 Mar 2014 at 12:10

Eager initialization for service scheme

If default-lazy-init context attribute is set to true there is no way to set it 
to false for service scheme beans declared with custom xml tags (e.g. 
distributed-service-scheme)

Original issue reported on code.google.com by [email protected] on 16 Aug 2010 at 12:41

How to run a JavaAgent on nodes?

Hi.
How can I specify a Java agent to run on a node? I know I can use 
JvmProps.addJvmArg, but how can I get the path for the agent's jar?

Original issue reported on code.google.com by [email protected] on 22 May 2014 at 3:27

Unable to cache javax.script.CompiledScript using AutoPofSerializer

What steps will reproduce the problem?
1. Clone github repo https://github.com/firefoxNX/cacheCompiledScript
2. Run

What is the expected output? What do you see instead?
I am getting java.lang.StackOverflowError
    at com.tangosol.io.pof.PofBufferWriter$UserTypeWriter.isEvolvable(PofBufferWriter.java:2753)
    at com.tangosol.io.pof.PofBufferWriter$UserTypeWriter.isEvolvable(PofBufferWriter.java:2753)

What version of the product are you using? On what operating system?
Oracle Coherence 3.7.1 with ver 1.4 of reflection-pof-serializer. See pom.xml

- vineet

Original issue reported on code.google.com by [email protected] on 14 May 2014 at 5:35

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.