[jacorb-developer] org.omg.CORBA.MARSHAL: buffer too small vmcid: 0x0
Nick Cross
jacorb at goots.org
Wed Oct 3 19:52:47 CEST 2012
Hi,
Thanks for that information.
Can you please enter a ticket on bugzilla and provide a standalone,
compilable, runnable test case.
Thanks!
Nick
On 03/10/12 17:29, Amir Hooshangi wrote:
> Nick
>
> I'm using Jacorb 3.0 final release. And i've lot's of generated IDL's
> from TM Forums corba solutions.
> In the server i put my object ot ANY this way :
>
> Any objectNameAny = ORB.init().create_any();
> NamingAttributes_THelper.insert(objectNameAny, new
> NameAndStringValue_T[]{new NameAndStringValue_T("objectName",
> "objectNameValue")});
> filterableDataBody[2].value = objectNameAny;
>
> and in the client i do :
> NameAndStringValue_T objectName =
> NameAndStringValue_THelper.extract(propertys[i].value);
>
> which throws the exception, i think there should be somewhere to
> increase the buffer size.
>
>
> On Wed, Oct 3, 2012 at 7:29 PM, Nick Cross <jacorb at goots.org
> <mailto:jacorb at goots.org>> wrote:
>
>
> Please provide the version of JacORB you are using and a compilable,
> runnable test case to demonstrate the problem. You can use bugzilla
> if you need to attach a set of files.
>
> Thanks
>
> Nick
>
>
>
> On 03/10/12 16:23, Amir Hooshangi wrote:
>
> Hi
>
> I'm inserting a corba class to Any using one of my Helper
> classes it's like
> NamingAttributes_THelper.__insert( any, object)
>
> but when i want to extract it : e.g
> NameAndStringValue_THelper.__extract()
>
> it says : Exception in thread "main" org.omg.CORBA.MARSHAL:
> buffer too
> small vmcid: 0x0 minor code: 0 completed: No
> at
> org.jacorb.orb.CDRInputStream.__read_string(CDRInputStream.__java:1217)
> at
> globaldefs.NameAndStringValue___THelper.read(__NameAndStringValue_THelper.__java:72)
> at
> globaldefs.NameAndStringValue___THelper.extract(__NameAndStringValue_THelper.__java:25)
>
> i've also made my jacorb MaxBuffersize in jacorb.properties but
> didn't work
> out
>
> regards
> _________________________________________________
> jacorb-developer maillist -
> jacorb-developer at lists.spline.__inf.fu-berlin.de
> <mailto:jacorb-developer at lists.spline.inf.fu-berlin.de>
> https://lists.spline.inf.fu-__berlin.de/mailman/listinfo/__jacorb-developer
> <https://lists.spline.inf.fu-berlin.de/mailman/listinfo/jacorb-developer>
>
>
>
More information about the jacorb-developer
mailing list