Behavior initiation - getTransform form ref node

I have a behavior that runs every frame updating the position of a few objects. Right now the initial transform for those objects is set at the behavior initiation.
I would like to set the transform for the object when I build the scenegraph and then use the behavior to update the initial values.
I have tried getting the original values both in the constructor and the initialize() and the procesStimulus() methods of the behavior. I get a **java.lang.NullPointerException** every time.
It's as if the behavior can't read the value of the TransformGroup that
its supposed to change. Here is part of the code:
public gUserBehavior(TransformGroup tg_usership,TransformGroup tg_view){
tg_userTrans = tg_usership;
viewGroup = tg_view;
public void initialize() {
this.wakeupOn(kEvent);
tg_userTrans.getTransform(tr_userT); //this generates the error

Are the following set ?
For the TransformGroup :
setCapability(TransformGroup.ALLOW_TRANSFORM_READ);
setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
For the branchGroup :
setCapability( BranchGroup.ALLOW_CHILDREN_READ );
setCapability( BranchGroup.ALLOW_CHILDREN_WRITE );
Also,
The variable should be declared like the following :
// e.g. not TransformGroup abc = new TransformGroup()
// for this case.
TransformGroup tg_userTrans = null;
TransformGroup viewGroup = null;
public gUserBehavior(TransformGroup tg_usership,TransformGroup tg_view
tg_userTrans = tg_usership;
viewGroup = tg_view;

Similar Messages

  • Error while initiating travel form (Messge No.: 56568)

    Hi,
    Am facing the below error while simulating in T-Code: PR05:
    Error while initiating travel form (Messge No.: 56568)
    Kinldy guide me to come out of this error:
    Regards
    JS

    Hi Ray,
    Could you please let me know the config for this feature TRVFO as Abode form is not showing up in PR05 it gives the HTML format....
    I have done the basic config of the position 24 to Abode form active also checked the Table TA20SWITCH with the entry  'HTMLFORM_R_P', value 'X'
    Kindly assist.
    Thanks,
    FF

  • Error while initiating Travel Form

    I received the error 'Error while initiating form' in Travel Expense. It is linked to Message no. 56568. Does anyone know how I can fix this? I currently do not have access to OSS Note.
    Thanks.

    Hi,
    It seems to be a config issue.
    If you don't use Adobe but  ABAP Forms check/change one of:
    1) the customizing in the IMG activity "<i>Travel Expenses Control (Expert View)</i>":
    Set the indicator "<i>Other Settlement</i>" in the column 24 for the appropriate trip provision variant to the value: 0 (active), 1 (not active), 2 (not active only in PR05 and PR04)
    or
    2) the data in the table <i>V_T702N_A</i> - double click your variant on "A<i>ccounting Control in Expert View:Overview</i>" screen and change the value as above on Deails screen.
    Solution taken from (and checked with ECC 6.0 SP9):
    PR05 - Error while initiating travel form
    and
    http://sap.ittoolbox.com/groups/technical-functional/sap-hr/error-when-simulating-result-in-travel-management-1622499
    Let us know whether it helps.
    Regards,
    Przemek

  • Err while initiating travel form in pr05 after upgrade from ECC5.0 to 6.0

    Hi gurus,
    I was trying to simulate a trip in pr05. the err "err while initiating travel form" prompt up while initiating. This err only occurs after our ecc upgrade from 5.0 to 6.0. Before it was fine with Standard Travel Form.
    Does anyone of you know what's the problem? Any help you would provide will be highly appreciated!
    Rgs, Michelle

    Hello Michelle,
    There is already a possibility to use the HTML form for Travel
    Request and Travel Plan BUT is only possible after you apply the       
    Support Package 09 for EA-HR (SAPKGPHD09).                                                                               
    In table TA20SWITCH you can use the Attribute HTMLFORM_R_P and there   
    define an entry "X".                                                                               
    This functionality is ONLY delivered with Support Package 09.          
    Regards,
    Raynard

  • Error Initiating travel form in transaction TRIP

    Hi
    In transaction TRIP, after clicking change approved travel expense report, travel expense details are displayed. When I click on Results button, it is giving error message: Error while initiating travel form
    Message no. 56568.
    Can someone kindly help what is causing this error?
    Thanks
    Sriram

    Hello Sriram,
    No, only the 24th field in the Other Settlement you should change to 1, please see the F1 help for this field. Furthermore, please check the note 944221 if you want to use PDF form.
    Regards,
    Raynard

  • PR05 Travel Expense Manager.Messag : Error while initiating travel form

    Hi,
    We're upgrading from 4.6C to ECC6.0 . With transaction PR05 we're getting error message .
    Transaction PR05 -> entered in personnel no XXXXXXXXX and pressed the green checkmark. I then select a line - for this I selected the second line that said Transferred PAY. I then hit the RESULTs button on the menu bar and get the following error message:
    "Error while initiating travel form"
    Message no. 56568
    Please advise how to fix issue.
    Thanks.
    Saeed

    HI,
    My first participation.
    Entry the transaction SE16N in the table V_T702N_A and click F8.
    Select your variant code and double click.
    Displays 30 column (3 groups with 10 column)  and 6 lines.
    Change the column 4 (third group) and line 5 (Others calculation), is satisfied with 0, should change to 1.
    Helped ?

  • ECC6 - PR05 - Error while initiating travel form

    Hello Everybody,
    With the new version ECC6, I have this error message  "Error while initiating travel form" when I launch the results with the PR05 transaction.
    Thanks in advance for your help
    Best Regards

    We can not have PDF forms since it requires Java stack which is not
    installed on the system. we looked into the option of
    changing config to use the old ABAP form instead.
    We changed the config from 0 to 1 to desactivate the PDF form  and issue is resolved.
    Thanks.
    Saeed
    Edited by: Saeed Ahmad on Apr 3, 2010 2:09 PM

  • MSS - Error while initiating Travel Form

    Hi All,
    After applying travel request from ESS, request go to the Manager Self Service of his/her immediate boss.
    In the universal worklist of MSS when manager clicks on the link of travel request -  Error Comes as:
    "Error while initiating travel form "
    Basis and EP Guys are not able to identify the problem.
    Kindly let me know if any configuration is required in ECC or any activities to be done in EP.
    Very Thanks in Advance..
    Edwin

    Hi Edwin,
    per default, the Forms of Travel Management use the PDF-Format. For the generation of these PDFs "Adobe Document Services" must be installed on a java server and published via SM59 to the respective HCM Backend. If ADS is not available, Travel Management will still try to use it, thus you get this error. So your options are:
    1. Tell your Basis Guys they need to install and configure ADS on a java Server and make A connection in SM59 on the respective HCM Backend.
    For documentation check here:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/30a9630b-4f89-2a10-6fab-e311b3ffd9a6?quicklink=index&overridelayout=true
    OR
    2. You can change the displayed Format from PDF to HMTL by doing the following:
    - Go to Customizing Travel Management --> Travel Planning --> Expert View --> Define Enterprise-Wide Control Parameters
    - Make a new entry and choose HTMLFORM_R_P for attribute and X for value. Save.
    - Go to Customizing Travel Management --> Travel Expenses --> Travel Expenses Control --> Travel Expenses Control Expert View
    - Set the Parameter of Other Settlement No. 24 (number four for the right matrix) from 0 TO 1, thus setting Adobe Forms inactive.
    For Documentation check here:
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/43/23fee3cad24e87e10000000a422035/frameset.htm
    this should help you
    regards, Lukas

  • PR05 Error while initiating travel form

    Hi,
    We're upgrading from 4.6C to ECC6.0 . With transaction PR05 we're getting error message .
    Transaction PR05 -> entered in personnel no XXXXXXXXX  and pressed the green checkmark.  I then select a line - for this I selected the second line that said Transferred PAY.  I then hit the RESULTs button on the menu bar and get the following error message:
    "Error while initiating travel form"
    Message no. 56568
    Please advise how to fix issue.
    Thanks.
    Saeed

    We can not have PDF forms since it requires Java stack which is not
    installed on the system. we looked into the option of
    changing config to use the old ABAP form instead.
    We changed the config from 0 to 1 to desactivate the PDF form  and issue is resolved.
    Thanks.
    Saeed
    Edited by: Saeed Ahmad on Apr 3, 2010 2:09 PM

  • Error message:Error while initiating travel form

    Hi,
    I have two trip provision variants. In my 1st trip provision variant i am able to stimulate and view results using PR05 and TRIP. Employees assigned to my 2nd trip provision variant when i stimtulate the result using PR05 or TRIP  the system throws an error of "Error while initiating travel form".
    Can any one throw some light what the error is about and how do i fix it.
    Thanx & Regards,
    Sone

    Hi
       There will be a ADS configuration for PDF, We also got may times this error ! there is nothing to worry about,
    There we ill be one User Id for communication , If that is locked this error will occurs or check ADS configuration .
    saikumar.

  • Error while initiating travel form-Portal

    Hi Experts,
    I am facing an issue in portal - when I try to Display/Print the travel expense form-I am unable to see the PDF and the message that i get is "Error while initiating travel form". I am using EP7.0 SP17, have checked ADS configuration and is working fine. I have changed the value from 1 to 0 for order settlement(Field 24) also. When we restart the server, we will be able to see the PDF for few minutes, but after some time, the same error. Plz help me with solutions.
    Regards,
    Athulya.A

    Athulya
    Can you check the portal log and give me the log details
    Thanks
    Lakshmi

  • Smart Forms: Adress nodes

    Hi all!
    In the adress-node in Smart Forms you can only define the number of lines, that are used for the output. If you use e.g. 4 lines the output looks something like this:
    <b>  company name
      street 123
      city
      state</b>
    Is it possible to write the adress with the Smart Forms adress-node in only one line, like this?
    <b>  company name, street 123, city, state</b>
    Best regards,
    Stefan

    Hi
    Use function
    <b>ADDRESS_INTO_PRINTFORM</b> How <b>many line u</b> want address u can specify in function.
    Address format according to Post Office guidelines
    <b>ADDRESS_SHOW_PRINTFORM</b>
    see FM documentation.
    Note. It's enough to import two parameters:
    ADDRESS_TYPE = 1 (Firm or Organization, SAP Address)
    ADDRESS_NUMBER
    <b>ADDR_GET</b> Get address
    Hope this will be useful.
    Regards
    vinod

  • Behavior of Web Forms

    Hi all,
    Currently we are in the process of testing our forms that will be deployed on the web and we seems to be having issue with the fact that when you scroll up/down the display is not smooth. The screen becomes black and shady with all display modes.
    We are using forms 6i, Oracle 8i (8.1.7) and Oracle 9ias 1.0.2.2 Jinitiator and IE 5.5 and 6.0 on Win NT 4.0 (SP 4.0) and Win 2000 PE (SP 2).
    Also when custom log on screen is displayed the cursor will not respond (ie no blinking cursor) and tab will not advance cursor to the next text item until you minimize and then maximize the browser window before this effects come on.
    I hope we are not the only one having this behavior and is the behaviour from forms or IE or windows.

    You probably need to make sure you can reproduce the problem in a simple case but if you are seeing the Form flicker when you scroll the scroll bar in IE then this is infact and IE problem when it tries to re-draw the screen as each pixel is scrolled. On eway around thsi could be to set separateFrame=true so that Forms is not inside the browser. Also if you can try with IE and Jinit you can prove if the issue is with IE.
    Regards
    Grant Ronald
    Forms Product Management
    null

  • Error in initiating travel form

    Hi,
    1.  I am getting error in viewing travle expense form while   simulate in TRIP and PR05.
    The setting for PDF form is inactive.
    2.   Sometimes the trip is not getting posted as gives error  "Trip with non postable amount " , why this error?
    Rgds
    PV

    Hello Sriram,
    No, only the 24th field in the Other Settlement you should change to 1, please see the F1 help for this field. Furthermore, please check the note 944221 if you want to use PDF form.
    Regards,
    Raynard

  • Behavior of XML Form Builder after SP 13 upgrade

    Dear Experts,
    We are working on E.P 7.0 SP 10 and we've recently applied SP 13 and started testing the system.
    What we found on XML Form Builder is, we are unable to add schema (under Data Model) to the project.
    Can some one help us where exactly went wrong.
    Best Regards,
    Satyadev

    Hi,
    i think, i have faced the same problem recently.
    I had the problem that i saw the 3 categorys: namespace,data schema and properties.
    But i couldn't open them by clicking on them. This is also your problem?
    What i did with lots of hours of testing.
    1.Once you have managed to add something to the data schema you are fine. Then it will always be opened. ( Try opening an existing project and you will see that.)
    So you could open an old project and modify this.
    2. It is still possible to open the Data Schema. I don't know where to click exactly but i click like 100s of times on the symbol of Data Schema and with a little bit of luck it opens. If it doesn't work, i restart the Forms Builder and i try again.
    Regards,
    Marcus

Maybe you are looking for

  • Premiere Pro with Blackmagic Intensity Pro; Importer

    I'm using a Blackmagic Intensity Pro with Premiere Pro. I don't Import anything with it directly, i just use it to preview my timeline on a seperate monitor. The issue I have is when I try to import a AVI-file to my project before I had the Intensity

  • Pls advice

    I am working in an MNC as xi consultant ...And I got an offer from one another mnc to work as an xi consultant .I have one doubt regarding my job offer and i think you can give me correct advice ...the req in my next company is in BPO sector and my d

  • Converting WSDL to Internal Table

    Hi,   I have a scenario in which I am receiving a WSDL file through EDI. Now that WSDL file contains two parts i.e. One containing Data Security part and Other is my actual data part.   Now my concern is with the actual data. I need to get the data f

  • Elements 12 install problem

    Latest MacBook Pro with latest opsystem updates. I have Elements family v11 installed.  Trying to update to Elements v12. Tells me to close appliction "Elements autoanalyser". I have not un-installed v11 - in case update doesn't work...which it does

  • Re-installing my ipod

    I have just re-stored my I-pod. I have a rather old i-pod and i was no-longer able to update my songs. To do this i had to up-date my ipod, and to do this i had to restore my i-pod, as it was origionally installed on a PC, and i now have a Mac. After