Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002773 [Resin] minor always 07-08-08 07:18 07-08-08 15:22
Reporter ferg View Status public  
Assigned To ferg
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 3.2.0 Product Version 3.1.6
  Product Build
Summary 0002773: amber NPE for postgis
Description (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

Steps To Reproduce
Additional Information
Attached Files

- Relationships

- Notes
(0003251)
ferg
07-08-08 15:22

jpa/0s9[0-9]
 

- Issue History
Date Modified Username Field Change
07-08-08 07:18 ferg New Issue
07-08-08 15:22 ferg Note Added: 0003251
07-08-08 15:22 ferg Assigned To  => ferg
07-08-08 15:22 ferg Status new => closed
07-08-08 15:22 ferg Resolution open => fixed
07-08-08 15:22 ferg Fixed in Version  => 3.2.0


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
28 total queries executed.
25 unique queries executed.
Powered by Mantis Bugtracker