Mantis - Resin
Viewing Issue Advanced Details
2773 minor always 07-08-08 07:18 07-08-08 15:22
ferg  
ferg  
normal  
closed 3.1.6  
fixed  
none    
none 3.2.0  
0002773: amber NPE for postgis
(rep by Uwe Schaefer)

we´re currently in the process of evaluating resin
for our primary
future deployment platform.
there is one thing, that you could perhaps helps us
with or provide a
pointer to appropriate information:

we currently have no option to use any other
persistence mechanism than
hibernate as a JPA provider. also we want to use
Postgres and postGIS.

the problem now is: as soon as we provide resin with
the necessary jars
(in ./ext-lib) resin seems to scan those and act on
them, which ends up
with:

[19:36:57.936] {http--8080-1}
java.lang.NullPointerException
[19:36:57.936] {http--8080-1} at

com.caucho.amber.type.EntityType.generateLoad(EntityType.java:1005)
[19:36:57.936] {http--8080-1} at

com.caucho.amber.table.Column.generateLoad(Column.java:424)
[19:36:57.936] {http--8080-1} at

com.caucho.amber.field.PropertyField.generateLoad(PropertyField.java:493)
[19:36:57.936] {http--8080-1} at

com.caucho.amber.type.BeanType.generateLoad(BeanType.java:332)
[19:36:57.936] {http--8080-1} at

com.caucho.amber.gen.LoadGroupGenerator.generateLoadSelect(LoadGroupGenerator.java:392)
[19:36:57.936] {http--8080-1} at

com.caucho.amber.gen.LoadGroupGenerator.generate(LoadGroupGenerator.java:157)
[19:36:57.936] {http--8080-1} at

com.caucho.amber.gen.AmberMappedComponent.generateLoadGroup(AmberMappedComponent.java:831)
[19:36:57.936] {http--8080-1} at

com.caucho.amber.gen.AmberMappedComponent.generate(AmberMappedComponent.java:187)
[19:36:57.936] {http--8080-1} at

com.caucho.java.gen.BaseClass.generateComponents(BaseClass.java:253)
[19:36:57.936] {http--8080-1} at

com.caucho.java.gen.BaseClass.generateClassContent(BaseClass.java:240)
[19:36:57.936] {http--8080-1} at

com.caucho.java.gen.BaseClass.generate(BaseClass.java:228)
[19:36:57.936] {http--8080-1} at

com.caucho.java.gen.GenClass.generate(GenClass.java:123)
[19:36:57.936] {http--8080-1} at

com.caucho.java.gen.JavaClassGenerator.generate(JavaClassGenerator.java:279)
[19:36:57.936] {http--8080-1} at

com.caucho.amber.gen.AmberEnhancer.generateJava(AmberEnhancer.java:463)
[19:36:57.936] {http--8080-1} at

com.caucho.amber.gen.AmberEnhancer.generate(AmberEnhancer.java:383)
[19:36:57.936] {http--8080-1} at

com.caucho.amber.manager.AmberPersistenceUnit.initType(AmberPersistenceUnit.java:908)
[19:36:57.936] {http--8080-1} at

com.caucho.amber.manager.AmberPersistenceUnit.generate(AmberPersistenceUnit.java:934)
[19:36:57.936] {http--8080-1} at

com.caucho.amber.cfg.PersistenceUnitConfig.init(PersistenceUnitConfig.java:327)
[19:36:57.936] {http--8080-1} at

com.caucho.amber.manager.AmberContainer.configureRoot(AmberContainer.java:794)
[19:36:57.936] {http--8080-1} at

com.caucho.amber.manager.AmberContainer.configurePersistenceRoots(AmberContainer.java:704)
[19:36:57.936] {http--8080-1} at

com.caucho.amber.manager.PersistenceEnvironmentListener.addLoader(PersistenceEnvironmentListener.java:58)
[19:36:57.936] {http--8080-1} at

com.caucho.loader.EnvironmentClassLoader.configureEnhancerEvent(EnvironmentClassLoader.java:453)
[19:36:57.936] {http--8080-1} at

com.caucho.loader.EnvironmentClassLoader.scan(EnvironmentClassLoader.java:536)
[19:36:57.936] {http--8080-1} at

com.caucho.loader.DynamicClassLoader.sendAddLoaderEvent(DynamicClassLoader.java:746)
[19:36:57.936] {http--8080-1} at

com.caucho.loader.DynamicClassLoader.loadClassImpl(DynamicClassLoader.java:1270)
[19:36:57.936] {http--8080-1} at

com.caucho.loader.SystemClassLoader.loadClassImpl(SystemClassLoader.java:213)
[19:36:57.936] {http--8080-1} at

com.caucho.loader.DynamicClassLoader.loadClass(DynamicClassLoader.java:1218)
[19:36:57.936] {http--8080-1} at

com.caucho.loader.DynamicClassLoader.loadClass(DynamicClassLoader.java:1202)
[19:36:57.936] {http--8080-1} at


Notes
(0003251)
ferg   
07-08-08 15:22   
jpa/0s9[0-9]