Adding BranchGroup after compile() : live objects

hi.
after compile() my objRoot (BranchGroup), i detached some children and attached new ones with picking. but when i try to pick the new child object, i got these error messages.
Exception occurred during Behavior execution:
java.lang.IllegalStateException: Picking can only work if BranchGroup is alive
     at javax.media.j3d.BranchGroup.pickClosest
the code is as follows.
class MyClass ...
SimpleUniverse su;
su = ...;
public void createBranchGroup()
objRoot.addChild(new myBranchGroup(su));
class myBranchGroup extends BranchGroup(SimpleUniverse su)
TransformGroup trans = new TransformGroup();
PickTranslateBehavior pick = new PickTranslateBehavior(this, new Canvas3D     (SimpleUniverse.getPreferredConfiguration()), new BoundingBox() );
this.addChild(pick);
i setup needed capability bits (CHILDREN_READ, CHILDREN_WRITE, ENABLE_PICK_REPORTING, etc). but this code generate the error before. how can i add a child with picking? or how can i add a child that is alive?

Hi, I have the same Problem, do you or anyone else have the answer now?

Similar Messages

  • Adding Children After Made Live??

    i'm new to java3d and i am trying to reconnect a branchGroup node(and children) after using the detach method, while the program is live. I cannot seem to find a method to do this.
    If there is a way to do this please let me know.
    Paul

    before you make it live, you have to call
    .setCapability(ALLOW_CHILDREN_EXTEND);
    .setCapability(ALLOW_CHILDREN_WRITE);
    on the node you wish to add to.
    But beware; only branchgroups can be added to a live scene. If you want to add other nodes, you have to have them added to the branchgraph as children before you add the branchgraph itself.

  • Adding Non-Leading Ledger after Go Live

    Greetings SAP'ers,
    We are 2 months live with one of our Central American entities and we have New GL active, document splitting, etc., and now we find out we need a non-leading ledger for one of the countries for local reporting.  Does anyone have experience adding a non-leading ledger after go-live?  And if so, what are the implications of the documents already posted to that company code.  Is there a migration of posted documents?  The documentation is unclear as to whether this can be done.
    Please let me know your experience.
    Thanks,
    Jim Steinle

    Hello
    As far as I know, One company many company codes can have only one leading ledgers and non leading ledgers for each company code.
    In your case, you have not assigned a ledger to the company code. So the data must have been in the leading ledger.
    And now if you assign, all the data henceforth would go to the ledger, but not sure of the past data.
    Suggest you to create in quality and test check.
    If it does not work out, then there should be note specifying a program to revive the data from leading ledger ?
    Reg
    *assign points if useful / I am not sure if it is really useful

  • #include "%(Filename)_i.h" inserted into C++ source after adding connection points to ATL object using wizard.

    What is the subsitution for this appearant macro?  Solution will not build if removed.
    Using
    Adding Connection Points to an Object directions.

    Hi Shawn,
    Since you have posted this issue to the VC++ forum, I think you would get better support there:
    http://social.msdn.microsoft.com/Forums/vstudio/en-US/8494410e-9578-4b67-a08d-3380aac10fcf/include-filenameih-inserted-into-c-source-after-adding-connection-points-to-atl-object?forum=vcgeneral#503cbc06-40a2-4073-a56e-1b384b11b56e
    So I will move this thread to the Off-topic forum. Thanks for your understanding.
    Sincerely,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to compile invalid object after 10.2.0.2 to 10.2.0.5 upgrade in EBS R12

    Hi,
    We have total 31000 invalid object after 10.2.0.2 to 10.2.0.5 upgrade in EBS R12. How we compile these objects?

    Ashish,
    if you are seeing PLS-00801: internal error [1041] when trying to compile a package that is invalid, you may need to run utlirp.sql against the instance and then the utlrp.sql script. You need to pay attention to the manner in which you run these scripts. To run the utlirp.sql script you need to:
    shutdown the instance
    restart instance in upgrade mode
    startup upgrade
    run the utlirp.sql script @utlirp or @?/rdbms/admin/utlirp
    shutdown the instance and restart normally
    run utlrp.sql @utlrp or @?/rdbms/admin/utlrp
    If you are running an auto-config instance, you can source the db environment, optionally switch to the $ORACLE_HOME/rdbms/admin folder and shutdown the instance:
    sqlplus 'as /sysdba'
    shutdown immediate
    startup upgrade;
    @utilrp
    shutdown
    startup
    @utlrp
    After compiling everything, I would shutdown the instance using the ./addbctl stop script and then restart it. As stated elsewhere, it can take time to compile the invalids--many hours in some cases. The utlirp.sql script may run for quite awhile before it completes since it is invalidating objects.
    Please make sure you read up on utlirp.sql and PLS-00801 if that's what you are encountering.
    Riley

  • We have a situation where in an existing application after go live we need

    We have a situation where in an existing application after go live we need to add a new dimention. The fact is after adding the dimension the existing data will not have any value against this dimension(will have only null values). If so will it create a problem in loading or reporting?. How to resolve it?.

    My experience (on BPC 5.1 MS, and earlier versions) has been as follows:
    1.) create a new dimension, with at least 1 member. Pay particular attention to which member is the first base member in the hierarchy. (If you're planning to have multiple hierarchies in this dimension, wait for now on the ParentH2 etc. Start with just 1 hierarchy until you've completed these steps.) Process the dimension.
    2.) add that dimension to an existing application. When the application is processed, all of the existing data is assigned to that first base member of the new dimension.
    3.) If that's not sufficient, and you want to assign some data to another member of this new dimension, either use the "Move" package, or write custom SQL script logic, to get the data assigned to the correct members.

  • TDS Payment entry after Go-Live.

    Dear All,
               My client goes live on 01.04.2014. In their legacy system they used to pass entries related to TDS payment is like
    TDS -- Party A --- 100.00
    TDS -- Party B ---  200.00
    TDS -- Party C ---- 300.00
                 to  Bank a/c --- 600.00
    From this they used to get report like vendor wise TDS payment in their legacy system.
    Now my issue is how can I post this entry in SAP , where I can get Vendor wise TDS report. I know that if we will follow TDS cycle as per SAP standard then we can get the report from J1inmis. But here I have to make payment entries after go-live where I cannot follow TDS cycle for cut over entries/data.
    So kindly guide me to handle this issue .
    Regards
    Soumya

    Hi,
    Please do following steps :
    1. Go to transaction code J1INCHLN
    Click on Execute
    Enter
    Click on Document - Simulate
    If entry found O.K click on Save (Post)
    Clearing document
    Go to transaction code J1INBANK
    Select appropriate Challan
    Click on
    Pre - requisites
    1. Maintain number range for object J_1ICHLNNO in J1I9.
    Hope, this solves your issue else revert.
    Regards,
    Tejas

  • Error after compiling because of scroll

    I would like to get scrollbars (vertical and horizontal) after doing the Pascal's Triangle that appends in the JTextArea named "prog", inside the JPanel "dret".
    I've tried lots of things in teh code, but I get, after compiling:
    "Exception in thread "main" java.kang.IllegalArgumentException: adding container's parent to itself
    at java.awt.Container.addImpl(Container.java:309)
    at java.awt.Container.add(Container.java:210)
    at cerni.<init>(cerni.java:218)
    at cerni.main(cerni.java:261)
    Here the java code:
    import java.lang.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.io.IOException.*;
    import javax.swing.text.*;
    import java.util.*;
    import java.awt.event.ActionListener;
    import java.awt.event.ActionEvent;
    public class cerni extends JFrame {
         //declaraci� de variables.
         JPanel principal, centre, esquerre, dret, intro, esquerrealt, esquerrebaix;
         JButton element2, element3, element4, element6;
         JTextArea prog;
         JTextField element1, element5, introtext;
         static String newline = System.getProperty("line.separator");
         //funci� binominal.     
         public static int binominal (int n, int p) {
              if (p * (n-p) == 0)
                   return(1);
              else
                   return(binominal(n-1, p-1) + binominal(n-1,p));
         //funci� cerni.
         public cerni() {
              //t�tol.
              super(" �-_JavaPascal_-`");
              //definici� de variables.
              principal = new JPanel();
              centre = new JPanel();
              esquerre = new JPanel();
              dret = new JPanel();
              intro = new JPanel();
              esquerrealt = new JPanel();
              esquerrebaix = new JPanel();     
              element2 = new JButton("Informaci�");
              element4 = new JButton("Fer el triangle");
              element3 = new JButton("Sortir");     
              element6 = new JButton("Netejar la pantalla");          
              element1 = new JTextField("");
              element5 = new JTextField(" Entreu el valor d' n+1 files del triangle de Pascal.");
              introtext = new JTextField(" Benvinguts al programa JavaPascal, el programa escrit i compilat en java que dibuixa el triangle de Pascal.");
              prog = new JTextArea();
              //propietats de texts.
              introtext.setFont(new Font("Serif", Font.ITALIC, 16));          
              prog.setFont(new Font("Serif", Font.ITALIC, 16));
              prog.setLineWrap(true);
              prog.setCaretPosition(prog.getText().length());
              element5.setEditable(false);
              introtext.setEditable(false);
              prog.setEditable(false);
              //minimissatge del principi.          
              JOptionPane.showMessageDialog(principal, " Benvinguts al programa JavaPascal.", " -> Bon dia!! <- ",JOptionPane.INFORMATION_MESSAGE);
              //bot� netejar.
              element6.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent e){
                        String o = new String();
                        prog.setText(o);
              //bot� informaci�.
              element2.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent e){
                        JOptionPane.showMessageDialog(principal, "El programa JavaPascal ha estat escrit per Cerni Pol durant els dies 11 i 12 de maig del 2002.\nAmb una estructura de JFrame i JPanels, m�s JButtons i components de text, l'aplicaci� en q�esti� us exposar�\nel triangle de Pascal, en tantes files com li demaneu, al camp de text de la dreta.\nNo �s recomanable demanar un n m�s gran de 25, per aix� tenir un millor rendiment en l'operaci� de la compu-\ntadora. (rendiment provat en un processador Pentium2 a 450 mhz)\nQue us ho passeu b� amb aquest programa.\n(Enjoy.)");
              //bot� sortir.
              element3.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent e){
                        System.exit (0);
              //bot� pascal.
              element4.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent e){
                        int n, p, c;
                        c = 10;
                        String s1 = element1.getText();
                        c = Integer.parseInt(s1);
                        n = 0;
                        p = 0;
                        for (n=0; n<c+1; n++){
                             prog.append(cerni.newline);
                             for (p=0; p<n+1;p++){
                                  String s = Integer.toString(binominal (n,p));
                                  prog.append(s);
                                  prog.append(" ");
                   prog.append(cerni.newline);     
              //panell esquerrealt.
              esquerrealt.setLayout(new GridLayout(4, 0));
         esquerrealt.setBorder(BorderFactory.createEmptyBorder(
         30, //top
         20, //left
         40, //bottom
         20) //dret
              esquerrealt.add(element5);
              esquerrealt.add(element4);
              esquerrealt.add(element1);
              esquerrealt.add(element6);
              //panell esquerrebaix.
              esquerrebaix.setLayout(new GridLayout(0, 2));
              esquerrebaix.setBorder(BorderFactory.createEmptyBorder(30, 30, 20, 30));
              esquerrebaix.add(element2);
              esquerrebaix.add(element3);     
              //panell esquerre.
              esquerre.setLayout(new BorderLayout());
              esquerre.add(esquerrealt, "North");
              esquerre.add(esquerrebaix, "South");
              JScrollPane dretScrollPane = new JScrollPane(dret);
              dretScrollPane.createVerticalScrollBar();
              dretScrollPane.createHorizontalScrollBar();          
              dretScrollPane.setVerticalScrollBarPolicy
              (JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED);
              dretScrollPane.setHorizontalScrollBarPolicy
              (JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED);
              dret.add(dretScrollPane);          
              //panell dret.          
              dret.setLayout(new BorderLayout());
              dret.add(prog, "Center");
              //panell centre.
              centre.setPreferredSize(new Dimension(800, 700));
              centre.setBorder(BorderFactory.createEmptyBorder(30, 30, 20, 30));     
              centre.setLayout(new GridLayout(0, 2));
              centre.add(esquerre);
              centre.add(dret);     
              //panell intro.          
              intro.setLayout(new BorderLayout());
              intro.add(introtext, "Center");
              //panell principal.
              principal.setLayout(new BorderLayout());
              principal.setBorder(BorderFactory.createEmptyBorder(30, 30, 20, 30));
              principal.add(centre, "Center");
              principal.add(intro, "North");
              setContentPane(principal);
         //main.     
         public static void main (String[] args) {
              JFrame principal = new cerni();
              principal.addWindowListener (new WindowAdapter () {
                   public void windowClosing (WindowEvent e) {System.exit(0);}
         principal.show();
         principal.pack();
         principal.setSize(800, 700);
    Thanks to help me.

    Hi...
    The line is error is below...
    dret.add(dretScrollPane);You've already added dret to the scrollpane in the constructor of the scrollpane (some 6/7 lines above the line above). Simply add the scrollpane to the main frame (pane) now.
    Merry Christmas

  • How to keep Track of the Changes after Go live in OM

    Hi Experts,
    Need one information, after Go Live, PPOME is used by the end users for tracking or updating daily changes. While making he changes do we also need to keep a copy of the changes made in the Development server or it is fine if the changes are seen only in Production system.
    If any body has made changes to the existing Organization and Staffing, how do we keep a track of who has done the changes is there any standard report through which we can get the information.
    Please advice.
    Regards,
    Subbu

    Hi,
    Access the table through SM30. It comes blank as standard. Click "New Entries" and make entries for changes to be tracked. For example, whenever an org. unit changes 002 and 003 relationship, you will make entries like:
    01 O 1001 B002 Activate box checked
    01 O 1001 B003 Activate box checked
    Here, 01 is your active plan version, O is org. unit, 1001 is infotype and B002 and B003 are the subtypes. You can also use * for infotype and subtype which means every change will be logged.
    If you then run the report RHCDOC_DISPLAY through SA38, it will pick up all the changes pertaining to B002 and B003 relationship for org. units (in the above example).
    Similarly, you can set up this table for other object types.
    For more information, follow SPRO>Personnel Management>OM>Basic Settings>Activate change documents and go through the documentation for that node. Also, read up the documentation for the report.
    Hope this helps.
    Donnie

  • RH adding characters after opening quotation marks

    Robohelp HTML V7
    I have just discovered that throughout my help project, RH has added characters after the occurrence of either single or double quotation marks.
    So what should read as "values" reads as "r;values" in the editor and as &rvalues" in the compiled file.
    In the editor, it also flips the opening set of quotation marks so they are facing the same way as the closing ones.
    This is an especially big problem as a lot of the help content contains examples of logical expressions where these characters look as though they belong and will confuse the heck out of the user.
    I should be able to remove them using find and replace but how do I stop it happening again?
    I have tried adding quotation marks, then closing and re-opening the project and also compiling it but I can't seem to make it happen intentionally.
    Thanks

    See item 21
    http://www.grainge.org/pages/authoring/rh7/using_rh7.htm
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Open production orders and outbound delivery after go-live

    Hello All,
    I tried to search answer for this question but could not find answer.
    Could anybody suggest, what to do with open production orders and outbound delivery after go-live when WM is activated. As, after go-live WM-PP interface will be activated and system should consume material from storage bin specified in control cycle and that will happen for newly created production order after go-live,but what about existing production orders how to update production supply area against work center in production order.
    Similarly with outbound delivery how to update WM status after go-live.
    Thanks in advance

    Thanks to both Jurgen and Sander
    Regarding production order yes, one way is to re-read PP master data in production orders, but is that the only way to handle this or do we have any other option?
    I was aware of re-read PP master data but it will real time consuming and also if it will problematic for already released or partially confirmed production orders.

  • Exception handling is not working in GCC compile shared object

    Hello,
    I am facing very strange issue on Solaris x86_64 platform with C++ code compiled usging gcc.3.4.3.
    I have compiled shared object that load into web server process space while initialization. Whenever any exception generate in code base, it is not being caught by exception handler. Even though exception handlers are there. Same code is working fine since long time but on Solaris x86, Sparc arch, Linux platform
    With Dbx, I am getting following stack trace.
    Stack trace is
    dbx: internal error: reference through NULL pointer at line 973 in file symbol.cc
    [1] 0x11335(0x1, 0x1, 0x474e5543432b2b00, 0x59cb60, 0xfffffd7fffdff2b0, 0x11335), at 0x11335
    ---- hidden frames, use 'where -h' to see them all ----
    =>[4] __cxa_throw(obj = (nil), tinfo = (nil), dest = (nil), , line 75 in "eh_throw.cc"
    [5] OBWebGate_Authent(r = 0xfffffd7fff3fb300), line 86 in "apache.cpp"
    [6] ap_run_post_config(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0x444624
    [7] main(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0x42c39a
    I am using following link options.
    Compile option is
    /usr/sfw/bin/g++ -c -I/scratch/ashishas/view_storage/build/coreid1014/palantir/apache22/solaris-x86_64/include -m64 -fPIC -D_REENTRANT -Wall -g -o apache.o apache.cpp
    Link option is
    /usr/sfw/bin/g++ -shared -m64 -o apache.so apache.o -lsocket -lnsl -ldl -lpthread -lthread
    At line 86, we are just throwing simple exception which have catch handlers in place. Also we do have catch(...) handler as well.
    Surpursing things are..same issue didn't observe if we make it as executable.
    Issue only comes if this is shared object loaded on webserver. If this is plain shared object, opened by anyother exe, it works fine.
    Can someone help me out. This is completly blocking issue for us. Using Solaris Sun Studio compiler is no option as of now.

    shared object that load into web server process space
    ... same issue didn't observe if we make it as executable.When you "inject" your shared object into some other process a well-being of your exception handling depends on that other process.
    Mechanics of x64 stack traversing (unwind) performed when you throw the exception is quite complicated,
    particularly involving a "nearly-standartized" Unwind interface (say, Unwind_RaiseException).
    When we are talking about g++ on Solaris there are two implementations of unwind interface, one in libc and one in libgcc_s.so.
    When you g++-compile the executable you get it directly linked with libgcc_s.so and Unwind stuff resolves into libgccs.
    When g++-compiled shared object is loaded into non-g++-compiled executable's process _Unwind calls are most likely already resolved into Solaris libc.
    Thats why you might see the difference.
    Now, what exactly causes this difference can vary, I can only speculate.
    All that would not be a problem if _Unwind interface was completely standartized and properly implemented.
    However there are two issues currently:
    * gcc (libstdc++ in particular) happens to use additional non-standard _Unwind calls which are not present in Solaris libc
    naturally, implementation details of Unwind implementation in libc differs to that of libgccs, so when all the standard _Unwind
    routines are resolved into Solaris version and one non-standard _Unwind routine is resolved into gcc version you get a problem
    (most likely that is what happens with you)
    * libc Unwind sometimes is unable to decipher the code generated by gcc.
    However that is likely to happen with modern gcc (say, 4.4+) and not that likely with 3.4.3
    Btw, you can check your call frame to see where _Unwind calls come from:
    where -h -lIf you indeed stomped on "mixed _Unwind" problem then the only chance for you is to play with linker
    so it binds Unwind stuff from your library directly into libgccs.
    Not tried it myself though.
    regards,
    __Fedor.

  • In measurement doc.where to enter as on date counter readings after go live

    Dear All,
    After go live the sap system, user has to start creating the measurement document for counters which as follows.
    Suppose we have go lived on 1st feb 2010, so on that day already physical counter is showing following readings.
    Equipment - Counter - Current readings of meter (as on 1st feb 2010)
    DG Set - Running Hours - 3000
    Boiler - Running Hours - 2400
    Compressor - Running Hours - 3800
    Electricity meter - Units - 5800
    I am little confused about in which field of measurement document i have to enter the above as on date readings (1st feb 2010).
    Those fields are
    Counter reading
    Differnce
    I am also worried, because this is start of creation of measurement document & which makes basis for counter base preventive maintainence of equipment.
    Thanks & Regards,
    Sandeep

    Hi
    First time reading you entre in counter reading filed, then the subsequent daily reading you can entre in counter reading field or difference.
    It means, if you entre counter reading, system automatic calculate the difference (i.e current minus previous reading),
    or if you entre the difference, then system bring the counter reading as difference plus previous reading.
    Check these senerios in Quality and then you can take decision
    S Ramanujam

  • VB6 source code cannot connect to Oracle database after compile to file.exe

    Hi All,
    I have a problem about VB6 connect with Oracle database. It can connect as normal when run on VB program. After compiled to file.exe and execute, it cannot connect to Oracle database. What's going on ? Please advise? Thank you.
    Here is sample of my code connection.
    Option Explicit
    Private wsData As New ADODB.Connection
    wsData.ConnectionString = _
    "Provider=MSDAORA.1;User ID=lsp;Password=lsp2007;Data Source=prd01;Persist Security Info=False"
    wsData.Open
    End sub
    Rgads,
    Ats.

    Hi,
    I believe you're in the wrong forum, this forum is for Oracle Application Express.

  • Very new to photoshop I am trying to make changes to a photo and set it up as a smart object but after selecting smart object, the checkerboard appears and my photo dissppears

    Very new to photoshop I am trying to make changes to a photo and set it up as a smart object but after selecting smart object, the checkerboard appears and my photo dissppears

    Hello, thank you so much for your response! Here are some screenshots of my steps taken

Maybe you are looking for

  • How to capture number of tabular form rows in javascript

    Greetings All - I have a tabular form that I created manually. I am looking for a way in javascript to capture the number of rows that are displayed on the page. Is this possible? Regards, Mark

  • Stable at 3.9Ghz, fails at 4.0ghz

    Motherboard: x58M CPU: i7930 Block: 187 Speed: 3915.8 MHz Intelburntest shows this setting is stable, but when I crank the blck up a few more to get to 4.0, it fails and wont boot. I have all of my voltages set on auto and this has worked fine up to

  • GP: Replacements (parameter) in email templates

    Hi, I have created an email template to send a notification. Into this email I want to add several parameters (which should be done via replacement ?). But neither from the documenation nor by trying I can get these replacements show up. Right now my

  • Hard drive crash and iTunes...

    My hard drive crashed on my PC and I had to install a new drive. All of my music is on my iPod Mini but how do I get all of it down to iTunes? Also, how can I de-authorize my old drive since I will never be able to sign back on to that machine? Thank

  • JPanel containing JToolBars: how do I change its height?

    Hello, I have a JPanel containing several JToolBars. I add this Panel to the top of a GUI contentPane. The height of the JPanel seems to be too big - There seems to be about 4 pixels between the edge of the buttons, and the edge of the Panel, which g