Ticket #2038 (closed bug: duplicate)

Opened 10 years ago

Last modified 10 years ago

[natives]Saving a book with gradients throws an exception

Reported by: milen Owned by:
Priority: major Milestone: M12_RELEASE
Component: uncategorized Version: 2.0
Keywords: Cc:
Category: unknown Effort:
Importance: Ticket_group:
Estimated Number of Hours: 0 Add Hours to Ticket: 0
Billable?: yes Total Hours: 0
Analysis_owners: milen Design_owners:
Imp._owners: Test_owners:
Analysis_reviewers: Changelog:
Design_reviewers: Imp._reviewers:
Test_reviewers: Analysis_score: 0
Design_score: 0 Imp._score: 0
Test_score: 0

Description

Trying to save a book which has pages with gradients or frames with gradients throws an exception and the book cannot be saved.

Change History

comment:1 Changed 10 years ago by milen

  • Status changed from new to s1b_analysis_finished

comment:2 Changed 10 years ago by deyan

java.lang.LinkageError: loader constraint violation: when resolving method "org.sophie2.base.commons.util.ImmGradient.getCycle()Lorg/apache/batik/ext/awt/MultipleGradientPaint$CycleMethodEnum;" the class loader (instance of org/apache/felix/framework/searchpolicy/ContentClassLoader) of the current class, org/sophie2/base/persistence/persister/impl/ImmGradientPersister$4, and the class loader (instance of org/apache/felix/framework/searchpolicy/ContentClassLoader) for resolved class, org/sophie2/base/commons/util/ImmGradient, have different Class objects for the type org/apache/batik/ext/awt/MultipleGradientPaint$CycleMethodEnum used in the signature

at org.sophie2.base.persistence.persister.impl.ImmGradientPersister$4.getInitial(ImmGradientPersister.java:96)
at org.sophie2.base.persistence.persister.impl.ImmGradientPersister$4.getInitial(ImmGradientPersister.java:93)
at org.sophie2.base.persistence.ref.ValueRef.get(ValueRef.java:37)
at org.sophie2.base.persistence.persister.impl.CycleMethodEnumPersister.persist(CycleMethodEnumPersister.java:33)
at org.sophie2.base.persistence.persister.impl.CycleMethodEnumPersister.persist(CycleMethodEnumPersister.java:17)
at org.sophie2.base.persistence.persister.MasterPersister.persist(MasterPersister.java:53)
at org.sophie2.base.persistence.persister.impl.ImmGradientPersister.persist(ImmGradientPersister.java:100)
at org.sophie2.base.persistence.persister.impl.ImmGradientPersister.persist(ImmGradientPersister.java:23)
at org.sophie2.base.persistence.persister.MasterPersister.persist(MasterPersister.java:53)
at org.sophie2.base.model.resources.r4.keys.DefaultPersistableKey.persistR3(DefaultPersistableKey.java:92)
at org.sophie2.base.model.book.interfaces.StyledElement$4.persistR3(StyledElement.java:103)
at org.sophie2.base.model.resources.r4.model.ResourceModelPersister.persist(ResourceModelPersister.java:114)
at org.sophie2.base.model.resources.r4.model.ResourceModelPersister.persist(ResourceModelPersister.java:166)
at org.sophie2.base.model.resources.r4.model.ResourceModelPersister.persist(ResourceModelPersister.java:30)
at org.sophie2.base.persistence.persister.MasterPersister.persist(MasterPersister.java:53)
at org.sophie2.base.model.resources.r4.model.ResourceRevisionPersister.persist(ResourceRevisionPersister.java:64)
at org.sophie2.base.model.resources.r4.model.ResourceRevisionPersister.persist(ResourceRevisionPersister.java:22)
at org.sophie2.base.persistence.persister.MasterPersister.persist(MasterPersister.java:53)
at org.sophie2.base.model.resources.r4.file.MasterFileAccess.save(MasterFileAccess.java:74)
at org.sophie2.base.model.resources.r4.file.DelegatingFileAccess.save(DelegatingFileAccess.java:40)
at org.sophie2.main.app.menus.file.FileMenuLogic.saveBookToFile(FileMenuLogic.java:361)
at org.sophie2.main.app.menus.file.FileMenuLogic.access$100(FileMenuLogic.java:42)
at org.sophie2.main.app.menus.file.FileMenuLogic$4.handle(FileMenuLogic.java:174)
at org.sophie2.core.mvc.SimpleOperation.handle(SimpleOperation.java:67)
at org.sophie2.core.mvc.LogicR3.fire(LogicR3.java:39)
at org.sophie2.core.mvc.LogicR3.fire(LogicR3.java:79)
at org.sophie2.base.menus.MenuItem.clicked(MenuItem.java:103)
at org.sophie2.base.menus.MenuItem$1swingMenu$1.actionPerformed(MenuItem.java:47)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1225)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1266)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
at java.awt.Component.processMouseEvent(Component.java:6263)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6028)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4630)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2475)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)


