Issue using GW 8.x, VBScript and object API

Greetings folks,
We have a simple script that we'd run to find the location of a users
current archive..
It worked under earlier versions but after upgrading to 8, it runs
sucessfully, but windows (XP SP3 using GW 8.01/802 clients) will ALWAYS
throw the following error after it executes (Note that it DOES execute as
expected, but windows scripting throwing an error after execution is what is
new>
Here's the error as shown by the event log:
Faulting application wscript.exe, version 5.7.0.16599, faulting module
gwxplt1.dll, version 8.0.2.10840, fault address 0x00031470.
Here's the test script (simply outputs the UID of the account, path to
archive, and the FID of the account,
since we can build a real path using the PathToArchive + "of" + FID + "arc"
On Error resume next
dim GWApp
Set GWApp = CreateObject("NovellGroupWareSession")
dim GWAccount
Set GWAccount = GWApp.Login()
msgbox GWAccount.AccountUID &" : " & GWAccount.PathToArchive & " : " &
GWAccount.AccountProperty(9)
set GwApp = Nothing
set GWAccount = Nothing
Any idea why calling these methods via VBscript would make windows scripting
host barf?

Working fine here with Delphi 2005 ?
Start by posting the code
And you are in the correct forum
Tommy Mikkelsen
IT Quality A/S, Denmark
Novell Support Forums SYSOP
Sorry, but no support through email
Be a GroupWiseR, go http://www.groupwiser.net

Similar Messages

  • Memory issue using BO XI Enterprise SDK and ISecurityInfo

    Hello everybody
    I have a big issue using the XIR2 SDK when I want to get rights for an object (universe or overload for example). When I start my process the memory used keep growing, starting for 20 mb to more than 100mb and if I have too many objects, the script hangs. I tried to simplify my code to make it understandable :
    My Main Class
                   Vector<Integer> vIntOv = OverloadsFactory.getAllOverloadsID();
                   Iterator<Integer> itOvIterator = vIntOv.iterator();
                   Integer cIdOv = null;
                   while(itOvIterator.hasNext()) {
                        cIdOv = itOvIterator.next();
                        System.out.println("ID OV = "+cIdOv);
                        Overload ov = OverloadsFactory.getOverloadById(cIdOv);
                        Iterator<PrincipalRestricted> itRestPrin = ov.getPrincipalRestricted().iterator();
                        PrincipalRestricted cPrin = null;
                        while(itRestPrin.hasNext()) {
                             cPrin = itRestPrin.next();
                             System.out.println("     REST = "+cPrin.getPrincipalName());
                             cPrin = null;
    The getOverloadById method in OverloadFactory class :
         public static Overload getOverloadById(int overloadID) throws OverloadException, IOException, ClassNotFoundException, SDKException {
              String name="";
              String creationTime="";
              Vector<RowRestriction> vRestrictedRows = new Vector<RowRestriction>();
              Vector<ObjectRestriction> vRestrictedObjects = new Vector<ObjectRestriction>();
              Vector<PrincipalRestricted> vPrincipalRestricted= new Vector<PrincipalRestricted>();
              String boQuery="SELECT * " +
                        "FROM CI_APPOBJECTS " +
                        "WHERE SI_KIND='OVERLOAD' AND SI_ID="+overloadID;
              Iterator<IOverload> itOverload = BoxiRepositoryManager.getInstance().executeQuery(boQuery).iterator();
              if(itOverload.hasNext()) {
                   IOverload currentIOverload = itOverload.next();
                   name=currentIOverload.properties().get("SI_NAME").toString();
                   creationTime=currentIOverload.properties().get("SI_CREATION_TIME").toString();
                   //System.out.println("OVERLOAD : "+currentIOverload.getTitle()+" / UNIVERSE : "+UniversesFactory.getUniverseById(currentIOverload.getUniverse()).getName());
                   Iterator<IRowOverload> itRestrictedRows=currentIOverload.getRestrictedRows().iterator();
                   while(itRestrictedRows.hasNext()) {
                        IRowOverload currentRestrictedRow = itRestrictedRows.next();
                        //System.out.println("     RR ("+currentIOverload.getID()+") Where Clause : "+currentRestrictedRow.getWhereClause());
                        vRestrictedRows.add(new RowRestriction(currentRestrictedRow.getRestrictedTableName(), currentRestrictedRow.getWhereClause()));
                   //System.out.println("     RR ("+currentIOverload.getID()+") Size : "+vRestrictedRows.size());
                   Iterator<IObjectOverload> itRetsrictedObjects=currentIOverload.getRestrictedObjects().iterator();
                   while(itRetsrictedObjects.hasNext()) {
                        IObjectOverload currentRestrictedObj = itRetsrictedObjects.next();
                        //System.out.println("     RO ("+currentIOverload.getID()+") Object Name : "+currentRestrictedObj.getObjectName());
                        vRestrictedObjects.add(new ObjectRestriction(currentRestrictedObj.getObjectID(), currentRestrictedObj.getObjectName()));
                   Iterator<IObjectPrincipal> itIObjectPrincipal = currentIOverload.getSecurityInfo().getObjectPrincipals().iterator();
                   while (itIObjectPrincipal.hasNext()) {
                        IObjectPrincipal currentIObjPrincipal = itIObjectPrincipal.next();
                        vPrincipalRestricted.add(new PrincipalRestricted(currentIObjPrincipal.getID(),currentIObjPrincipal.getName()));
                   itOverload = null;
                   return new Overload(overloadID,currentIOverload.getUniverse(),name, vRestrictedObjects, vRestrictedRows, vPrincipalRestricted, creationTime);
              } else {
                   throw new OverloadException("This Overload ID is not valid");
    At the beginning I thought it was a problem in my own code but if you comment the following part in the above method, you'll see that the memory increase will not happen anymore :
    Iterator<IObjectPrincipal> itIObjectPrincipal = currentIOverload.getSecurityInfo().getObjectPrincipals().iterator();
                   while (itIObjectPrincipal.hasNext()) {
                        IObjectPrincipal currentIObjPrincipal = itIObjectPrincipal.next();
                        vPrincipalRestricted.add(new PrincipalRestricted(currentIObjPrincipal.getID(),currentIObjPrincipal.getName()));
    Here the error
    Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
       at java.util.Hashtable.rehash(Unknown Source)
       at java.util.Hashtable.put(Unknown Source)
       at com.crystaldecisions.sdk.occa.security.internal.a.a(Unknown Source)
       at com.crystaldecisions.sdk.occa.security.internal.f.new(Unknown Source)
       at com.crystaldecisions.sdk.occa.security.internal.a.commit(Unknown Source)
       at com.crystaldecisions.sdk.occa.infostore.internal.ap.a(Unknown Source)
       at com.crystaldecisions.sdk.occa.infostore.internal.ar.if(Unknown Source)
       at com.crystaldecisions.sdk.occa.infostore.internal.ar.getObjectPrincipals(Unknown Source)
       at com.crystaldecisions.sdk.occa.infostore.internal.ar.getObjectPrincipals(Unknown Source)
    So it why I think that either there is an issue with "getSecurityInfo()" or I'm using it in a bad way. I tried many things like nulling my objects (even if in java the garbage collector does that by itself), changing my code... but no improvements, it's why I m requesting help from the experts
    Thanks to you
    PS : sorry for my grammar, i'm french
    PS 2 : i just want notify that I'm not a java expert so if you have to criticize my code, no prob
    Edited by: Cyril Amsellem on Aug 8, 2008 5:00 PM

    Hi Merry
    Thanks a lot for answering me. I didn't know that "getObjectPrincipal" takes so much memory for running.
    According to you is it normal that the used memory keep growing even after nulling my objects ? For me after requesting the Principales for an object (overload or universe) the memory used should be released. It seems that even after the process an object created in the ISecurityInfo class is still living...
    Thanks again for taking time to help me

  • 3D bar graph: issues using 2D Y-Z plane and timestamp

    Hi,
    I'm having issues trying to plot a multiplot 3D bar graph using view towards Y-Z plane property (3D plot properties/View direction). This makes the 3D graph basically look like 2D. Bar graph looks quite ok when it is drawn without y vector (timestamp) but as soon as the timestamp is connected it doesn't make any sense. The bars are basically thin lines plotted to a very small area. Autoscaling or manual scaling doesn't help. Attached is a small example VI with some data which gives an idea what I'm trying to accomplish and what the issue is.
    What I would like to achieve is to keep the bar width as in the case before y vector is connected to and have timestamps.
    I'll be glad if you had any suggestions that could help.
    Thanks,
    Matti
    Attachments:
    3D Bar Plot_mod.vi ‏13 KB

    Oooh. This is a bug for 3D Bar. The width and internal are not relative to the actual range. I filed CAR 344934.
    If you could use 3D projection, you can use value pair (also from Properties or VI Server) as a temporary workaround. Value pair can override scale with any text. Here is an example.
    Attachments:
    3D Bar Plot_mod3.vi ‏16 KB

  • Performace Issue using Crystal Report For enterprise and BEx Queries

    Hi all;
        We are generating the following error stack when trying to build a report on top of a BEX query using Crystal Report for Enterprise :
        |7C4F8ECE44034DB897AD88D6F98B028B3|2011 12 12 17:24:21.277|+0100|>>|E| |crj|20380|  56|ModalContext    | |2|0|0|0|BIPSDK.InfoStore:query|CHVXRIL0047:20380:56.174:1|-|-|BIPSDK.InfoStore:query|CHVXRIL0047:20380:56.174:1|Cut2PbOe3UdzgckPBHn8spEab|||||||||com.crystaldecisions.sdk.occa.infostore.internal.InfoObjects||Assertion failed: Java plugin for CommonConnection is not loaded.
    java.lang.AssertionError
         at com.businessobjects.foundation.logging.log4j.Log4jLogger.assertTrue(Log4jLogger.java:52)
         at com.crystaldecisions.sdk.occa.infostore.internal.InfoObjects.newInfoObject(InfoObjects.java:576)
         at com.crystaldecisions.sdk.occa.infostore.internal.InfoObjects.continueUnpackHelper(InfoObjects.java:548)
         at com.crystaldecisions.sdk.occa.infostore.internal.InfoObjects.continueUnpack(InfoObjects.java:489)
         at com.crystaldecisions.sdk.occa.infostore.internal.InfoObjects.startUnpack(InfoObjects.java:464)
         at com.crystaldecisions.sdk.occa.infostore.internal.InternalInfoStore$XRL3WireStrategy.startUnpackTo(InternalInfoStore.java:1484)
         at com.crystaldecisions.sdk.occa.infostore.internal.InternalInfoStore$XRL3WireStrategy.startUnpackTo(InternalInfoStore.java:1464)
         at com.crystaldecisions.sdk.occa.infostore.internal.InternalInfoStore.unpackAll(InternalInfoStore.java:910)
         at com.crystaldecisions.sdk.occa.infostore.internal.InternalInfoStore.queryHelper(InternalInfoStore.java:944)
         at com.crystaldecisions.sdk.occa.infostore.internal.InternalInfoStore.queryHelper(InternalInfoStore.java:929)
         at com.crystaldecisions.sdk.occa.infostore.internal.InternalInfoStore.query_aroundBody24(InternalInfoStore.java:798)
         at com.crystaldecisions.sdk.occa.infostore.internal.InternalInfoStore.query(InternalInfoStore.java:1)
         at com.crystaldecisions.sdk.occa.infostore.internal.InfoStore.query_aroundBody20(InfoStore.java:175)
         at com.crystaldecisions.sdk.occa.infostore.internal.InfoStore.query_aroundBody21$advice(InfoStore.java:42)
         at com.crystaldecisions.sdk.occa.infostore.internal.InfoStore.query(InfoStore.java:1)
         at com.businessobjects.mds.securedconnection.cms.services.olap.OlapCmsSecuredConnectionService.getConnectionObject(OlapCmsSecuredConnectionService.java:125)
         at com.businessobjects.mds.securedconnection.cms.services.olap.OlapCmsSecuredConnectionService.getOlapSecuredConnection(OlapCmsSecuredConnectionService.java:191)
         at com.businessobjects.mds.securedconnection.loader.internal.SecuredConnectionLoaderImpl.getOlapConnectionFromSecuredConnection(SecuredConnectionLoaderImpl.java:83)
         at com.businessobjects.mds.securedconnection.loader.internal.SecuredConnectionLoaderImpl.getConnectionFromSecuredConnection(SecuredConnectionLoaderImpl.java:60)
         at com.businessobjects.dsl.services.workspace.impl.DirectOlapAccessDataProviderBuilder.loadSecuredConnection(DirectOlapAccessDataProviderBuilder.java:193)
         at com.businessobjects.dsl.services.workspace.impl.DirectOlapAccessDataProviderBuilder.loadSecuredConnection(DirectOlapAccessDataProviderBuilder.java:176)
         at com.businessobjects.dsl.services.workspace.impl.DirectOlapAccessDataProviderBuilder.provideUniverseFromCms(DirectOlapAccessDataProviderBuilder.java:63)
         at com.businessobjects.dsl.services.datasource.impl.AbstractUniverseProvider.provideUniverse(AbstractUniverseProvider.java:41)
         at com.businessobjects.dsl.services.workspace.impl.AbstractDataProviderBuilder.updateQuerySpecDataProvider(AbstractDataProviderBuilder.java:119)
         at com.businessobjects.dsl.services.workspace.impl.AbstractDataProviderBuilder.updateDataProvider(AbstractDataProviderBuilder.java:106)
         at com.businessobjects.dsl.services.workspace.impl.AbstractDataProviderBuilder.addDataProvider(AbstractDataProviderBuilder.java:49)
         at com.businessobjects.dsl.services.workspace.impl.WorkspaceServiceImpl.addDataProvider(WorkspaceServiceImpl.java:56)
         at com.businessobjects.dsl.services.workspace.impl.WorkspaceServiceImpl.addDataProvider(WorkspaceServiceImpl.java:45)
         at com.crystaldecisions.reports.dsl.shared.DSLTransientUniverseServiceProvider.createSessionServicesHelper(DSLTransientUniverseServiceProvider.java:72)
         at com.crystaldecisions.reports.dsl.shared.DSLServiceProvider.createSessionServices(DSLServiceProvider.java:428)
         at com.businessobjects.crystalreports.designer.qpintegration.DSLUtilities.getServiceProvider(DSLUtilities.java:279)
         at com.businessobjects.crystalreports.designer.qpintegration.InitializeDSLRunnable.run(InitializeDSLRunnable.java:82)
         at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
    Here seems to be that a plugin is not loaded : com.crystaldecisions.sdk.occa.infostore.internal.InfoObjects||Assertion failed: Java plugin for CommonConnection is not loaded.
    could this affect the performance of Crystal Reports for Enterprise and how could I fix this ?
    Best Regards
    Anis

    Venkat,
    Thanks for your response. Please note, however, the transaction RAD1 does not exist. Let me provide more details about the current settings of the InfoObject.
    The Characteristic is 'Item' (0CS_ITEM) and upon going to RSA1 >  Modeling > InfoObjects > Item (0CS_ITEM) > Right Click > Display > Business Explorer (tab) > Text Type is set to 'Long Text' and BEx description is set to 'Long description' already.
    When I run/execute the query with this Item characteristic, the results in BEx Analyzer is showing appropriate long text, however, Crystal Report for Enterprise shows short text only
    K
    Edited by: Kumar Pathak on Feb 3, 2012 6:18 PM

  • Issue using JSON.stringify on object

    I have the following code, which attempts to stringify the member1 object
    try {
        var member1:Object = {
          mediaId: meterEvent.mediaId,
          publisherId: meterEvent.publisherId
       var val:String = JSON.stringify(member1);
    } catch (err:Error) {
    /// exception is called
    but this throws an exception " ReferenceError: Error #1065". I have trying to get this going for several hours but cannot seem to find a solution. I am using Falsh Builder 4.7 and the Air SDK 3.4 to compile and build the swf. I suspect that maybe the issue is that the flash player where the code is running on maybe not be compatible. The version of the Flash Player is 12,0,0,70
    Any idea of where to go from here. The larger context is that i am using URLRequest and URLLoader to formulate a HTTP POST with a JSON body
    cheers
    </jima>

    Hi,
    documentation on the Scripting API is available at ftp://ftp.sap.com/pub/sapgui/win/640/scripting/docs/
    This API is a replacement of the existing, obsolete COM interfaces.
    Best regards,
    Christian

  • I am using Windows 7 Home Premium 64-bit OS.  I've never had this problem before... today I opened iTunes and it prompted me to download the newest version.  I use iTunes all the time and have updated it multiple times with no issues.  During the installa

    I am using Windows 7 Home Premium 64-bit OS.I've never had this problem before... today I opened iTunes and it prompted me to download the newest version.  I use iTunes all the time and have updated it multiple times with no issues.  During the installation process it gave me an error message that said: 
    Runtime error! 
    Program C:\Program Files\iTunes.exe
    R0634
    An application has made an attempt to load the C runtime library incorrectly.
    Please contact the application's support team for more information.
    I quit the installation, uninstalled iTunes and rebooted my computer.  I now receive a similar message with a slight difference:
    Runtime error! 
    Program C:\Program Files (x86)...
    R0634
    An application has made an attempt to load the C runtime library incorrectly.
    Please contact the application's support team for more information.
    I did not leave anything out from the error message.  It doesn't point to a specific file, it just ends with "(x86)..."  Every time I boot up my computer, this error message pops up on my desktop.
    How do I repair this issue?  I have found multiple suggested solutions but am unsure which one is the best, and I don't want to try a bunch of different things for fear I may make the problem worse.  I would like to try and fix this myself if possible but I need to know if that is really possible or if I need to take my computer to someone for repairs.  Any suggestions will be greatly appreciated!!

    Hi lustyln,
    I'm having a little trouble understanding all of what you are trying to explain. From what I can tell, it sounds like your PC has a lot of software problems and you want to know what is supposed to be there and what isn't.
    For reference, here are your product specifications:
    http://h10025.www1.hp.com/ewfrf/wc/document?cc=us&dlc=en&docname=c01893242&lc=en&product=4043282
    To get your PC software back to how it was when it was first purchased, run a system recovery:
    http://h10025.www1.hp.com/ewfrf/wc/document?cc=us&dlc=en&docname=c01867418&lc=en&product=4043282
    I hope this helps.
    ...an HP employee just trying to help where I can, but not speaking on behalf of HP.

  • When trying to upload a document or attach a document in an email Firefox gives me an error "Failed to load CTDFMRES.dll" and stops responding, I have no issues in any other browsers. And I am using Firefox 4, Fixes???

    When trying to upload a document or attach a document in an email Firefox gives me an error "Failed to load CTDFMRES.dll" and stops responding, I have no issues in any other browsers. And I am using Firefox 4, Fixes???

    You don't have to disable any addons or extentions!!!You guys are not going to believe this I figured out the problem it's really dumb...ok here goes the attachment uploader loads seperate so I got to thinking it's a popup so I went to options content and under block pop ups there is an option exceptions click on that and in the box type firefox.com and hit allow pow its fixed!!!!! :-)

  • Sync issues with playlists. Not syncing playlists, and now my playlist have disappeared from iTunes. I am Using iTunes 11.1.3 and iOS 7.0.4

    Sync issues with playlists. Not syncing playlists, and now my playlist have disappeared from iTunes. I am Using iTunes 11.1.3 and iOS 7.0.4

    Hello surig84,
    Thank you for providing the details of the issue you are experiencing when syncing your iPad.  I recommend reviewing the following article specifically the section titled "Authorize using the correct account name."
    iTunes repeatedly prompts to authorize computer to play iTunes Store purchases
    http://support.apple.com/kb/ts1389
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • Is anyone else having email problems such as apps exiting in the middle of an email? It may be a wireless issue. I use First Class for work and yahoo email for personal. I will be in the middle of typing a long email and the app just quits, all data lost.

    Is anyone else having email problems such as apps exiting in the middle of an email? It may be a wireless issue. I use First Class for work and yahoo email for personal. I will be in the middle of typing a long email and the app just quits, all data lost.

    Have you tried restarting or resetting your iPad?
    Restart: Press On/Off button until the Slide to Power Off slider appears, select Slide to Power Off and, after the iPad shuts down, then press the On/Off button until the Apple logo appears.
    Reset: Press the Home and On/Off buttons at the same time and hold them until the Apple logo appears (about 10 seconds). Ignore the "Slide to power off"

  • I am having sporadic issues after new hard drive install and recovery using Time Machine. The same sluggish response, start up screen pixelating...If I reinstall Lion will it wipe out other applications? My HD was formatted and partitioned correctly, I ha

    I am having sporadic issues after new hard drive install and recovery using Time Machine. The same sluggish response, start up screen pixelating...If I reinstall Lion will it wipe out other applications? My HD was formatted and partitioned correctly, I have a late 2009 iMac.

    Use the trackpad to scroll, thats what it was designed for. The scroll bars automatically disappear when not being used and will appear if you scroll up or down using the trackpad.
    This is a user-to-user forum and most people will post on here if they have problems. You very rarely get people posting to say there update went smooth. The fact is the vast majority of Mountain Lion users will not be experiencing any major problems with the OS, or maybe with apps which are not compatible, but thats hardly Apple's fault if developers don't update their apps.

  • Issues using macbook with bootcamp and external apple monitor

    I am having issues using an apple external monitor connected to my macbook with bootcamp - in particular, if i connect the monitor to the computer when the computer is already on, it won't work. Also, when i disconnect the monitor fromt he computer, the computer screen will go black and I'll have to re-start
    Anybody experienced the same and can help?
    Thx

    just make sure that while its standing on its side there aren't any plugs or cables on that side. I'm not familiar with the mb port setup, but having power, two usb, and a display cable could prose a problem for sideward standing if they are on separate sides of the machine.
    as the first commenter mentioned the orientation of your computer is irrelevant, but you wouldn't want to have the weight of the laptop sitting ontop of a usb or video plug that's coming out the side.

  • Using papervision in flash builder and getting TypeError: Error #1009: when using object.pitch(5)

    When i use papervision in flash builder and i am doing a test, when i render a sphere using papervision with the following code it renders me the sphere.
    When i add a line sphere.pitch(2);      ||
    sphere.yaw(2);
    sphere.roll(2);
    i get the following error,
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at PvTest/onRenderTick()[D:\Android 3D\PvTest\src\PvTest.as:39]
    Can anyone help me figure out the error
    For additional Info, these are the imports i am doing:
    import org.papervision3d.objects.primitives.Sphere;
    import org.papervision3d.view.BasicView;

    I followed the steps and read some of your comments on the same top topic in another thread. When I put it on the first frame it was okay but the next button on that page had the same problem.  So what I am guessing is that I have to either create a document class or put the actions where the buttons are.  Am I understanding that correctly?  In the other thread in which you helped someone else; there was so comments about document class.  I found a tutorial on it and the way I understand it is that it you can put you actions in an external document.  But you have to include in the event listener the frame in which you want that action to happen.
    Thaks for your help.  And patience.

  • Issue with html5 panoramas and objects

    I have a problem in visualizing panoramas and objects on my website (www.dee-lay.com); all other browsers do not have this flickering problem ..is something about my mistake?

    A good place to ask advice about web development is at the MozillaZine "Web Development/Standards Evangelism" forum.
    *http://forums.mozillazine.org/viewforum.php?f=25
    The helpers at that forum are more knowledgeable about web development issues.<br>
    You need to register at the MozillaZine forum site in order to post at that forum.

  • Using Firefox, I can login and browse my financial institution (NFCU) but I cannot pay bills. When I click the bill pay tab, the tab loads 66% and then hangs. Has anyone else reported having this issue?

    Using Firefox, I can login and browse my financial institution website (NFCU) but I cannot pay bills. When I click the bill pay tab, the tab loads about 66% and then hangs (loading). I have let it load until NFCU asks me if I want to cancel the session, a much to long of a load time. Has anyone else reported having this issue with NFCU or Mozilla Firefox 3.6.18?
    I have also posed the question to NFCU, currently awaiting response and will share what was given.

        jsavage9621,
    It pains me to hear about your experience with the Home Phone Connect.  This device usually works seamlessly and is a great alternative to a landline phone.  It sounds like we've done our fair share of work on your account here.  I'm going to go ahead and send you a Private Message so that we can access your account and review any open tickets for you.  I look forward to speaking with you.
    TrevorC_VZW
    Follow us on Twitter @VZWSupport

  • Unable to map nested java classes and objects in actionscript using flex

    Hi All..,
    Im a newbie in flex and actionscripting...,I however have a task assigned in this domain and goin insane since a week now with this problem...
    Problem explained:
    I have a class called Unit that inturn have many other classes like for example unit has an engineer class,,,Im not able to access the attributes of engineer using the unit class...that is unit.engineer,engineerid is giving me a null...however attributes unique to unit are accessible...
    Please help me out with this...,this problem has already eaten up my deadlines...
    Any help would be appreciated and thankz in advance..

    Thank you for the swift reply...,
    I actually have three java classes Unit , Engineer and UnitretrievalRemote....
    Unit contains engineer and also UnitRetrievalRemote has methods to retrieve unit which inturn should return engineer...,However i hav actionscript classes for both engineer and unit and mapped it apporopriately using the remotetag...and also my remote object is defined with a destination...
    The below code is my Actionscripting code included in mxml:
    import UnitScript.Engineer;//These are my Action Scripting Classes
    import UnitScript.Unit;
    import mx.collections.ArrayCollection;
    import mx.collections.ArrayList;
    import mx.controls.Alert;
    import mx.events.FlexEvent;
    import mx.rpc.events.ResultEvent;
    public var unitIds:ArrayCollection;//I'm passing an array from java end
    that retrieves the unitId's from the db using hibernate...
    public var index:int;
    public var unit:Unit;
    protected function initData():void
    ApplicationService.getUnitIds();
    //This is the remoteobject call using blazeds to load the method during application start from java..
    private function setUnitIds(event:ResultEvent):void
    unitIds  = ArrayCollection(event.result);
    private function setUnit(event:ResultEvent):void
    unit = Unit(event.result);
    //mx.controls.Alert.show( "Compling" );
    //mx.controls.Alert.show( "Engineer Method" +unit.engineerId);
    //mx.controls.Alert.show( " Engineer=="+unit.engineer) ;
    unitIDText.text = String( unit.unitId );
    customerName.text = unit.name;//displaying the contents fetched from the backend in the panel...
    setEngineer(event);
    private function setEngineer(event:ResultEvent):void
    unit.engineer = Engineer(event.result);
    unit = Unit(event.result);
    eng_id.text = String(unit.engineer.engineerId);
    mx.controls.Alert.show( "Engineer ID Please Show"+unit.engineer);
    //This prints a null.
    mx.controls.Alert.show( "Direct Engineer Id" +unit.engineer.category);
    // This prints a null.
    Remote object mapping is as below:
    <mx:RemoteObject
        id="ApplicationService"
        destination="Destination1" >
        <mx:method name="getUnitIds" result="setUnitIds(event)"
        fault="mx.controls.Alert.show(event.fault.faultString)"/>
        <mx:method name="getUnit" result="setUnit(event)"
        fault="mx.controls.Alert.show(event.fault.faultString)"/>
    </RemoteObject>

Maybe you are looking for

  • Changing of the timestamp in sender file adapter in archive mode

    Hi, I have a requirement where in I have to archive a file with timestamp different from that generated by XI. Please let me know if this can be done and if so how can we handle the changes to be made to the timestamp in the sender adapter in archive

  • Adding a text field in a custom infotype

    Hi, I have a custom infotype which deals with sickness data of the employee My requirement is that the user will enter an explaianation for his sickness...etc. Thus I need to incorporate a text field in my infotype. What I am planning is to give a bu

  • Internal Order, Available budget move to New Internal Order ???

    Hello, I am curious to know if at all we can move available budget from one order or another ? Thanks,

  • Cast and Crew Credits for Home Videos

    Hi Folks, When I purchase a movie from the iTunes store It comes with limited cast and crew credits shown alongside the cover art. How can I add similar information for my Home Videos? I have looked in "Get Info" on a purchased Movie, but can't see w

  • Equivalent program for RIPRCS00 in smart forms.

    Hi All. Can any body please tell me what is the equivalent program for RIPRCS00 in smart forms. Background: This is an upgradation from 46b to ECC 6.0.Print settings to call the SAP script with print program will be done by using the transaction code