Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.2
-
None
-
None
-
Operating System: Linux
Platform: PC
-
30065
Description
Hi!
I use odmg to connect postgres since cocoon 2.1.5 db-ojb is 1.0rc6
I upgrade to cocoon 2.2 dev db-ojb is 1.0.0
but the code is fail for getInstance();
the code is
var odmgImpl =
cocoon.getComponent(Packages.org.apache.cocoon.ojb.odmg.components.OdmgImple
metation.ROLE);
var impl = odmgImpl.getInstance("sy");
If I change the db-ojb back to 1.0rc6 it's ok
But in 1.0.0 java.lang.NullPointerException occurs
How to correct it.
Best regards
Johnson
Ps. If I use rc7, the same problem appeared
I use odmg to connect postgres since cocoon 2.1.5 db-ojb is 1.0rc6
I upgrade to cocoon 2.2 dev db-ojb is 1.0.0
but the code is fail for getInstance();
the code is
var odmgImpl =
cocoon.getComponent(Packages.org.apache.cocoon.ojb.odmg.components.OdmgImple
metation.ROLE);
var impl = odmgImpl.getInstance("sy");
If I change the db-ojb back to 1.0rc6 it's ok
But in 1.0.0 java.lang.NullPointerException occurs
How to correct it.
Best regards
Johnson
Ps. If I use rc7, the same problem appeared