2009-09-28T12:43:50+0300



java.runtime.name=Java(TM) SE Runtime Environment
sun.boot.library.path=C:\Program Files (x86)\Java\jdk1.6.0_16\jre\bin
java.vm.version=14.2-b01
java.vm.vendor=Sun Microsystems Inc.
java.vendor.url=http://java.sun.com/
path.separator=;
java.vm.name=Java HotSpot(TM) Client VM
file.encoding.pkg=sun.io
sun.java.launcher=SUN_STANDARD
user.country=BG
sun.os.patch.level=Service Pack 2
java.vm.specification.name=Java Virtual Machine Specification
user.dir=C:\Users\Deyan\Desktop\sophie2-testrelease2-author\sophie2-author
edition=author
java.runtime.version=1.6.0_16-b01
java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment
java.endorsed.dirs=C:\Program Files (x86)\Java\jdk1.6.0_16\jre\lib\endorsed
os.arch=x86
java.io.tmpdir=C:\Users\Deyan\AppData\Local\Temp\
line.separator=

java.vm.specification.vendor=Sun Microsystems Inc.
user.variant=
os.name=Windows Vista
sun.jnu.encoding=Cp1251
java.library.path=C:\Program Files (x86)\Java\jdk1.6.0_16\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\TortoiseSVN\bin;C:\Program Files (x86)\Java\jre1.6.0_07\bin\java;C:\Program Files (x86)\apache-maven-2.2.1\bin;C:\Program Files (x86)\Java\jdk1.6.0_16\bin;C:\Windows\System32\WindowsPowerShell\v1.0\
java.specification.name=Java Platform API Specification
java.class.version=50.0
sun.management.compiler=HotSpot Client Compiler
os.version=6.0
user.home=C:\Users\Deyan
user.timezone=Europe/Helsinki
java.awt.printerjob=sun.awt.windows.WPrinterJob
file.encoding=Cp1251
java.specification.version=1.6
java.class.path=org.sophie2.launcher-2.0-SNAPSHOT.jar
user.name=Deyan
java.vm.specification.version=1.0
java.home=C:\Program Files (x86)\Java\jdk1.6.0_16\jre
sun.arch.data.model=32
user.language=bg
java.specification.vendor=Sun Microsystems Inc.
awt.toolkit=sun.awt.windows.WToolkit
java.vm.info=mixed mode, sharing
java.version=1.6.0_16
java.ext.dirs=C:\Program Files (x86)\Java\jdk1.6.0_16\jre\lib\ext;C:\Windows\Sun\Java\lib\ext
sun.boot.class.path=C:\Program Files (x86)\Java\jdk1.6.0_16\jre\lib\resources.jar;C:\Program Files (x86)\Java\jdk1.6.0_16\jre\lib\rt.jar;C:\Program Files (x86)\Java\jdk1.6.0_16\jre\lib\sunrsasign.jar;C:\Program Files (x86)\Java\jdk1.6.0_16\jre\lib\jsse.jar;C:\Program Files (x86)\Java\jdk1.6.0_16\jre\lib\jce.jar;C:\Program Files (x86)\Java\jdk1.6.0_16\jre\lib\charsets.jar;C:\Program Files (x86)\Java\jdk1.6.0_16\jre\classes
java.vendor=Sun Microsystems Inc.
file.separator=\
java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi
sun.io.unicode.encoding=UnicodeLittle
sun.cpu.endian=little
sun.desktop=windows
configFile=jar:file:/C:/Users/Deyan/Desktop/sophie2-testrelease2-author/sophie2-author/org.sophie2.launcher-2.0-SNAPSHOT.jar!/author-run/author.bundles.config
sun.cpu.isalist=


comment:3 Changed 10 years ago by deyan

  • Status changed from s1b_analysis_finished to closed
  • Resolution set to duplicate
Note: See TracTickets for help on using tickets.