JSP Custom tag not working correctly for multiple users

I am doing some support work for an existing web system. When doing single user access (a custom tag is called within the JSP); the output of the Custom tag is fine. However, during multiple user access to the JSP, as I could see on the log files, 2 users access the custom tag at exactly the same time- the output of one of the users was incorrect. The custom tag btw, uses TreeMap, Stringbuffer and does not have a body, only attributes passed to it. It takes an input file and a Hashmap as input attributes and it sets a string in the page context which is later being used in the JSP. No error is logged, its just that the string produced(placed in the page context) is incorrect. This only happens when this tag is called at same time(when multiple users accessing the page) Has anyone encountered this problem? Is there a known pooling/thread problem with custom tags?

in a servlet/jsp (a jsp is compiled into a servlet),
the class atrributes are shared. only the
variables declared in the doservice (doGet or doPost)
method are threadsafe.
post your jsp plzhere's the snippet of the jsp code:
<%@ page language="java"
errorPage="Error.jsp"
autoFlush="false"
buffer="128kb"
import="java.text.*,
java.math.BigDecimal,
java.rmi.RemoteException,
java.util.*,
java.io.*,
%>
<%@ include file="Secure.jsp" %>
// a set of request.getParameter are being called here
HashMap myMap = new HashMap();
myMap.put(xmlDPhoneNumber, dPhoneNumber);
myMap.put(xmlDPhoneType, "D");
myMap.put(xmlDPhoneExt, dExtension);
myMap.put(xmlDPhoneDigits, dPhoneDigits);
// other myMap putting of key values are called here
%>
<test:applyCustomerSearchValues id="resultXml" xmlTemplate="/xml/message/CustomerUpdateRequest.xml"
xmlMap="<%= myMap %>" />
<test:transformXMLString id="customerUpdateRequest"
xmlString="<%= resultXml.toString() %>"
xslFileName="/xsl/message/CustomerCreateRequest.xsl"
paramMap="<%= PMap %>"/>
now here's the thing: the xml produced by test:applyCustomerSearchValues is resultXml which is used in test:transformXMLString. I got no problem with the output of test:transformXMLString. I am sure that a phone number is being passed into the former as part of the HashMap key-value. However when test:applyCustomerSearchValues is called when 2 users access the jsp, it seems like the the first xml produced does not have the phone number in it - but the other has it. The xml is OK for both users, its just that the values of the HashMap do not seem to be passed correctly into the xml produced.
--- here's the snippet of the log, the first httpWorkerThread-80-6 does not have the phone number, however the second one-httpWorkerThread-80-7 has the phone number. The first one should also have a phone number as in the start of the log, the number was listed, but as the system called the test:applyCustomerSearchValues tag, the number was not included. There are different phone numbers for the 2 users. The odd thing here is, the userID which is the 'LastUpdatedBy' element has been set correctly. The userID is being fetched from a session attribute while the phone number is fetched from a request parameter, both are being placed in the HashMap attribute passed to the custom tag.
2007-06-05 10:55:41,954 DEBUG [httpWorkerThread-80-6] (?:?) - ApplyCustomerSearchValuesTag : String produced is :<Values><Customer>
<Status>
     <CustomerType></CustomerType>
     <FirstContactDate>2007-06-05</FirstContactDate>
     <StatusFlags>
          <Fraud>N</Fraud>
          <BadCheck>N</BadCheck>
          <BadCredit>N</BadCredit>
          <DoNotMerge>N</DoNotMerge>
          <ARHoldRefundCheck>N</ARHoldRefundCheck>
     </StatusFlags>
     <LastUpdatedDateTime>2007-06-05 10:55:41</LastUpdatedDateTime>
     <LastUpdatedBy>5555</LastUpdatedBy>
     <OPAlertClass></OPAlertClass>
     <MailListStoreID></MailListStoreID>
     <OriginatingSource>CSA</OriginatingSource>
</Status>
<DPhone id="D">
     <DPhoneNumber></DPhoneNumber>
     <DPhoneDigits></DPhoneDigits>
     <DPhoneType></DPhoneType>
     <DExtension></DExtension>
     <DAreaCode></DAreaCode>
     <DPhoneCountryCode></DPhoneCountryCode>
</DPhone>
</Customer>
</Values>
2007-06-05 10:55:41,954 DEBUG [httpWorkerThread-80-7] (?:?) - ApplyCustomerSearchValuesTag : String produced is :<Values><Customer>
<Status>
     <CustomerType>N</CustomerType>
     <FirstContactDate>2007-06-05</FirstContactDate>
     <StatusFlags>
          <Fraud>N</Fraud>
          <BadCheck>N</BadCheck>
          <BadCredit>N</BadCredit>
          <DoNotMerge>N</DoNotMerge>
          <ARHoldRefundCheck>N</ARHoldRefundCheck>
     </StatusFlags>
     <LastUpdatedDateTime>2007-06-05 10:55:41</LastUpdatedDateTime>
     <LastUpdatedBy>1840</LastUpdatedBy>
     <OPAlertClass></OPAlertClass>
     <MailListStoreID></MailListStoreID>
     <OriginatingSource>CSA</OriginatingSource>
</Status>
<DPhone id="D">
     <DPhoneNumber>(123) 123-4788</DPhoneNumber>
     <DPhoneDigits>1231234788</DPhoneDigits>
     <DPhoneType>D</DPhoneType>
     <DExtension></DExtension>
     <DAreaCode>123</DAreaCode>
     <DPhoneCountryCode>US</DPhoneCountryCode>
</DPhone>
</Customer>
</Values>
Message was edited by:
Mutya

Similar Messages

  • Can I write Design-time for JSP custom tag(not JSF components)

    I have some old JSP custom tags(not JSF components), and I want to use them in the IDE through the toolbox.
    Now I have already written the BeanInfos for these tags, and they can be drag from the toolbox; but it will throw a Exception when render the tags, and the properties in the Property Editor are not which I describe in the BeanInfos.
    How can I write Design-time for these tags? or whether it is possible to write the Design-time for these tags?
    the Exception is shown as follow:
    java.lang.ClassCastException
         at com.sun.rave.insync.faces.FacesPageUnit.renderNode(FacesPageUnit.java:1347)
    [catch] at com.sun.rave.insync.faces.FacesPageUnit.renderBean(FacesPageUnit.java:1086)
         at com.sun.rave.insync.faces.FacesPageUnit.getFacesRenderTree(FacesPageUnit.java:993)
         at com.sun.rave.css2.FacesSupport.getFacesHtml(FacesSupport.java:152)
         at com.sun.rave.css2.CssContainerBox.addNode(CssContainerBox.java:373)
         at com.sun.rave.css2.CssContainerBox.createChildren(CssContainerBox.java:354)
         at com.sun.rave.css2.DocumentBox.createChildren(DocumentBox.java:90)
         at com.sun.rave.css2.DocumentBox.relayout(DocumentBox.java:160)
         at com.sun.rave.css2.PageBox.layout(PageBox.java:392)
         at com.sun.rave.css2.PageBox.relayout(PageBox.java:454)
         at com.sun.rave.css2.DocumentBox.redoLayout(DocumentBox.java:313)
         at com.sun.rave.css2.PageBox.redoLayout(PageBox.java:460)
         at com.sun.rave.css2.DocumentBox.changed(DocumentBox.java:634)
         at com.sun.rave.designer.DesignerPaneUI$UpdateHandler.changedUpdate(DesignerPaneUI.java:1012)
         at com.sun.rave.text.Document.fireChangedUpdate(Document.java:851)
         at com.sun.rave.text.Document$5.run(Document.java:631)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

    I have some old JSP custom tags(not JSF components), and I want to use them in the IDE through the toolbox.
    Now I have already written the BeanInfos for these tags, and they can be drag from the toolbox; but it will throw a Exception when render the tags, and the properties in the Property Editor are not which I describe in the BeanInfos.
    How can I write Design-time for these tags? or whether it is possible to write the Design-time for these tags?
    the Exception is shown as follow:
    java.lang.ClassCastException
         at com.sun.rave.insync.faces.FacesPageUnit.renderNode(FacesPageUnit.java:1347)
    [catch] at com.sun.rave.insync.faces.FacesPageUnit.renderBean(FacesPageUnit.java:1086)
         at com.sun.rave.insync.faces.FacesPageUnit.getFacesRenderTree(FacesPageUnit.java:993)
         at com.sun.rave.css2.FacesSupport.getFacesHtml(FacesSupport.java:152)
         at com.sun.rave.css2.CssContainerBox.addNode(CssContainerBox.java:373)
         at com.sun.rave.css2.CssContainerBox.createChildren(CssContainerBox.java:354)
         at com.sun.rave.css2.DocumentBox.createChildren(DocumentBox.java:90)
         at com.sun.rave.css2.DocumentBox.relayout(DocumentBox.java:160)
         at com.sun.rave.css2.PageBox.layout(PageBox.java:392)
         at com.sun.rave.css2.PageBox.relayout(PageBox.java:454)
         at com.sun.rave.css2.DocumentBox.redoLayout(DocumentBox.java:313)
         at com.sun.rave.css2.PageBox.redoLayout(PageBox.java:460)
         at com.sun.rave.css2.DocumentBox.changed(DocumentBox.java:634)
         at com.sun.rave.designer.DesignerPaneUI$UpdateHandler.changedUpdate(DesignerPaneUI.java:1012)
         at com.sun.rave.text.Document.fireChangedUpdate(Document.java:851)
         at com.sun.rave.text.Document$5.run(Document.java:631)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

  • Sorting not working correctly for date field in alv report

    Hi All,
    My report displays many rows also containing date type fields of bldat,budat .
    When I sort the report selecting field of type bldat budat the sorting is not correct for the year.
    Ex:
    Invoice doc dat
    01-25-2011
    01-21-2011
    02-02-2011
    10-25-2010
    11-20-2010
    If I use ascending then it is sorted as :
    Invoice doc dat
    01-21-2011
    01-25-2011
    02-02-2011
    10-20-2010
    10-25-2010
    Why the sorting is not working correct for year.(2010 records should have been first).
    The field wa_tab-bldat is of type char10.
    It is populated as wa_tab-bldat = bsak-bldat.
    Kindly suggest what can be done.

    The field wa_tab-bldat is of type char10
    Then what it does is correct.
    Refer to type datum...it will work

  • Email pushing not working correctly for office email - 3 seperate devices/carriers

    We switched email hosts several months ago and since our email pushing has not worked correctly. Our host/IT guy has been very unwilling to help me through this (I get the pleasure of being the in-house IT source)
    I personally am on AT&T have no problems with the other 3 emails I have set up on my blackberry. However I receive my work account one time a day at roughly 6:15. Another user is on Alltel and he receives spotty emails throughout the day, but his gmail account comes through instantly. The third user is on nextel and he receives his 2-3 times per day.
    I began to think this was an email host issue since the three of us are all on different carriers, until I found out a fourth user, also on nextel, receives his emails fine.
    Users 1-3 are on Outlook 07 on various versions of the Curve. We have all our messages to stay on the server.
    User 4 is on the older nextel blackberry push to talk, and is not on outlook. 
    We do not have an exchange server. Our emails were all set up through our devices.
    Any suggestions? The answers I have received through our carriers is to make sure that our messages are set to be left on the server. Everyone else at the office has given up - but for me this is the quest for the Holy Grail.......I'm determined find the answer!
    Thank you in advance for any suggestions.
    Caitlin Talbot 

    Potential solution for windows for a side-by-side install. This works for me.
    To setup a firefox install side by side so that links from external programs (like email) can open (so you don't get a "Firefox is already running but is not responding" message) do the following.
    The solution entails the use of the -no-remote switch. Don't use it for the default browser. Use it for the non default browser.
    I'll use firefox 3.6 and firefox 4.0 as examples but this should work for future versions.
    + Install firefox 3.6 and Firefox 4.0 in different directories. Eg.
    C:\Program Files\Mozilla Firefox\firefox.exe
    C:\Program Files\Mozilla Firefox 4\firefox.exe
    + Open profile manager. Start > Run : firefox.exe -ProfileManager
    + In profile manager create Two Profiles.
    firefox3.6
    firefox4
    + In profile manager select firefox 4 as your default (assuming you want to default to the latest) and tick "Don't ask at startup"
    + Create two windows shortcuts.
    * General: Mozilla Firefox 4 (default). Shortcut > Target: "C:\Program Files\Mozilla Firefox 4\firefox.exe". Shortcut > Start In: "C:\Program Files\Mozilla Firefox 4"
    * General: Mozilla Firefox 3.6. Shortcut > Target: "C:\Program Files\Mozilla Firefox\firefox.exe" -p firefox3.6 -no-remote. Shortcut > Start In: "C:\Program Files\Mozilla Firefox"
    That's it. Links from external programs should now open in your default browser.
    Further details see. [http://kb.mozillazine.org/Opening_a_new_instance_of_your_Mozilla_application_with_another_profile Opening a new instance of your Mozilla application with another profile]

  • Apply custom name not working correctly

    Wow... I am beginning to lose hope, again, that FCPX will ever be relatively bug free. 
    When applying custom clip names in 10.1, the software is very buggy and gets some things flat wrong.  For example, if you create a custom clip name with a counter, and you apply that to a set of clips, it doesn't show that change in the even browser unless you hit apply twice.  Then you see what you expect, but as soon as you click in the browser, the names change to a counter collection that starts counting with the lowest number in the new sequence starting at  the next number in the sequence from the original set. Hard to explain, but if you have 5 clips, and you start from 1, then on first click there is no change to the clip names, on second click you get a sequence starting from 1 and ending at 5 (what you want), but when you click on the event browser the clip names change from 1 - 5 to 6 - 10, presumably because you had to hit the button twice in the first place.   That's rediculous.
    Also, applying orginal camera name doesn't work correctly for all clips.
    Also, saving new custom names with names (changing from "untitled" to a name like "outside sequence #") works intermitently.
    This reminds me of the old custom naming bugs in 10.03 - .06.    Come on, Apple.  Does anyone test this stuff before it's released?

    Correct.  But the behavior I describe is correct too.  And one people should be aware of as they are likely to encounter this if they don't do as you described, click off the clips, but instead hit the apply custom name button more than once.  Buggy

  • Triggering a sub work flow for multiple users at same time.

    I have a scenario in which I have created sub workflow as an activity for approval process. This sub work flow should be triggered for multiple users at the same time and their decison is independent of each other.
    This is like creating multipe instance of the same sub work flow and then the sub work flow runs indepedently as a new work flow for each of the approver and the process is completeded for approver independently.
    How can this be achieved?

    Tyr to do like this,
    1. First include the subworkflow in the main workflow template.
    2. Now include standard Block Step in the main workflow template.
    3. In the block select the block type as ParForEach.
    4. Before doing the 3rd point make sure that all the agents for whom you want whom you want to initiate the workflow, populate them in a Multiline conatiner element.
    5. Once completing 3rd and 4th points open the block step under the tab ParallelProcessing  assign the multiline container element name in the   for e;g if the multi line container element name is COSTCENTER then do the binding like below. the conatiner element COSTCENTERLINE is created by default once you include the multi line conatiner element under parller processing tab.
    &COSTCENTER[&_WF_PARFOREACH_INDEX&]&   -------->     &_COSTCENTER_LINE&
    Now assign the agent of the subworkflow as COSTCENTERLINE , imean if suppose you have 3 entries in the internal table then three separate and for three different agents the workflow is instantiated.

  • 'Get Variant' button not working correctly for report

    Hi,
    I have created an internet service for a custom report.  For some reason, when I click the 'Get Variant' button I get a popup, but it does not have any entries to choose from.  It is blank.  In SE80, the button works correctly.  Any ideas?

    I figured it out myself.  I didn't have the parameter ~webgui set.

  • ITunes Explicit tag not working correctly

    Hello, I have a problem with manually added 'explicit' tag in iTunes. iTunes show tag correctly near the song, but there is no red 'E' label in the ''now playing'' box.
    How can I fix this problem?
    I tried to re-add a song into the library, it's not helps.
    I think, that this is the different tags in the file, how can I check the second tag? Maybe someone have a script to manually add that tag to AAC file?

    Same for me. I don't know why that happens. I restarted my Macbook, quit iTunes, and it still did not work.

  • Immediate login, custom redirect not working correctly

    I have a page with some conditional regions on it: show if user is logged in, else show something else. That sort of thing.
    This page is a tease to convince users to register so there a prominent "If you're a member, log in here, if not register for free."
    If someone clicks the Register button, they are taken to the registration page along with a url variable to identify the place they've just come from.
    The registration page has an Immediate Login trigger on it - which has always worked without a hitch.
    The registration page also has some conditional redirect triggers attached to the registration insert. The conditional redirect triggers GET the url variable being passed and if the condition is matched, the registration page sends them back where they came from - just like a login function would - registered and now logged in due to the immediate login trigger.
    This has all worked wonderfully until this past weekend when the whole system fell apart.
    For reasons unknown, the immediate login has stopped working. The redirect continues to work but people are correctly returned to the page with the logged in/logged out conditional regions but doing so without getting logged in, so of course they see the same stuff they just saw - stuff telling them to register or login.
    Immediate login continues from every other direction, just this particular set of redirections seems to totally wonk out the person returning from the registration page properly logged in.
    Anyone with any experience with this kind of thing? It's very essential to the way my web operation works.
    I deeply appreciate any interest or advice.

    Nope. This is the strangest thing I've encountered.
    After changing the conditional trigger to AFTER, it worked once. I logged out to test again. Now it's right back to not working. Shut down the browser too.
    As before, the redirect works as it's supposed to but the user gets redirected without being logged in.

  • Pre-approved Overtime (IT2007) Not Working Correctly for Night Shift WSR

    Hi All,
    I have come across this issue in pre-approved overtime (IT2007) for night shift WSR.
    The planned working time for an employee on 04-Jan-14 is from 22:30, 04-Jan-14 to 06:30, 05-Jan-14.
    The employee clocks in at 22:30 on 04-Jan-14 and continues work till 10:30 on 05-Jan-14. Hence, he has worked 4 hours of overtime from 6:30 am - 10:30 am on 05-Jan-14 for the night shift of 04-Jan-14.
    A pre-approved overtime quota was created in IT2007 for 05-Jan-14 from 06:30 am to 10:30 am.
    However, the overtime doesn't get calculated because in IT2007, there is no previous day indicator to assign 06:30 am - 10:30 am on 05-Jan-14 to the night shift of 04-Jan-14.
    The time pair in TIP table of 04-Jan-14 will have overtime timings from 30.5000 to 34.5000.
    The overtime approval will be for 05-Jan-14 from 6.5000 to 10.5000. Hence, there won't be any overtime wage types generated.
    If there was previous day indicator in IT2007, then the pre-approval timings will be from 30.5000 to 34.5000. This will ensure the pre-approved overtime timings will match with the overtime worked and will generate overtime.
    Please refer the below screenshot for reference.
    It seems that this issue was reported last year too in SCN. Below is the link for the same:
    http://scn.sap.com/thread/3343292
    I have raised this issue with SAP and waiting for their response. So far, it hasn't been satisfactory.
    Does anyone have any solution to this?
    Thanks and regards,
    Vivek Barnwal

    Hi Johannes,
    SAP actually provides a standard functionality for this requirement. Actually, it was stupid of me not to do enough research and come to the conclusion that this is not possible in standard SAP.
    For pre-approved overtime for night shift where timings are considered, please write as below:
    GOT  TO20   01   TEX
    TEX will ensure that the approval for next date gets considered for current day.
    I hope this resolves your query.
    Thank and regards,
    Vivek Barnwal

  • Dashboard widgets not rendering correct for second user account

    Hi - on my macbook I have two user accounts. My problem here is that the dashboard widgets do not render correct on the second account.
    This goes for most widgets - the typical effect is that the text is not show, as in the unit converter - text is not shown in weather widget - and so on.
    If I switch to the other (Admin) account then everything seems to work perfectly. I have tried removing the .plist files and changing the second account to an Admin account but with no luck.
    Is there anything else I ought to try?
    regards
    Christian
    MacBook (black)   Mac OS X (10.4.7)  

    So - solved - conflicting Helvetica font.

  • Search does not work correctly when including user name field

    I'm attempting to search for the word authenticator in my previous posts. I'm typing authenticator in the search box, my user ID (mthompson) in the username field, and selecting the appropriate datd range. There are no results found.
    That is wrong. When I click on the 'Your Control Panel' link, I very clearly see my previous posts containing that term.
    Why doesn't this work?

    The search functionality on these forums doesn't allow for a username to be entered, but it does allow for a User ID. this is the ID associated with your user when you hover over a link to your own user.
    In your case it's: 476329

  • JSF Design Time View Not working correctly for ADF/JSF components

    My project is not using any external tag libraries. It is based purely on ADF core/html and JSF core/html components. The design time view does not show the appropriate presentation, everything is shown as nexted frame containers (I suppose how you would show a component that does not have a visual representation).
    If I create a new project and copy my jsp (jsf) pages over they show perfectly. I did this activity and all was going well in the new project and then I lost the design time view again. I cannot tell you what I did to cause the issue, maybe it was a modification to the web.xml as has been suggested in some other threads. Can anyone tell me what I should be looking for that causes this problem, what corrective actions I might take to eliminate the issues

    Ok I have isolated this issue. In my phase listener I had this line of code:
    private static final Logger _logger =  Logger.getLogger(EigRequest.class.getPackage().getName());
    and I changed it to
    private static final Logger _logger =
    Logger.getLogger(EigRequest.class.getName());
    and design mode started to work. I guess either of the above works for me although I do not understand why the line works when you run the application but not in design mode.
    Moral to the story is if something fails in any one of these types of decorators you will drop into a raw view mode. The question I have is if errors are occuring how do I figure out where they may be. There is no indication that anything is wrong with the exception that you lose most of the design mode functionality.
    This was not a compile issue, this was not a runtime issue. It took me quite a few hours of writing a test program to validate that it was not just writing a phase-listener issue; then launching, editing, relaunching the application to find the problem. I will say that a good portion of the code came from a Eclipse project. If you add the offending lines of code while using JDeveloper you do not loose design mode immediately. You only see the problem the next time you start JDeveloper which complicates finding the problem.

  • Filter Between in QAAWS not working correctly for period, how to resolve?

    I created universe based on query on bw and then created query in QaaWs.
    I trying to query summary of sale amount for the periods that selected on the prompts screen.
    I put sale amount in Result Ojbects pane and put periods in Filter Objects pane.
    And set periods option to prompts in between. When I entry periods 008.2009 - 009.2009
    The result of sale amount is not correct. It's seem only show the value of one period.
    Does anybody know about this issue and maybe how to resolve?
    Thanks.

    Hello David,
    I use an OLE DB connection to a MS SQL Server 2005.
    Connection Details say:
    Version 2.0.0.29
    Build 12.1.0.882
    Network Layer OLE DB
    DBMS Engine MS SQL Server 2205
    Database used is MS AdventureWorksDW sample database (data warehouse sample)
    I noticed that only with this database, ranking is selectable (not with the AdventureWorks non-DW sample database).
    Ranking itself seems to work, if I activated ranking (e.g. Top 10 customers) everything is ok.
    (Also if I  send a direct SQL command with ranking to the DBMS, it seems ok.)
    Issue arise if I add year filter. Combination of rank and year filter does not seem to work properly.
    Any idea why? Or do you wanted to say that this issue might also be related to DBMS support? I would hope / expect to get a straight "ranking not supoorted" and not incorrect data back ...
    Thanks for your answer anyway!
    Regards,
    Stefan

  • ToComp is not working correctly for Particular and Element 3d (pics included to demonstrate problem)

    So, Im using AE CS6. The two plugins concerned are Element 3d and Trapcode Particular.
    Im going to include alot of information since I'm not sure what would come in handy to know to solve this.
    The final goal is to have the particle emitter follow the left wing of the object when the object is moved using the null named 'Scythe'. (See first photo)
    'Scythe' is the brownish null at the center of the object.
    I have used the follwing expression line on the Particles X,Y emitter:
    thisComp.layer("Element Position 2").toComp([0,0,0]);
    'Element Position 2' is the green Null you see in this picture, and is also the proper position for the particle emitter.
    http://imgur.com/qtucKAx
    However, when this expression is applied it moves the emitter location. As shown in the following picture.
    http://imgur.com/uSezbYY
    The emitter is only in the proper location on the first frame (first pic), on the second frame (second pic) and every frame afterwards, it is elavated to another position.
    Can someone help me correct the new position without manually adjusting the ([0,0,0]) value in the expression line?

    If I am not mistaken, the null you are trying to use is parented. You need to use toWorld instead of toComp.

Maybe you are looking for

  • Generation of XML using XSD

    I Have to generate XML file using XSD. I have the xsd available with me ,i have the values of elements also,now i need create a xml file using the XSD or DTD, with the values i got from the database. Kindly help.

  • How do I re-install GarageBand on my computer? I had to delete it because of midi driver issues.

    This is extremly frustrating. I was sent the wrong disk for my OSX as well, so I can't even use that disk. I called customer service and was told I had to pay for someone to help me fix this issue.

  • GL in MIRO transaction

    All, I have activated the functionality of posting to G/L accounts and material accounts in transaction MIRO . WHile doing invoice verification ,I entered two G/L accounts and amount for each, also the tax code which is same for both G/Ls . Now I cli

  • Trial version of Lightroom 4

    After downloading a trial version of Lightroom4 I get the following error message when launching the product "An error occurred when attempting to change modules" Could anyone advise how to solve this issue please?

  • Swing component

    i want a good tutorial on SWING. o want to make Calender in SWING. can any one help me