Project: Birt
Bug 110814 class.getPackage( ) returns NULL in Orion Server
Reported: 2005-09-27 11:11:30 | Status: verified fixed

I cannot deploy Eclipse Birt into Orion application server due to a known bug in Orion - someClass.getPackage( ) returns null. The following files need to be fixed to eliminate this problem: org.eclipse.birt.report.data.oda.jdbc\src\org\eclipse\birt\report\data\oda\jdbc\OdaJdbcDriver.java org.eclipse.birt.report.data.oda.jdbc\test\org\eclipse\birt\report\data\oda\jdbc\LogConfigurationTest.java org.eclipse.birt.report.model\src\org\eclipse\birt\report\model\api\util\ParameterValidationUtil.java org.eclipse.birt.report.model\src\org\eclipse\birt\report\model\i18n\ModelMessages.java org.eclipse.birt.report.model\test\org\eclipse\birt\report\model\i18n\ResourceHandleTest.java It's safer to use the following: SomeClass.class.getName().substring(0, SomeClass.class.getName().lastIndexOf("."))

Files changed in fix:
data/org.eclipse.birt.report.data.oda.jdbc/src/org/eclipse/birt/report/data/oda/jdbc/OdaJdbcDriver.java