ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Butler <jeffgbut...@gmail.com>
Subject Re: signer information does not match signer...
Date Tue, 24 Mar 2009 20:17:39 GMT
Here's a link to a Hibernate forum thread with the same problem.  I
don't work with signed jars so this is a bit beyond me, but this does
at least claim to have an answer.

http://forum.hibernate.org/viewtopic.php?t=946925&start=0

Jeff Butler


On Tue, Mar 24, 2009 at 2:59 PM, Jeremy Cowgar <jeremy@cowgar.com> wrote:
> I have to sign the .jar files that I develop because they are launched via
> webstart. It seems that the classes (in the same package) that iBatis is
> creating are not signed, therefore I am getting this error.
>
> Does anyone know how to correct this problem?
>
> Jeremy
>
>
> Jeremy Cowgar wrote:
>>
>> Hello,
>>
>> I am getting an error when trying to use lazy loading. The root cause
>> seems to be this exception:
>>
>> signer information does not match signer information of other classes in
>> the same package
>>
>> Does anyone have an idea how I can fix this problem or what is actually
>> wrong? Below is the entire exception.
>>
>> Thanks,
>>
>> Jeremy
>>
>> Caused by: com.ibatis.common.jdbc.exception.NestedSQLException:  --- The
>> error occurred in com/advancedpricing/model/MbrFile.xml. --- The error
>> occurred while applying a result map. --- Check the MbrFile.MbrFileResult.
>> --- Check the result mapping for the 'uploadedBy' property. --- Cause:
>> net.sf.cglib.core.CodeGenerationException:
>> java.lang.reflect.InvocationTargetException-->null
>>       at
>> com.ibatis.sqlmap.engine.mapping.statement.MappedStatement.executeQueryWithCallback(MappedStatement.java:204)
>>       at
>> com.ibatis.sqlmap.engine.mapping.statement.MappedStatement.executeQueryForList(MappedStatement.java:139)
>>       at
>> com.ibatis.sqlmap.engine.mapping.statement.CachingStatement.executeQueryForList(CachingStatement.java:97)
>>       at
>> com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForList(SqlMapExecutorDelegate.java:567)
>>       at
>> com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForList(SqlMapExecutorDelegate.java:541)
>>       at
>> com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.queryForList(SqlMapSessionImpl.java:118)
>>       at
>> com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.queryForList(SqlMapClientImpl.java:94)
>>       at
>> com.ibatis.sqlmap.engine.mapping.result.loader.ResultLoader.getResult(ResultLoader.java:70)
>>       at
>> com.ibatis.sqlmap.engine.mapping.result.loader.EnhancedLazyResultLoader$EnhancedLazyResultLoaderImpl.loadObject(EnhancedLazyResultLoader.java:137)
>>       ... 41 more
>> Caused by: net.sf.cglib.core.CodeGenerationException:
>> java.lang.reflect.InvocationTargetException-->null
>>       at
>> net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:237)
>>       at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:377)
>>       at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:285)
>>       at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:663)
>>       at
>> com.ibatis.sqlmap.engine.mapping.result.loader.EnhancedLazyResultLoader$EnhancedLazyResultLoaderImpl.loadResult(EnhancedLazyResultLoader.java:111)
>>       at
>> com.ibatis.sqlmap.engine.mapping.result.loader.EnhancedLazyResultLoader.loadResult(EnhancedLazyResultLoader.java:62)
>>       at
>> com.ibatis.sqlmap.engine.mapping.result.loader.ResultLoader.loadResult(ResultLoader.java:51)
>>       at
>> com.ibatis.sqlmap.engine.mapping.result.ResultMap.getNestedSelectMappingValue(ResultMap.java:510)
>>       at
>> com.ibatis.sqlmap.engine.mapping.result.ResultMap.getResults(ResultMap.java:341)
>>       at
>> com.ibatis.sqlmap.engine.execution.SqlExecutor.handleResults(SqlExecutor.java:384)
>>       at
>> com.ibatis.sqlmap.engine.execution.SqlExecutor.handleMultipleResults(SqlExecutor.java:300)
>>       at
>> com.ibatis.sqlmap.engine.execution.SqlExecutor.executeQuery(SqlExecutor.java:189)
>>       at
>> com.ibatis.sqlmap.engine.mapping.statement.MappedStatement.sqlExecuteQuery(MappedStatement.java:221)
>>       at
>> com.ibatis.sqlmap.engine.mapping.statement.MappedStatement.executeQueryWithCallback(MappedStatement.java:189)
>>       ... 49 more
>> Caused by: java.lang.reflect.InvocationTargetException
>>       at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
>>       at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>       at java.lang.reflect.Method.invoke(Method.java:597)
>>       at net.sf.cglib.core.ReflectUtils.defineClass(ReflectUtils.java:384)
>>       at
>> net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:219)
>>       ... 62 more
>> Caused by: java.lang.SecurityException: class
>> "com.advancedpricing.model.User$$EnhancerByCGLIB$$3dfb4502"'s signer
>> information does not match signer information of other classes in the same
>> package
>>       at java.lang.ClassLoader.checkCerts(ClassLoader.java:776)
>>       at java.lang.ClassLoader.preDefineClass(ClassLoader.java:488)
>>       at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
>>       ... 67 more
>> Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
>>       at $java.util.List$$EnhancerByCGLIB$$3d64e829.size(<generated>)
>>       at
>> com.advancedpricing.dragon.gui.ClaimAttachedFilesPanel$FileTableModel.getRowCount(ClaimAttachedFilesPanel.java:79)
>>       at com.jidesoft.grid.TableModelWrapperImpl.getRowCount(Unknown
>> Source)
>>       at com.jidesoft.grid.DefaultTableModelWrapper.getRowCount(Unknown
>> Source)
>>       at com.jidesoft.grid.TableModelWrapperImpl.getRowCount(Unknown
>> Source)
>>       at com.jidesoft.grid.DefaultTableModelWrapper.getRowCount(Unknown
>> Source)
>>       at javax.swing.JTable.getRowCount(JTable.java:2640)
>>       at
>> javax.swing.plaf.basic.BasicTableUI.createTableSize(BasicTableUI.java:1649)
>>       at
>> javax.swing.plaf.basic.BasicTableUI.getPreferredSize(BasicTableUI.java:1690)
>>       at javax.swing.JComponent.getPreferredSize(JComponent.java:1632)
>>       at
>> javax.swing.ScrollPaneLayout.layoutContainer(ScrollPaneLayout.java:769)
>>       at java.awt.Container.layout(Container.java:1398)
>>       at java.awt.Container.doLayout(Container.java:1387)
>>       at java.awt.Container.validateTree(Container.java:1485)
>>       at java.awt.Container.validateTree(Container.java:1491)
>>       at java.awt.Container.validateTree(Container.java:1491)
>>       at java.awt.Container.validateTree(Container.java:1491)
>>       at java.awt.Container.validateTree(Container.java:1491)
>>       at java.awt.Container.validateTree(Container.java:1491)
>>       at java.awt.Container.validateTree(Container.java:1491)
>>       at java.awt.Container.validateTree(Container.java:1491)
>>       at java.awt.Container.validateTree(Container.java:1491)
>>       at java.awt.Container.validateTree(Container.java:1491)
>>       at java.awt.Container.validateTree(Container.java:1491)
>>       at java.awt.Container.validate(Container.java:1457)
>>       at com.jidesoft.docking.DefaultDockingManager.doLayout(Unknown
>> Source)
>>       at com.jidesoft.docking.DefaultDockingManager.a(Unknown Source)
>>       at com.jidesoft.docking.DefaultDockingManager.l(Unknown Source)
>>       at com.jidesoft.docking.DefaultDockingManager.o(Unknown Source)
>>       at com.jidesoft.docking.DefaultDockingManager.y(Unknown Source)
>>       at com.jidesoft.docking.DefaultDockingManager.saveLayoutTo(Unknown
>> Source)
>>       at com.jidesoft.swing.LayoutPersistenceManager.saveLayoutTo(Unknown
>> Source)
>>       at
>> com.jidesoft.swing.AbstractLayoutPersistence.saveLayoutDataAs(Unknown
>> Source)
>>       at
>> com.jidesoft.swing.AbstractLayoutPersistence.saveLayoutData(Unknown Source)
>>       at
>> com.advancedpricing.dragon.gui.DragonApplication.shutdown(DragonApplication.java:352)
>>       at
>> com.advancedpricing.dragon.gui.DragonApplication.shutdown(DragonApplication.java:346)
>>       at
>> com.advancedpricing.dragon.gui.DragonApplication$5.windowClosing(DragonApplication.java:329)
>>       at
>> java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:333)
>>       at java.awt.Window.processWindowEvent(Window.java:1845)
>>       at javax.swing.JFrame.processWindowEvent(JFrame.java:279)
>>       at java.awt.Window.processEvent(Window.java:1803)
>>       at java.awt.Component.dispatchEventImpl(Component.java:4501)
>>       at java.awt.Container.dispatchEventImpl(Container.java:2081)
>>       at java.awt.Window.dispatchEventImpl(Window.java:2458)
>>       at java.awt.Component.dispatchEvent(Component.java:4331)
>>       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)
>>
>
>

Mime
View raw message