Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / CORBA / June 2009

Tip: Looking for answers? Try searching our database.

org.omg.CORBA.BAD_PARAM:   vmcid: 0x0  minor code: 0  completed: No

Thread view: 
eyal1972 - 27 May 2009 13:37 GMT
Hi,

I created an interface in Corba which does not recieve any parameter,
just return an object:

ProductArray getAllProducts() raises (ICoSignatureException);

And receive:

Caused by: org.omg.CORBA.BAD_PARAM:   vmcid: 0x0  minor code: 0
completed: No
     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
     at sun.reflect.NativeConstructorAccessorImpl.newInstance
(NativeConstructorAccessorImpl.java:39)
     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance
(DelegatingConstructorAccessorImpl.java:27)
     at java.lang.reflect.Constructor.newInstance(Constructor.java:
513)
     at java.lang.Class.newInstance0(Class.java:355)
     at java.lang.Class.newInstance(Class.java:308)
     at com.inprise.vbroker.orb.SE.read(SE.java:28)
     at com.inprise.vbroker.orb.DelegateImpl.handleReply
(DelegateImpl.java:807)
     at com.inprise.vbroker.orb.DelegateImpl.invoke(DelegateImpl.java:
693)
     at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:
457)
     at
com.bmc.discovery.dml.services._ICoSignatureServiceStub.getAllProducts
(_ICoSignatureServiceStub.java:1312)
    at com.bmc.discovery.dml.impl.SignatureManager.getAllProducts
(SignatureManager.java:289)

I saw in the internet that it can refer to uninitialized attributes,
but this is not the case, since the parameter does not get any
parameters...
Yakov Gerlovin - 14 Jun 2009 08:53 GMT
Hi,

First of all it is worth to try to change 'getAllProducts' method to
return void and see if the problem persists.

Post your results here and we will see how to proceed.

It is usually helpful to specify the java version and the ORB you're
using both on server&client side.
Also, please post the IDL declaration of ProductArray. Is it really an
array or it is an interface?
Please post also the implementation of getAllProducts method, may be
you don't fill the array correctly.

Kind regards,
Yakov


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2010 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.