Read only archive ; use https://github.com/JacORB/JacORB/issues for new issues
Bug 954 - org.omg.CORBA.INITIALIZE: can't instantiate default ORB implementation org.jacorb.orb.ORB
Summary: org.omg.CORBA.INITIALIZE: can't instantiate default ORB implementation org.ja...
Status: RESOLVED INVALID
Alias: None
Product: JacORB
Classification: Unclassified
Component: ORB (show other bugs)
Version: 2.0
Hardware: Sun Solaris
: P5 enhancement
Assignee: Mailinglist to track bugs
URL:
Depends on:
Blocks:
 
Reported: 2013-06-22 14:31 UTC by vikrant gill
Modified: 2013-06-24 03:30 UTC (History)
1 user (show)

See Also:


Attachments
jacorb.properties (28.20 KB, text/plain)
2013-06-22 14:31 UTC, vikrant gill
Details

Note You need to log in before you can comment on or make changes to this bug.
Description vikrant gill 2013-06-22 14:31:57 UTC
Created attachment 416 [details]
jacorb.properties

Hi

I am getting the following exception 
org.omg.CORBA.INITIALIZE: can't instantiate default ORB implementation org.jacorb.orb.ORB
        at org.omg.CORBA.ORB.create_impl(ORB.java:297) ~[na:1.6.0_31]
        at org.omg.CORBA.ORB.init(ORB.java:336) ~[na:1.6.0_31]
        at de.siemens.advantage.payment.payplugin.impl.processing.PaymentConnectionFactory.checkIfInitialized(PaymentConnectionFactory.java:272) ~[PaymentPlugin.jar:"V2.0 (INPYAQ7I0400), built with jacorb"]
        at de.siemens.advantage.payment.payplugin.impl.processing.PaymentConnectionFactory.getReference(PaymentConnectionFactory.java:92) ~[PaymentPlugin.jar:"V2.0 (INPYAQ7I0400), built with jacorb"]
        at com.smarttrust.pbi.siemens.SiemensBillingAPIMultiHandler$ConnectionProxy.makeConnection(SiemensBillingAPIMultiHandler.java:524) [siemens_api-2.4.1.jar:na]
        at com.smarttrust.pbi.siemens.SiemensBillingAPIMultiHandler$ConnectionProxy.isConnected(SiemensBillingAPIMultiHandler.java:513) [siemens_api-2.4.1.jar:na]
        at com.smarttrust.pbi.siemens.SiemensBillingAPIMultiHandler.sendData(SiemensBillingAPIMultiHandler.java:362) [siemens_api-2.4.1.jar:na]
        at com.smarttrust.pbi.siemens.SiemensBillingAPIMultiHandler.chargeAmount(SiemensBillingAPIMultiHandler.java:307) [siemens_api-2.4.1.jar:na]
        at com.smarttrust.pbi.siemens.SiemensBillingAPIMultiHandler.chargeAmount(SiemensBillingAPIMultiHandler.java:281) [siemens_api-2.4.1.jar:na]
        at com.smarttrust.pbi.siemens.BsnlSouthSiemensBillingPlugin.debit(BsnlSouthSiemensBillingPlugin.java:96) [BSNLSouth-package-1.0.jar:na]
        at com.smarttrust.pbi.billing.OnePhaseBillingHandler.debit(OnePhaseBillingHandler.java:233) [pbi-core-3.0.0-A.jar:na]
        at com.smarttrust.pbi.billing.OnePhaseBillingHandler.handleUplink(OnePhaseBillingHandler.java:103) [pbi-core-3.0.0-A.jar:na]
        at com.smarttrust.pbi.request.GenericRequestHandler.handleRequest(GenericRequestHandler.java:273) [pbi-core-3.0.0-A.jar:na]
        at com.smarttrust.pbi.request.PbiRequestModule$RequestConsumer.consume(PbiRequestModule.java:478) [pbi-core-3.0.0-A.jar:na]
        at com.smarttrust.base.queue.ConsumerQueue$WorkerThread.run(ConsumerQueue.java:142) [pbi-core-3.0.0-A.jar:na]
Caused by: java.lang.ExceptionInInitializerError: null
        at org.jacorb.orb.BufferManager.<clinit>(BufferManager.java:183) ~[jacorb.jar:na]
        at org.jacorb.orb.ORB.<init>(ORB.java:94) ~[jacorb.jar:na]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.6.0_31]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) ~[na:1.6.0_31]
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) ~[na:1.6.0_31]
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513) ~[na:1.6.0_31]
        at java.lang.Class.newInstance0(Class.java:355) ~[na:1.6.0_31]
        at java.lang.Class.newInstance(Class.java:308) ~[na:1.6.0_31]
        at org.omg.CORBA.ORB.create_impl(ORB.java:295) ~[na:1.6.0_31]
        ... 14 common frames omitted
Caused by: java.lang.NullPointerException: null
        at org.jacorb.util.Environment.initLogging(Environment.java:295) ~[jacorb.jar:na]
        at org.jacorb.util.Environment.init(Environment.java:162) ~[jacorb.jar:na]
        at org.jacorb.util.Environment.<clinit>(Environment.java:730) ~[jacorb.jar:na]
        ... 23 common frames omitted

It seems some configuration issuse with the Environment.please find my attached jacorb.properties file.
Comment 1 Nick Cross 2013-06-23 16:59:46 UTC
org.jacorb.util.Environment does not exist in version 3.3 (which you originally reported it in). In fact 3.3 is not even released currently. I am closing this as invalid. If you would care to reproduce under the current version then please reopen the ticket.