Re: signer information does not match signer...

2009-03-24 Thread Larry Meadors
Sounds like you have some sort of security policy in place, maybe?

Google gives me about 9000 pages for signer information does not
match signer information of other classes in the same package.

I'd start there. :-)

Larry

On Tue, Mar 24, 2009 at 9:47 AM, Jeremy Cowgar jer...@cowgar.com 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)
       

Re: signer information does not match signer...

2009-03-24 Thread Jeremy Cowgar
It's really confusing as the this problem just started. The application 
is already deployed to many users and has been for a few months now. 
Now, when making a change to it, this starts happening. The change was 
unrelated, actually a fix in spelling of a dialog box. An SVN diff shows 
that nothing to do with model classes or mapping classes have changed. I 
was hoping that someone else has run across this problem before because 
even with the 9000 pages (which I searched for before sending an email) 
it seems to be a needle in a haystack as related to here.


Jeremy

Larry Meadors wrote:

Sounds like you have some sort of security policy in place, maybe?

Google gives me about 9000 pages for signer information does not
match signer information of other classes in the same package.

I'd start there. :-)

Larry

On Tue, Mar 24, 2009 at 9:47 AM, Jeremy Cowgar jer...@cowgar.com 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)

Re: signer information does not match signer...

2009-03-24 Thread Jeremy Cowgar
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 

Re: signer information does not match signer...

2009-03-24 Thread Larry Meadors
Hm, it's using cglib to do this, so I'd start looking there - sorry, I
don't mean to be obtuse, I just don't have an answer for you. :-/

The quick fix is to turn off lazy loading...

Larry


On Tue, Mar 24, 2009 at 1:59 PM, Jeremy Cowgar jer...@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
 

Re: signer information does not match signer...

2009-03-24 Thread Jeff Butler
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=946925start=0

Jeff Butler


On Tue, Mar 24, 2009 at 2:59 PM, Jeremy Cowgar jer...@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
 

Re: signer information does not match signer...

2009-03-24 Thread Jeremy Cowgar

Jeff Butler wrote:

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=946925start=0
  


Jeff,

Thank you that looks like exactly what I need. I'm not at a place I can 
try it right now, but first thing in the morning I'll give it a go and 
report back so we can have the result in iBatis's mailing list archives 
as well.


Jeremy