Code Monkey home page Code Monkey logo

Comments (11)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
If the process is dying, it might be it is cloning a native object or runs out 
of memory or out of stack (in linux i noticed out of stack can sometimes crash 
the jvm). Can you enable debug (cloner.setdebug) and have a look on what gets 
cloned? And maybe also increase thread stack space.

Original comment by [email protected] on 19 Jun 2014 at 11:12

from cloning.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
I could not able to find cloner.setdebug method in the API, can you please 
suggest

Original comment by [email protected] on 19 Jun 2014 at 12:04

from cloning.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
Well, I did not turned debuger on, but I saw a fatal error in SSL exception in 
the Logger. This only happens after we introduce this Clonner bit. When we 
comment this clone bit we do not have any issue, running properly. 

Original comment by [email protected] on 19 Jun 2014 at 12:24

from cloning.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
Hi Kostas,
         Just want to tell you, I have a Hibernate Object which has child Objects and for some of the Child Object there is a link to Parent Object, will there be any circular reference problems occur.

Original comment by [email protected] on 19 Jun 2014 at 3:13

from cloning.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
Cloner is aware of cyclic dependencies and will work fine with those. For the 
debugging, there should be a method "dump cloned" or so, will have a look soon

Original comment by [email protected] on 19 Jun 2014 at 4:18

from cloning.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
can you please try cloner.setDumpCloned(true) and have a look at the console? 
Even the console on your dev box will do, provided you clone exactly the same 
objects. If you notice it cloning file handlers, streams, hibernate proxies, 
web server proxies etc, then probably you need to cloner.dontClone(class)

Also can you paste the source code of the class(es) you clone? Is it just a few 
or many classes?

Original comment by [email protected] on 19 Jun 2014 at 5:07

from cloning.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
I think you are looking another API, because I could not able to find the 
cloner.setDumpCloned(true).

Original comment by [email protected] on 19 Jun 2014 at 7:12

from cloning.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
How are you instantiating cloner?

Original comment by [email protected] on 19 Jun 2014 at 7:41

from cloning.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
import com.rits.cloning.Cloner

Cloner cloner = new Cloner()
c.deepClone(<Object>)

Original comment by [email protected] on 19 Jun 2014 at 8:19

from cloning.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
cloner.setDumpCloned(true) should do, doesn't it work?

Original comment by [email protected] on 21 Jun 2014 at 7:49

from cloning.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024

Original comment by [email protected] on 19 Sep 2014 at 10:40

  • Changed state: Done

from cloning.

Related Issues (20)

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.