Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-1176

missing classes in ROP cayenne-client render nested contexts unusable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0M5
    • 3.0M6
    • Core Library
    • None
    • os x, cayenne build from source 735588

    Description

      when invoking commitChangesToParent() on ROP context following exception is thrown:

      [java] org.apache.cayenne.CayenneRuntimeException: [v.3.0-SNAPSHOT ${project.build.date} ${project.build.time}] Commit error
      [java] at org.apache.cayenne.CayenneContext.doCommitChanges(CayenneContext.java:240)
      [java] at org.apache.cayenne.CayenneContext.commitChangesToParent(CayenneContext.java:257)
      [java] at ish.oncourse.controller.ViewController.commitChanges(ViewController.java:1048)
      [java] at ish.oncourse.controller.EditController.saveRecord(EditController.java:616)
      [java] at ish.oncourse.controller.EditController$2.run(EditController.java:577)
      [java] at foxtrot.AbstractWorkerThread$1.run(AbstractWorkerThread.java:40)
      [java] at java.security.AccessController.doPrivileged(Native Method)
      [java] at foxtrot.AbstractWorkerThread.runTask(AbstractWorkerThread.java:36)
      [java] at foxtrot.workers.MultiWorkerThread$1.run(MultiWorkerThread.java:51)
      [java] at java.lang.Thread.run(Thread.java:613)
      [java] Caused by: java.lang.NoClassDefFoundError: org/apache/cayenne/access/ChildDiffLoader
      [java] at java.lang.ClassLoader.defineClass1(Native Method)
      [java] at java.lang.ClassLoader.defineClass(ClassLoader.java:675)
      [java] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
      [java] at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
      [java] at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
      [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
      [java] at java.security.AccessController.doPrivileged(Native Method)
      [java] at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
      [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
      [java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:280)
      [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
      [java] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)
      [java] at org.apache.cayenne.CayenneContext.onContextFlush(CayenneContext.java:556)
      [java] at org.apache.cayenne.BaseContext.onSync(BaseContext.java:296)
      [java] at org.apache.cayenne.CayenneContext.doCommitChanges(CayenneContext.java:231)
      [java] ... 9 more

      I have checked, and the org.apache.cayenne.access package is not part of ROP client jar.

      Attachments

        Activity

          People

            antidote Andrey Razumovsky
            marcin Marcin Skladaniec
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: