"write on" behavior problem

I’ve drawn shapes many times with the “write on” behavior. All of a sudden, it’s not working. Here’s the problem. “Write On” completes drawing and then reverses a little bit on the last frame. I included frame shots. If anyone can help, I would appreciate it.
Side note: I know I can do the same thing with key frames. However, I’d rather solve the “write on” behavior problem.

Ah, nevermind! I think I may have solved the issue myself. It seems if you click on the Group tab to the left of the main timeline as opposed to the clip within the timeline, it allows you to change the group and scale it while also keeping different elements together. Could be helpful for anyone with a similar question.

Similar Messages

  • Replicator and Write on behavior in Motion 5

    I have a shape (bezier or B-spline) with a write on behavior. When I use this shape as object source for replicator it ignores the write on behavior unless I make the source (the shape) visible. In Motion 4 it doesn't do this, it works as expected. Is this a bug in Motion 5 or has something changed in the way Motion 5 works?

    The only thing I did having to do with sound input/midi settings was when I attached a microphone to my computer to record a voiceover in Garageband. I then used that voiceover file (after converting/sharing to iTunes) in this Motion project. However, I did that before I encountered this problem. I was able to export an audio file out of Motion that included that voiceover file, so I know everything was still fine after changing any settings for the microphone. I was very, very lucky because I was able to utilize that last audio export to finish my project. I made a bunch of changes to the images/clips (about 4 days worth), but thankfully I hadn't made any changes to the audio. Of course, there would have been some tweaks I would have liked to have been able to make to the audio, but it was fine as is. My issue going forward is that I want to do more of these projects for clients, but I would hate to run into this problem again. It just boggles my mind why it was working perfectly fine, and then it just stopped. And I learned my lesson a few years ago not to make any system or program updates while I'm working on a project. So, I hadn't made any updates to Motion or OS X. Now that the project is done, I did update my operating system (that was before I tried trashing the Motion pref file).

  • Write On behavior on a circle creates artifact

    Hi guys,
    I created a very simple project: Two circles with two different colors. The upper circle uses the write on behavior to hide the lower circle.
    The problem is an artifact that is created during this animation on the circle. You can see it in the screenshot. It happens inside Motion 5 and inside FCPX, even after rendering. Does anyone of you have a solution, or is this a bug?
    Thanks,
    Chris

    Well, it seems like the first and last point offsets show the "animation" icon (the gear), because I applied the write-on behavior to them. The second circle does not have any behavior applied (I just checked my project again and it seems like I deleted its behavior since I opened this discussion). The artifacts are still there.
    Here's a new screenshot.

  • Hello I am in Afghanistan i searched that in realtek but that told me you coulde not use this sit   I writ again my problem    i installed win 7 32 bit in my mac pro 13-inch, Late 2011  Processor  2.4 GHz Intel Core i5

    On Thu, Jun 14, 2012 at 12:54 PM, mahdi ehsani <[email protected]> wrote:
    On Sun, Jun 10, 2012 at 7:29 PM, Apple Support Communities Updates <[email protected]> wrote:
    Apple Support Communities
    Re: after install windows 7 32 bit there is no sound my mac is os x 10.7.2
    created by The hatter in Boot Camp - View the full discussion
    This solved my question 
    This helped me
    you have RealTek on your workstation and just download the current driver which is easy to findwww.realtek.com
    This solved my question 
    This helped me
    Did this help? Go to the message, sign in, and reply or mark the response as correct or helpful
    Start a new discussion in the same community/choose-container!input.jspa?contentType=1&containerType=14&container=2143&ac_ci d=op123456
    You are receiving this email from Apple Support Communities. You can change your email preferences in your Apple Support Communities Profile.
    © 2012 Apple Inc. 1 Infinite Loop, MS 303-3DM, Cupertino, CA 95014.
    All Rights Reserved | Privacy Policy | Apple Support Communities Terms of Use | Apple Support
    hello I am in Afghanistan i searched that in realtek but that told me you coulde not use this sit 
    I writ again my problem  
    i installed win 7 32 bit in my mac pro 13-inch, Late 2011  Processor  2.4 GHz Intel Core i5   Software  Mac OS X Lion 10.7.2 (11C74) 
    but there is no sound in windows 7  please send me a address sit for downoad driver that i can use in Afghanistan 
    believe it is confus me and other friend that bought 5 mac's that are the same and i serched a lot of site without result
    please help us by address site please please .....
    <Edited by Host>

    hello I am in Afghanistan i searched that in realtek but that told me you coulde not use this sit
    I writ again my problem 
    i installed win 7 32 bit in my mac pro 13-inch, Late 2011  Processor  2.4 GHz Intel Core i5   Software  Mac OS X Lion 10.7.2 (11C74)
    but there is no sound in windows 7  please send me a address sit for downoad driver that i can use in Afghanistan
    believe it is confus me and other friend that bought 5 mac's that are the same and i serched a lot of site without result

  • Tracking a write on behavior

    Here's what I want to do. I want a glow filter to track the starting point of a shapes write on behavior. Is this possible? The only tracking behaviors that seem to work with shapes (on my system) are Match Move (which doesn't give a tracking point to adjust) and Shape>Track Points (which requires the tracking points from an Analyze Motion tracker). However I can't seem to get Analyze Motion to work on a shape. Is this normal?
    Thanks in advance.

    Thanks for the reply Specialcase.
    The Light Rays filter. And yes the leading edge of the shape as it "writes on".
    But the bigger issue is when tracking a shape none of the trackers gives me the crosshairs. Like say I wanted to make a magic wand (using a shape) and track the end of it. As I recall I was able to do that before and now I can't. Am I hallucinating or is it possible to do this?

  • Delaying the erase with the Write On behavior

    Hey everyone.
    Does anyone know how to delay the "erase" with the write on behavior.
    When I apply the write on effect to my outline the behavior and set it to draw and erase. Motion draws the shape and as soon as it's drawn motion starts the erase the shape. I want to delay that erase and have the entire shape stay drawn for a few seconds.
    I thought I could play with it in the keyframe editor but there are no options to adjust that specific ability of the write on effect.
    Thanks.

    Hi,
    this had me stumped for a bit too. All you have to do though is drag the start point of the shape to an earlier point in the time line. This will automatically drag the start point of the write-on behaviour with it (annoying!). Then drag the start point of the behaviour to a later point on the time line. (It will allow you to this independently of the start point of the shape as long as you drag it forward in time.) Now just reposition the shape on the timeline accordingly. Hey presto! - A delayed writeon/erase effect. Hope this is clear enough.
    M.

  • Animate Z position with write on behavior

    I'm looking to animate the Z position (and X,Y) of a shape that's using write on behavior. i don't want the whole shape's Z position to shift to the new position, i only want it to apply to the section that's currently being 'written on'.
    something like this video:
    http://www.apple.com/finalcutstudio/motion/effortless-graphics.html#overlay-shad ows
    motion 4.

    Actually, what's clear in that video is that they are not using a shape at all to generate the light trail. Shapes are only 2D or local 3D which means that they'll obey layer order, not Z depth if drawn along that axis. Only replicators and particle emitters can react as the light in the video does. They probably used a particle emitter.
    To get a light streak to mimic that video, you need to create an emitter from a circle or similar shape (highly feathering it helps it look like it's glowing). Change the emitter to 3D (Global, not local) and the speed to 0. Change the life to something short like 1.5 seconds.
    Then use the Motion Path behavior to animate the emitter around the various layers in 3D space.
    Having the speed at 0 means that although the emitter is moving, each dot that it emits stays put until it dies. With a high birth rate, it looks like a streak of light.
    There are many more things done to make that light streak including color, blending and trailing off the end, but those are the basics.
    Andy

  • Write On behavior...

    I can't figure this out by reading the manual....I've tried.
    I am in Motion 3 and I drew a funny-shaped oval with the bezier tool. I only want the outline of that oval so I unchecked "fill" and then applied the "write on" behavior to that oval outline. The actual write-on behavior works great and looks great, but as soon as the behavior completes its write-on action, the outline of the oval disappears. I think this is happening because I have applied a shape style to the oval outline, but even still, what the heck am I missing?

    Actually Mark, I just tried the exact same process using a different shape style (chalk) and it worked just fine. I was previously using the "Pencil Medium" style under the "traditional" tab and it would disappear every time it was finished drawing my shape. The duration of the shape layer was taking up the entire project for sure. So, it had something to do with the actual type of shape style I was using... weird. I have noticed that shape styles have done unpredictable things in the past - could this be a bug, or do I still not know how to properly work with these new shape styles?

  • Write on behavior stutters

    I created a very simple project: A map and a B-Spline. Then, I added the "write on" behavior to the B-Spline.
    Unfortunately, when I play back the video (and also after rendering), the B-Spline revealing stutters. Every few frames, a small part of the B-Spline is revealed and then, it freezes again. (Whereas the movement of the camera is smooth).
    I can't figure out, what might be causing this. I tried it with a bezier, too: Same story.
    Does anyone have an idea?
    Thanks!
    Chris

    That looks like a normal behavior to me, even though it's not what you want. The timing of it is good and consistent. However, if you created a "shape" (line) and added the Write-On behavior separately (which it seems you've done), then what you probably want is to go into the Behavior inspector and change the Speed from Natural to any of the other options [Eases, Accelerate/Decelerate, Contant, or Custom (which is automagically keyframed from 0% to 100% over the life of the behavior by default) .]
    If you ask me -- Natural is broken.  It's supposed to change speed based on the curvature of a line, etc... but I get that halting progress with it as well...
    If the above is not the scenario you used, but are instead using an Airbrush Stroke, then the write-on effect is affected by the Spacing of the Outline > Brush Profile > Spacing. In which case, turning the spacing down to 5% should create a much smoother write on.

  • Write on behavior - stroke disappears

    Sorry, I've read the manual (decently) and searched the forum - I just can't figure it out. I drew a stroke with the bezier tool, changed its shape style to "marker" under the "traditional" shape styles category, and applied a "write on" behavior to the stroke. I shorten the behavior a bit, play back the animation and the shape writes on just fine - but at the end of the "write on" animation, the stroke disappears. This doesn't happen if I don't apply the "marker" style and just animate a regular line. Am I missing something here, or is it just another bug? Any help would be great. Thanks.

    Chinees, thanks for the input. Unfortunately, I had already checked that and yes, it is long enough. I have since switched my paint style to "chalk, tight" and it works just fine. Since posting this question, I have found a couple other styles that did this same disappearing act as the "marker" style at the end of the "write on" behavior. Has anyone else been able to duplicate this with the "marker" style? By the way, I am working on a MBP which I know has some screwy issues with HD projects in Motion. From what I read, I think this stems from the MBP's graphic's card. Thanks again Chinees.

  • Write on behavior setting

    When I create a text using Write On behavior, writing process ends in the very end of a letter’s track. How can I tune the behavior so that a letter to be written quickly and left in the screen in static?
    Sorry for may bad English

    If you are applying the Type On behavior (from Text Animation) to text, then select the behavior in the Layers List, move the playhead to where you want the text to finish typing on, and type the 'O' key to set an out point. You can also simply drag the end of the behavior in the mini-timeline to the end point you require. Once all the characters are "on", they'll stay on.

  • Custom mouselook  behavior problems

    I am trying to write a custom behavior for mouselook (I know there is one but I want the challenge and the custom levels). I can't seem to get it to move...
    Interaction1 class (JFrame):
    import javax.swing.JFrame;
    import java.awt.event.*;
    import javax.swing.Timer;
    import java.awt.GraphicsConfiguration;
    import com.sun.j3d.utils.universe.SimpleUniverse;
    import javax.media.j3d.*;
    import java.awt.Container;
    import java.awt.FlowLayout;
    import javax.vecmath.*;
    import java.awt.Image;
    import java.awt.Graphics;
    import java.awt.image.BufferedImage;
    import javax.swing.ImageIcon;
    import java.awt.Polygon;
    import com.sun.j3d.utils.geometry.GeometryInfo;
    import com.sun.j3d.utils.geometry.Triangulator;
    import com.sun.j3d.utils.geometry.Stripifier;
    import com.sun.j3d.utils.universe.ViewingPlatform;
    import com.sun.j3d.utils.universe.Viewer;
    public class Interaction1 extends JFrame implements ActionListener, KeyListener
        public static final long serialVersionUID=1;
        private Timer t;
        private Canvas3D canvas;
        public Interaction1()
            super("Interaction1");
            setSize(700,530);
            setVisible(true);
            Container c = getContentPane();
            c.setLayout(new FlowLayout());
            GraphicsConfiguration config = SimpleUniverse.getPreferredConfiguration();
            canvas = new Canvas3D(config);
            canvas.setSize(640,480);
            canvas.setVisible(true);
            c.add(canvas);
            ViewingPlatform vp = new ViewingPlatform();
            vp.setNominalViewingTransform();
            vp.getViewPlatformTransform().setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
            vp.setViewPlatformBehavior( new MouseLookBehavior(vp.getViewPlatformTransform(),this,5f) );
            vp.getViewPlatformBehavior().setSchedulingBounds(new BoundingSphere());
            SimpleUniverse univ = new SimpleUniverse(vp, new Viewer(canvas));
            BranchGroup scene = createSceneGraph();
            scene.compile();
            univ.addBranchGraph(scene);
            addKeyListener(this);
            t=new Timer(10,this);
        private BranchGroup createSceneGraph()
            BranchGroup i = new BranchGroup();
            Background bg = new Background();
            bg.setColor(.75f,1f,1f);
            bg.setApplicationBounds(new BoundingSphere(new Point3d(),500.0));
            Shape3D side1 = new Shape3D();
            QuadArray abgeom = new QuadArray(4,QuadArray.COORDINATES|QuadArray.TEXTURE_COORDINATE_2);
            //order TL,BL,BR,TR
            abgeom.setCoordinate(0,new Point3f(-3f,4f,0f));//Front
            abgeom.setCoordinate(1,new Point3f(-3f,0f,0f));
            abgeom.setCoordinate(2,new Point3f(3f,0f,0f));
            abgeom.setCoordinate(3,new Point3f(3f,4f,0f));
            abgeom.setTextureCoordinate(0,0,new TexCoord2f(0f,0f));//Front
            abgeom.setTextureCoordinate(0,1,new TexCoord2f(0f,1f));
            abgeom.setTextureCoordinate(0,2,new TexCoord2f(1f,1f));
            abgeom.setTextureCoordinate(0,3,new TexCoord2f(1f,0f));
            side1.setGeometry(abgeom);
            Appearance abapp = new Appearance();
            Texture2D abtex = new Texture2D(Texture.BASE_LEVEL,Texture.RGB,64,64);
            abtex.setImage(0,new ImageComponent2D(ImageComponent.FORMAT_RGB,toBufferedImage((new ImageIcon("buildingside.jpg")).getImage())));
            abapp.setTexture(abtex);
            side1.setAppearance(abapp);
            i.addChild(bg);
            i.addChild(side1);
            return i;
        public void keyPressed(KeyEvent e)
            if(e.getKeyCode()==KeyEvent.VK_ESCAPE)
              System.exit(0);
        public void keyReleased(KeyEvent e)
        public void keyTyped(KeyEvent e)
        private BufferedImage toBufferedImage(Image a)
            BufferedImage b = new BufferedImage(64,64,BufferedImage.TYPE_INT_RGB);
            Graphics g = b.getGraphics();
            g.drawImage(a,0,0,null);
            return b;
        public void actionPerformed(ActionEvent e)
            repaint();
        public void paint(Graphics g)
            canvas.repaint();
        public static void main(String args[])
            JFrame a = new Interaction1();
    }MouseLookBehavior class (ViewPlatformBehavior):
    import java.util.Enumeration;
    import javax.media.j3d.*;
    import java.awt.event.MouseEvent;
    import java.awt.Robot;
    import java.awt.Window;
    import java.awt.Point;
    import java.awt.Dimension;
    import com.sun.j3d.utils.behaviors.vp.ViewPlatformBehavior;
    public class MouseLookBehavior extends ViewPlatformBehavior
        private TransformGroup target;
        private Transform3D yaw;
        private double yawTheta=0.0;
        private Robot robot;
        private Window window;
        private float sensitivity;
        public MouseLookBehavior(TransformGroup ooc, Window a, float senstvty)
            target=ooc;
            window = a;
            try{robot = new Robot();}catch(Exception e){}
            sensitivity=senstvty;
            yaw = new Transform3D();
        public MouseLookBehavior(TransformGroup ooc, Window a)
            target=ooc;
            window = a;
            try{robot = new Robot();}catch(Exception e){}
            sensitivity=2f;
            yaw = new Transform3D();
        public void initialize()
            wakeupOn(new WakeupOnAWTEvent(MouseEvent.MOUSE_MOVED));
        public void processStimulus(Enumeration e)
            MouseEvent a = (MouseEvent)(((WakeupOnAWTEvent)e.nextElement()).getAWTEvent()[0]);
            Point winloc = window.getLocation(null);
            Dimension windim = window.getSize(null);
            winloc.translate((int)windim.getWidth()/2,(int)windim.getHeight()/2);
            int difx=a.getX()-(int)(windim.getWidth()/2),dify=a.getY()-(int)(windim.getWidth()/2);
            difx*=sensitivity;
            dify*=sensitivity;
            yawTheta+=difx;
            yaw.rotY(yawTheta);
            wakeupOn(new WakeupOnAWTEvent(MouseEvent.MOUSE_MOVED));
            robot.mouseMove((int)windim.getWidth()/2,(int)windim.getHeight()/2);
    PLEASE NOTE: I have been trying to get an exit command in there but it hasn't worked, so if you decide to run this, you will have to ctrl-alt-dlt it and alt-e it to end the task which brings up an AWT question... why wont it exit?
    ALSO NOTE: I am aware of some extra useless variables in the processStimulus method. This is for future versions once I get this one to work. Ignore it.

    Perfect! Thanks. I've got a new problem now. whenever I try to use the mouselook, the object disappears. And so I tryed turning to find it and it still isn't there...
    Main class
    import javax.swing.JFrame;
    import java.awt.event.*;
    import javax.swing.Timer;
    import java.awt.GraphicsConfiguration;
    import com.sun.j3d.utils.universe.SimpleUniverse;
    import javax.media.j3d.*;
    import java.awt.Container;
    import java.awt.FlowLayout;
    import javax.vecmath.*;
    import java.awt.Image;
    import java.awt.Graphics;
    import java.awt.image.BufferedImage;
    import javax.swing.ImageIcon;
    import java.awt.Polygon;
    import com.sun.j3d.utils.geometry.GeometryInfo;
    import com.sun.j3d.utils.geometry.Triangulator;
    import com.sun.j3d.utils.geometry.Stripifier;
    import com.sun.j3d.utils.universe.ViewingPlatform;
    import com.sun.j3d.utils.universe.Viewer;
    import com.sun.j3d.utils.behaviors.mouse.MouseRotate;
    public class Interaction1 extends JFrame implements KeyListener
        public static final long serialVersionUID=1;
        private Canvas3D canvas;
        public Interaction1()
            super("Interaction1");
            setSize(700,530);
            setVisible(true);
            Container c = getContentPane();
            c.setLayout(new FlowLayout());
            GraphicsConfiguration config = SimpleUniverse.getPreferredConfiguration();
            canvas = new Canvas3D(config);
            canvas.setSize(640,480);
            canvas.setVisible(true);
            c.add(canvas);
            ViewingPlatform vp = new ViewingPlatform();
            vp.setNominalViewingTransform();
            vp.getViewPlatformTransform().setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
            vp.setViewPlatformBehavior( new MouseLookBehavior(vp.getViewPlatformTransform(),this,10f));
            vp.getViewPlatformBehavior().setSchedulingBounds(new BoundingSphere());
            SimpleUniverse univ = new SimpleUniverse(vp, new Viewer(canvas));
            BranchGroup scene = createSceneGraph();
            scene.compile();
            univ.addBranchGraph(scene);
            addKeyListener(this);
        private BranchGroup createSceneGraph()
            BranchGroup i = new BranchGroup();
            Background bg = new Background();
            bg.setColor(.75f,1f,1f);
            bg.setApplicationBounds(new BoundingSphere(new Point3d(),500.0));
            Shape3D side1 = new Shape3D();
            QuadArray abgeom = new QuadArray(4,QuadArray.COORDINATES|QuadArray.TEXTURE_COORDINATE_2);
            //order TL,BL,BR,TR
            abgeom.setCoordinate(0,new Point3f(-3f,4f,0f));//Front
            abgeom.setCoordinate(1,new Point3f(-3f,0f,0f));
            abgeom.setCoordinate(2,new Point3f(3f,0f,0f));
            abgeom.setCoordinate(3,new Point3f(3f,4f,0f));
            abgeom.setTextureCoordinate(0,0,new TexCoord2f(0f,0f));//Front
            abgeom.setTextureCoordinate(0,1,new TexCoord2f(0f,1f));
            abgeom.setTextureCoordinate(0,2,new TexCoord2f(1f,1f));
            abgeom.setTextureCoordinate(0,3,new TexCoord2f(1f,0f));
            side1.setGeometry(abgeom);
            Appearance abapp = new Appearance();
            Texture2D abtex = new Texture2D(Texture.BASE_LEVEL,Texture.RGB,64,64);
            abtex.setImage(0,new ImageComponent2D(ImageComponent.FORMAT_RGB,toBufferedImage((new ImageIcon("buildingside.jpg")).getImage())));
            abapp.setTexture(abtex);
            side1.setAppearance(abapp);
            i.addChild(bg);
            i.addChild(side1);
            return i;
        public void keyPressed(KeyEvent e)
            if(e.getKeyCode()==KeyEvent.VK_ESCAPE)
              System.exit(0);
        public void keyReleased(KeyEvent e)
        public void keyTyped(KeyEvent e)
        private BufferedImage toBufferedImage(Image a)
            BufferedImage b = new BufferedImage(64,64,BufferedImage.TYPE_INT_RGB);
            Graphics g = b.getGraphics();
            g.drawImage(a,0,0,null);
            return b;
        public static void main(String args[])
            JFrame a = new Interaction1();
    }MouseLookBehavior:
    import java.util.Enumeration;
    import javax.media.j3d.*;
    import java.awt.event.MouseEvent;
    import java.awt.Robot;
    import java.awt.Window;
    import java.awt.Point;
    import java.awt.Dimension;
    import com.sun.j3d.utils.behaviors.vp.ViewPlatformBehavior;
    public class MouseLookBehavior extends ViewPlatformBehavior
        private TransformGroup target;
        private Transform3D yaw;
        private double yawTheta=0.0;
        private Robot robot;
        private Window window;
        private float sensitivity;
        public MouseLookBehavior(TransformGroup ooc, Window a, float senstvty)
            target=ooc;
            window = a;
            try{robot = new Robot();}catch(Exception e){}
            sensitivity=senstvty;
            yaw = new Transform3D();
        public MouseLookBehavior(TransformGroup ooc, Window a)
            target=ooc;
            window = a;
            try{robot = new Robot();}catch(Exception e){}
            sensitivity=2f;
            yaw = new Transform3D();
        public void initialize()
            wakeupOn(new WakeupOnAWTEvent(MouseEvent.MOUSE_MOVED));
        public void processStimulus(Enumeration e)
            MouseEvent a = (MouseEvent)(((WakeupOnAWTEvent)e.nextElement()).getAWTEvent()[0]);
            Point winloc = window.getLocation(null);
            Dimension windim = window.getSize(null);
            winloc.translate((int)windim.getWidth()/2,(int)windim.getHeight()/2);
            int difx=a.getX()-(int)(windim.getWidth()/2),dify=a.getY()-(int)(windim.getWidth()/2);
            difx*=sensitivity;
            dify*=sensitivity;
            yawTheta+=difx;
            yaw.rotY(yawTheta/180*Math.PI);
            target.setTransform(yaw);
            robot.mouseMove((int)windim.getWidth()/2,(int)windim.getHeight()/2);
            wakeupOn(new WakeupOnAWTEvent(MouseEvent.MOUSE_MOVED));
    }

  • Attempted to read or write protected memory problems

    Hi there, we are having some issues with ODP.net. every few days after our system has been used quite a lot we get the "Attempted to read or write protected memory. This is often an indication that other memory is corrupt." errors.
    I can reproduce this just by launching some threads that all make some DB calls, and after a while (took over an hour in the case) we encounter the error. It it not just one DB call causing it, looking at the logs it does appear to only be calls to 'Get' data, but just about all of them have failed at some point.
    Yes we have upgraded to the latest version 11.1.0.6.20 and it still happens. Here are some stack traces, Oracle.DataAccess.Client.OpsSql.AllocSqlValCtx seems to be the most common in the stack traces though, others do occur.
    at Oracle.DataAccess.Client.OpsSql.AllocSqlValCtx(OpoSqlValCtx*& pOpoSqlValCtx) at Oracle.DataAccess.Client.OracleCommand.BuildCommandText() at Oracle.DataAccess.Client.OracleCommand.ExecuteReader(Boolean requery, Boolean fillRequest, CommandBehavior behavior) at Oracle.DataAccess.Client.OracleCommand.ExecuteReader() at BUPA.HUGO.Common.DataAccessLayer.Database.StoredProcedures.ProspectSP.GetPersonProspectStoredProcedure.GetFullPersonDetailsDataReader(Int64 personId) in c:\Projects\CC.NETbuild_Hugo_Prod\Server\RF_Hugo_Services\Common\DataAccessLayer\Database\StoredProcedures\ProspectSP\GetPersonProspectStoredProcedure.cs:line 43
    Sometime the top of the stack is
    at Oracle.DataAccess.Client.OpsSql.CopySqlValCtx(OpoSqlValCtx* pOpoSqlValCtxSrc, OpoSqlValCtx*& pOpoSqlValCtxDst) at Oracle.DataAccess.Client.OracleParameter.PostBind_RefCursor(OracleConnection conn, OpoSqlValCtx* pOpoSqlValCtx) at Oracle.DataAccess.Client.OracleParameter.PostBind(OracleConnection conn, OpoSqlValCtx* pOpoSqlValCtx, Int32 arraySize) at Oracle.DataAccess.Client.OracleCommand.ExecuteReader(Boolean requery, Boolean fillRequest, CommandBehavior behavior) at
    or
    at Oracle.DataAccess.Client.OpsDac.Read(IntPtr opsConCtx, IntPtr opsErrCtx, IntPtr opsSqlCtx, IntPtr& opsDacCtx, OpoSqlValCtx* pOpoSqlValCtx, OpoMetValCtx* pOpoMetValCtx, OpoDacValCtx* pOpoDacValCtx) at Oracle.DataAccess.Client.OracleDataReader.Read()
    Does anyone have any ideas? I saw some older post just asking people to try the new version (which we have). Any help on this matter would be great. We are having trouble figuring out if it is something we are not doing correctly or if there is a bug in ODP.NET.
    Thank you,
    Luke

    Hello,
    I've got exactly the same problem. We're using ODP.NET 10g R2 10.2.0.3.02 with RAC database. I found that this error only occurs after a Failover event.
    My application is .NET 3.0 WPF app.
    I'm able to reproduce this error at any time.
    Please have a look at some source code:
    //opening OracleConnection:
    theConn.Open();
    theConn.Failover += new OracleFailoverEventHandler(theConn_Failover);
    // handling the Failover event as stated in the docs:
    static FailoverReturnCode theConn_Failover(object sender, OracleFailoverEventArgs eventArgs)
    Logging.LogInfo("DB-FailoverEvent: " + eventArgs.FailoverEvent.ToString() + " - Type: " + eventArgs.FailoverType.ToString());
    switch (eventArgs.FailoverEvent)
    case FailoverEvent.Begin:
    Logging.LogInfo("FailoverEvent.Begin - Failover is starting");
    Logging.LogInfo("FailoverType = " + eventArgs.FailoverType.ToString());
    break; // TODO: might not be correct. Was : Exit Select
    case FailoverEvent.End:
    Logging.LogInfo("FailoverEvent.End - Failover was successful");
    break; // TODO: might not be correct. Was : Exit Select
    case FailoverEvent.Reauth:
    Logging.LogInfo("FailoverEvent.Reauth - User reauthenticated");
    break; // TODO: might not be correct. Was : Exit Select
    case FailoverEvent.Error:
    Logging.LogInfo("FailoverEvent.Error - Failover was unsuccessful");
    // Sleep for 3 sec and Retry
    Thread.Sleep(3000);
    return FailoverReturnCode.Retry;
    case FailoverEvent.Abort:
    Logging.LogInfo("FailoverEvent.Abort - Failover was unsuccessful");
    break; // TODO: might not be correct. Was : Exit Select
    default:
    Logging.LogInfo("Invalid FailoverEvent : " + eventArgs.FailoverEvent.ToString());
    break; // TODO: might not be correct. Was : Exit Select
    // comment following lines will not raise an error
    if (connect2DB())
    return FailoverReturnCode.Success;
    else
    return FailoverReturnCode.Retry;
    And here's the source for checking DB-connection:
    private static bool connect2DB()
    if (null == myConn)
    myConn = openOracleConnection();
    if (null == myConn)
    Thread.Sleep(5000);
    return false;
    try
    if ((myConn.State == ConnectionState.Broken) || (myConn.State == ConnectionState.Closed))
    myConn = openOracleConnection();
    String sql = "SELECT 1 FROM dual";
    using (OracleCommand cmd = new OracleCommand())
    cmd.Connection = myConn;
    cmd.CommandText = sql;
    cmd.CommandTimeout = 2;
    using (OracleDataReader dr = cmd.ExecuteReader())
    dr.Read();
    catch (Exception ex)
    Logging.LogError(ex);
    closeOracleConnection(myConn);
    myConn = openOracleConnection();
    setDBConnState();
    if (null != myConn)
    if ((myConn.State == ConnectionState.Broken) || (myConn.State == ConnectionState.Closed))
    return false;
    else
    return true;
    else
    return false;
    When I don't call "connect2DB()" in the failover event handler then everything is fine - otherwise oops the error occurs after approx. 14 hours after application runtime.
    Regards
    Sven

  • Time stamp data write to file problem

    Hello!
    I'm just learning LabView, and have arrived at the stage of writing time-stamped data to text files.
    This seems clear enough, however when I examine the file written to disk, I find 4 unexpected characters: 3 spaces and one seemingly random number or punctuation mark, preceding every line!
    An example is:
       .2005-07-15 10:55:40.0 the value is 0.0000 cm
       .2005-07-15 10:55:40.5 the value is 1.0000 cm
    The four characters "   ." are those whose origin I can't understand. I can't seem to get rid of them.
    They seem to change with the input string, but not in a manner I can predict or understand.
    Any hints or explanations would be greatly appreciated, as I'm at wit's end after 1/2 day of puzzling over this little problem!
    Alex
    Attachments:
    time stamp data write VIs.zip ‏24 KB

    Alex,
    You found one of the subtle little things that can be frustrating to old-timers and newcomers alike. I did not recognize it until I read the help file (and I have been using LV since version 1.2).
    First, the three characters before the commas are nulls (\00).
    The reason they are there is in the help file for the Write File.vi. By wiring an array to the data input, you caused the VI to write a header telling what data format was used.
    I modified your VI to simply concatenate the strings and then write a simple string to the file. I think this may be what you were after.
    Lynn
    Attachments:
    write timestamp text line to file v3.vi ‏47 KB

  • Sequel Search Server Behaviors Problem

    This code was made with php-msql server behaviors - recordset
    pull down's....
    I have a form to search for firstname or lastname or both but
    I'm not getting the right results
    SELECT * FROM phonebook WHERE firstname LIKE %s and lastname
    LIKE %s
    problem 1 - if I have NOTHING in the form then *all* records
    get returned
    I guess the problem is with blank form fields?
    Q: How can I fix this?
    full query below...

    still curious about this - thanks in advance

Maybe you are looking for

  • Oracle Performance requirements

    Hi, I am going to deploy an Oracle application to a production enterprise environment. The application is distributed and it will access the Oracle database in different ways: 1.) GUI Access ( user operator interface - platform Windows ) It access th

  • How do you break the cycles in "connect by nocycles" query.

    I looked at the documentation of the oracle hierarchical queries to see if there is a deterministic way of breaking the cycles. http://download.oracle.com/docs/cd/E11882_01/server.112/e17118/queries003.htm I understand that plain connect by query fai

  • Update multiple rows based on two columns in same row

    I have a 1000 rows in a table I would like to update with a unique value. This unique value is a cocatenation of two columns in teh same row. Each row has a (i) date and a (ii) time and a (iii) date_time column. I would like to update the date_time (

  • Authentication on Forms

    How does the whole authentication on Oracle Forms work? DB: *10gR2* FORMS: On AS10g; so I presume that's the version of Forms. I can see the properties in FORMSWEB.CFG+ [htmlconfig] userid=%H_Username%/%H_Password%@%H_DBalias% When the Oracle Develop

  • Unwanted characters in emails

    Altho my email is clean when it leaves Mail, sometimes they are received by Windows users with characters inserted here and there throughout: question marks, or question marks in black diamonds, or B, or Â. Can anybody tell me what to do to prevent t