Animated object losing resolution...please help.

I have created a vector tree in Adobe illustrator and have imported it After effects, I then proceeded to laying out three of the images in after effects then offsetting two of the objects by a pixel all in 6 frames, and when looped it has an animated feel to the vector.
The 3 images are constantly looping all in 6 frames. I then pre-composed that sequence and have created a 5 min sequence of this still tree that looks animated.
The problem that I am having is that, I would like to zoom in and out of this still animated tree but when I zoom in, it loses resolution.
I am thinking I am not able to do this by pre-composing, are there any solutions to this?
I posted the video here and this is the video I would like to zoom in and out of, but how do I make it so that it does not lose resolution?
http://www.youtube.com/watch?v=tvgdkJk0U6g

For each of the AI layers in the nested Comp, you have to turn on the Constinuously Rasterize switch. This will preserve the scalable nature of vector graphics.
For more information, see Continuously Rasterize a layer containing vector graphics in AE Help.
But, since you are scaling up the Pre-Comp with its' own scale property, you also need to turn on Collapse Transformations for the Pre-Comp. It's exactly the same button as Continuously Rasterize, but when used on nested Comps it's called Collapse Transformation. It connects the properties of a Pre-Comp with the same properties for the layers nested in it, so that the Pre-Comp gets smart about things like combined scale values, etc.
For more information, see Render order and collapsing transformations.

Similar Messages

  • Class Cast problem when attempting to add Object in TreeSet, Please Help...

    hi friends,
    I have a TreeSet Object in which i add Object of type WeatherReport but when I trying to add my Second WeatherReport Object it throwing ClassCastException please Help Me in figure out the mistake that i did...
    /*code sample of my WeatherReport.class*/
    package com;
    class WeatherReport implements Serializable
    private String region;
    private String desc;
    private String temp;
    /*equvalent getter and setters come here*/
    /*in my jsp*/
    <%@ page import="com.WeatherReport"%>
    <%
    TreeSet<com.WeatherReport> ts=new TreeSet<com.WeatherReport>();
    while(condition)
    WeatherReport wp=new WeatherReport();
    /*setting data for all the Methods*/
    ts.add(wp);
    %>
    Error:
    java.lang.ClassCastException: com.WeatherReport
            at java.util.TreeMap.compare(TreeMap.java:1093)
            at java.util.TreeMap.put(TreeMap.java:465)
            at java.util.TreeSet.add(TreeSet.java:210)
            at org.apache.jsp.Weather_jsp._jspService(Weather_jsp.java:138)
            at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
            at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
            at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
            at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
            at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
            at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
            at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
            at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
            at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
            at java.lang.Thread.run(Thread.java:595)Edited by: rajaram on Oct 31, 2007 12:56 AM

    hi ChuckBing,
    Thank you very much, your suggestion helps me a lot...
    I change the WeatherReport Class as follows and its working now...
    public class WeatherReport implements Serializable,Comparable {
        private String location;
        private String temp;
        private String desc;
        public int compareTo(Object o) {
            if(o instanceof WeatherReport)
                WeatherReport wp=(WeatherReport)o;
                String l1=wp.getLocation();
                String l2=this.getLocation();
                return l2.compareTo(l1);
            return -1;
    }Once Again Thanks a lot ...
    Edited by: rajaram on Oct 31, 2007 9:11 PM

  • Sending object over socket - please help (urgent)

    I have written a server/client application where server sends object to client.
    But on the client I've received the first message "@Line 1: Get ready!!!" TWICE but NEVER the second message "@Line 2: Please input Start".
    Please help me! Its urgent! I appreciate my much in advance.
    The source for Server:
    import java.net.*;
    import java.io.*;
    import java.util.*;
    import sendNode;
    public class TestSer {
         static sendNode sendNodeObj = new sendNode();
    static String inputLine;
         public static void main(String[] args) throws IOException {
    ServerSocket serverSocket = null;
    try {
    serverSocket = new ServerSocket(4444);
    } catch (IOException e) {
    System.err.println("Could not listen on port: 4444.");
    System.exit(1);
    Socket clientSocket = null;
    try {
    clientSocket = serverSocket.accept();
    } catch (IOException e) {
    System.err.println("Accept failed.");
    System.exit(1);
    OutputStream o = clientSocket.getOutputStream();
    ObjectOutput out=new ObjectOutputStream(o);
    BufferedReader in = new BufferedReader(
                        new InputStreamReader(
                        clientSocket.getInputStream()));
    sendNodeObj.sendMsg="@Line 1: Get ready!!!";
    sendNodeObj.typeNode=-1;
    out.writeObject(sendNodeObj);
    out.flush();
    sendNodeObj.sendMsg="@Line 2: Please input Start";
    sendNodeObj.typeNode=-2;
    out.writeObject(sendNodeObj);
    out.flush();
    inputLine = in.readLine();
    while (!inputLine.equalsIgnoreCase("Start")) {
         sendNodeObj.sendMsg="@Error, Please input Start";
    sendNodeObj.typeNode=-1;
    out.writeObject(sendNodeObj);
    out.flush();
    inputLine = in.readLine();
    out.close();
    in.close();
    clientSocket.close();
    serverSocket.close();
    The source code for Client :
    import java.io.*;
    import java.net.*;
    import java.util.*;
    import java.applet.Applet;
    import sendNode;
    public class TestCli extends Applet {
    static sendNode recNodeObj=null;
    public static void main(String[] args) throws IOException {
    BufferedReader stdIn = new BufferedReader(new InputStreamReader(System.in));
    Socket kkSocket = null;
    PrintWriter out = null;
    try {
    kkSocket = new Socket("127.0.0.1", 4444);
    out = new PrintWriter(kkSocket.getOutputStream(), true);
    } catch (UnknownHostException e) {
    System.err.println("Don't know about host.");
    System.exit(1);
    } catch (IOException e) {
    System.err.println("Couldn't get I/O for the connection to: taranis.");
    System.exit(1);
    InputStream i= kkSocket.getInputStream();
    ObjectInput in= new ObjectInputStream(i);
    try {
         recNodeObj = (sendNode)in.readObject();
    System.out.println(recNodeObj.sendMsg);
         recNodeObj = (sendNode)in.readObject();
    System.out.println(recNodeObj.sendMsg);
    if (recNodeObj.sendMsg.equalsIgnoreCase("@Line 2: Please input Start")) {
    out.println("Start");
    } catch (Exception e) {
    System.out.println(e.getMessage());
    System.out.println("receive error.");
    System.exit(1);
    out.close();
    in.close();
    stdIn.close();
    kkSocket.close();
    The object to be sent:
    import java.io.*;
    import java.net.*;
    import java.util.*;
    class sendNode implements Serializable {
    String sendMsg;
    int typeNode; // -1 no ObjectNode;
    // 1 right node, 2 base node, 3 left node;
    Object objectNode;

    You forgot to reset the OOS. ObjetOutputStream keeps a buffer of objects, so if you write the same object again with changes on it, you must reset the buffer.
    out.writeObject(sendNodeObj);
    out.flush();
    out.reset();

  • HOW TO CREATE AUTHORISATION OBJECT IN ABAP PLEASE HELP

    HOW TO CREATE AUTHORISATION OBJECT IN ABAP PLEASE HELP

    You can Use Transaction code: RSSM
    Check the following link
    http://www.sap-img.com/bc042.htm
    In SU20 you will have to create a CLass.
    After saving this double click this and you will taken to another screen where you can create Auth Object.
    You can create authorization fields in SU21 or use existing ones.
    You can also do above thru tcode SE80 Edit -> Other Object. In one the tabs you will see Auth. Objects .

  • PS CS5 + 3D + animation = crashing!! Please help!

    I am trying to animate some 3D objects and my Photoshop CS5 crashes all the time after trying to run the little movie.
    Otherwise PS works fine, on other tasks.
    My PS-version is 12.0.1
    I am running this on a new (spring 2010) MacBook Pro 15" 2,53 GHz i5, 4 GB RAM, with NVIDIA GeForce GT 330M (256 MB VRAM).
    I an on 10.6.4 and have run all available Apple updates.
    I have tested for broken fonts - found none.
    I tried to disable OpenGL - but that didn't help, it crashed in another way though.
    I tried to run in 32 bit mode - but the same crash as usual happened.
    Photoshop is set up to use 70% of available RAM (ca 2306 MB) (I think this is the default?). History and Cache settings are default. OpenGL is set to Basic.
    The efficiency numbers are mostly on 100% (but I have observed the number go lower, to 80 or for a very brief moment (before another crash) I think it went to 20%).
    The file is not huge, 768 x 1366 pixels, I have 6 layers, 5 are animated, and 2 of those are 3D-layers (text transformed to 3D-postcards). I am animating position and then camera position (and style), not very much or fancy stuff. File is 6,6 MB.
    I try to render to screen, if that's the correct phrasing. Just having PS run the movie on my screen via the Animation panel.
    When ca 4 - 5 seconds have been rendered (the whole is set to 6 secs)  the screen shows a grey plate covering the movie (partly or fully) and then the System Activity monitor shows most memory is gone, then Photoshop uses 0% of processor and then it crashes with no message on the screen, just crash.
    I have tried the same procedure on a freshly booted system with no other applications running but Photoshop and Activity monitor. Same crash.
    I tried to run the movie when logged in as an admin (my usual logon is not admin) but the same crash occured.
    I have tried to run the file on PS CS4 on a PC (fairly new HP, but not very fast) and the file animated without crashing but so sloooow I could have grown a beard (and I am a girl...). So I guess the file isn't broken...?
    What am I doing wrong? Is 4 GB RAM to little for this?
    My video card is not listed among the tested here: http://kb2.adobe.com/cps/831/cpsid_83117.html. But it's a brand new MacBook Pro, one would think it should work fine...
    Any advise on this crash type (with the grey plate) would be very appreciated.
    Or other advise on how I can fix my setup to work for this task.
    Please?!?
    / Vicki

    New info:
    I took the file home and run the animation on my MacPro, and it run fine. Slow first but then at normal pace and PS4 did not crash, so it's obviously not an error inside the file. (The MacPro is of the first version (2006?) with 10.5.x (8?), 8 GB RAM and PS CS4. It run several other programs at the same time so there was not much RAM left over for PS, maybe a little bit more than 1 GB.)
    Please please, any advice would make me happy!!
    Specially if someone can say that they use Animation/3D in PS CS5 on 4 GB RAM and it works fine.
    I also phoned Adobe support in my country but as I didn't have my serial with me at the time they couldn't open a case for me. But we spoke for a while, unfortunately without solving my problem. So I am hoping for you, guys/gals!!
    / Vicki

  • Conflicting information about external display resolution - please help!

    I have a MacBook Pro (15-inch, Mid 2009) with the non-reflective screen, Mini Display Port and NVIDIA GeForce 9400M Graphics processor.
    According to these technical specifications (http://support.apple.com/kb/SP544), the built-in NVIDIA GeForce 9400M Graphics processor supports full native resolution on the built-in display and up to 2560 by 1600 pixels on an external display.
    Armed with this information, I just purchased a shiny, new DELL U2711 (http://accessories.us.dell.com/sna/productdetail.aspx?c=us&cs=04&l=en&s=bsd&sku= 224-8284&redirect=1) external display which has a resolution of 2560 x 1440. Unfortunately, all I can get out of it is 1920 x 1080 (This is the maximum resolution I can select in the monitors system preferences panel.)
    So Apple tells me this graphics card supports 2560 x 1600, but I also contacted NVIDIA directly who told me that this particular card's maximum resolution is 1920 x 1080.
    Somebody has to be wrong. Is this monitor supported? Am I doing something wrong? Do I need to send this monitor back and buy a smaller display?
    Any advice would be greatly appreciated.
    O

    Well - seeing as nobody could provide any help on this, I'll post the answer in case anybody else has the same problem.
    It turns out that the monitor's resolution IS supported by the NVIDIA GeForce 9400M, so the information NVIDIA gave me was wrong.
    The issue was the adaptor.
    A regular Mini Display > DVI adaptor can only handle a resolution of 1920 x 1080. Turns out I needed a Mini Display > DUAL LINK DVI Adapter, which is a combination of USB and DVI which provides the required resolution of 2560 x 1600.
    http://store.apple.com/us/product/MB571Z/A
    Hope this is helpful to somebody.

  • How to parse XML to Java object... please help really stuck

    Thank you for reading this email...
    If I have a **DTD** like:
    <!ELEMENT person (name, age)>
    <!ATTLIST person
         id ID #REQUIRED
    >
    <!ELEMENT name ((family, given) | (given, family))>
    <!ELEMENT age (#PCDATA)>
    <!ELEMENT family (#PCDATA)>
    <!ELEMENT given (#PCDATA)>
    the **XML** like:
    <person id="a1">
    <name>
         <family> Yoshi </family>
         <given> Samurai </given>
    </name>
    <age> 21 </age>
    </person>
    **** Could you help me to write a simple parser to parse my DTD and XML to Java object, and how can I use those objects... sorry if the problem is too basic, I am a beginner and very stuck... I am very confuse with SAXParserFactory, SAXParser, ParserAdapter and DOM has its own Factory and Parser, so confuse...
    Thank you for your help, Yo

    Hi, Yo,
    Thank you very much for your help. And I Wish you are there...I'm. And I plan to stay - It's sunny and warm here in Honolulu and the waves are up :)
    A bit more question for dear people:
    In the notes, it's mainly focus on JAXB,
    1. Is that mean JAXB is most popular parser for
    parsing XML into Java object? With me, definitely. There are essentially 3 technologies that allow you to parse XML documents:
    1) "Callbacks" (e.g. SAX in JAXP): You write a class that overrides 3 methods that will be called i) whenever the parser encounters a start tag, ii) an end tag, or iii) PCDATA. Drawback: You have to figure out where the heck in the document hierarchy you are when such a callback happens, because the same method is called on EACH start tag and similarly for the end tag and the PCDATA. You have to create the objects and put them into your own data structure - it's very tedious, but you have complete control. (Well, more or less.)
    2) "Tree" (e.g. DOM in JAXP, or it's better cousin JDOM): You call a parser that in one swoop creates an entire hierarchy that corresponds to the XML document. You don't get called on each tag as with SAX, you just get the root of the resulting tree. Drawback: All the nodes in the tree have the same type! You probably want to know which tags are in the document, don't you? Well, you'll have to traverse the tree and ask each node: What tag do you represent? And what are your attributes? (You get only strings in response even though your attributes often represent numbers.) Unless you want to display the tree - that's a nice application, you can do it as a tree model for JTree -, or otherwise don't care about the individual tags, DOM is not of much help, because you have to keep track where in the tree you are while you traverse it.
    3) Enter JAXB (or Castor, or ...): You give it a grammar of the XML documents you want to parse, or "unmarshall" as the fashion dictates to call it. (Actually the name isn't that bad, because "parsing" focuses on the input text while "unmarshalling" focuses on the objects you get, even though I'd reason that it should be marshalling that converts into objects and unmarshalling that converts objects to something else, and not vice versa but that's just my opinion.) The JAXB compiler creates a bunch of source files each with one (or now more) class(es) (and now interfaces) that correspond to the elements/tags of your grammar. (Now "compiler" is a true jevel of a misnomer, try to explain to students that after they run the "compiler", they still need to compile the sources the "compiler" generated with the real Java compiler!). Ok, you've got these sources compiled. Now you call one single method, unmarshall() and as a result you get the root node of the hierarchy that corresponds to the XML document. Sounds like DOM, but it's much better - the objects in the resulting tree don't have all the same type, but their type depends on the tag they represent. E.g if there is the tag <ball-game> then there will be an object of type myPackage.BallGame in your data structure. It gets better, if there is <score> inside <ball-game> and you have an object ballGame (of type BallGame) that you can simply call ballGame.getScore() and you get an object of type myPackage.Score. In other words, the child tags become properties of the parent object. Even better, the attributes become properties, too, so as far as your program is concerned there is no difference whether the property value was originally a tag or an attribute. On top of that, you can tell in your schema that the property has an int value - or another primitive type (that's like that in 1.0, in the early release you'll have to do it in the additional xjs file). So this is a very natural way to explore the data structure of the XML document. Of course there are drawbacks, but they are minor: daunting complexity and, as a consequence, very steep learning curve, documentation that leaves much to reader's phantasy - read trial and error - (the user's guide is too simplicistic and the examples too primitive, e.g. they don't even tell you how to make a schema where a tag has only attributes) and reference manual that has ~200 pages full of technicalities and you have to look with magnifying glas for the really usefull stuff, huge number of generated classes, some of which you may not need at all (and in 1.0 the number has doubled because each class has an accompanying interface), etc., etc. But overall, all that pales compared to the drastically improved efficiency of the programmer's efforts, i.e. your time. The time you'll spend learning the intricacies is well spent, you'll learn it once and then it will shorten your programming time all the time you use it. It's like C and Java, Java is order of magnitude more complex, but you'd probably never be sorry you gave up C.
    Of course the above essay leaves out lots and lots of detail, but I think that it touches the most important points.
    A word about JAXB 1.0 vs. Early Release (EA) version. If you have time, definitively learn 1.0, they are quite different and the main advantage is that the schema combines all the info that you had to formulate in the DTD and in the xjs file when using the EA version. I suggested EA was because you had a DTD already, but in retrospect, you better start from scratch with 1.0. The concepts in 1.0 are here to stay and once your surmounted the learning curve, you'll be glad that you don't have to switch concepts.
    When parser job is done,
    what kind of Java Object we will get? (String,
    InputStream or ...)See above, typically it's an object whose type is defined as a class (and interface in 1.0) within the sources that JABX generates. Or it can be a String or one of the primitive types - you tell the "compiler" in the schema (xjs file in EA) what you want!
    2. If we want to use JAXB, we have to contain a
    XJS-file? Something like:In EA, yes. In 1.0 no - it's all in the schema.
    I am very new to XML, is there any simpler way to get
    around them? It has already take me 4 days to find a
    simple parser which give it XML and DTD, then return
    to me Java objects ... I mean if that kind of parser
    exists....It'll take you probably magnitude longer that that to get really familiar with JAXB, but believe me it's worth it. You'll save countless days if not weeks once you'll start developing serious software with it. How long did it take you to learn Java and it's main APIs? You'll either invest the time learning how to use the software others have written, or you invest it writing it yourself. I'll take the former any time. But it's only my opinion...
    Jan

  • Zen 6.5 NAL Object Push Mystery - Please help!

    I am a totally clueless about Novell and ZenWorks and can use some help from the forum community.
    We run Zen 6.5 and push down apps and icons to a large number of PCs that are used by patrons.
    For many years this all worked fine. But, since a few months ago we had an incredibly tough problem.
    From time to time, NAL Objects that are set to "run once" and have _not_ had their version change begin to push to the clients. For example, weeks ago we pushed a patch using a NAL object - this was set to run once and version is set to 0 and worked as expected. Yesterday, Zen started pushing the NAL objects to clients in the middle of the day (clients it had done weeks ago). There are numerous NAL objects for this patch job because we tie them to group and there are about 80 groups - many of the objects were pushed, not just one. If it were one, I would assume human error. Add to that that this has happened before with other NAL objects and I am super stumped.
    Is there any thing on the client side that would make it look like it is new to Zen? What else could be causing something like this?

    "Run Once" is a bit of a misnomer and does not work as most people expect.
    It is really "Run Once Per User Profile on Each Machine".
    It is not really run once on a give machine.
    Most folks really want it to push just once to the machine.
    To really make it run once per machine, you would need to include a
    System Requirement that checked something the app pushed like a reg key.
    You could even add your own reg key if you like.
    On 10/21/2010 8:36 PM, jayhaque wrote:
    >
    > I am a totally clueless about Novell and ZenWorks and can use some help
    > from the forum community.
    >
    > We run Zen 6.5 and push down apps and icons to a large number of PCs
    > that are used by patrons.
    > For many years this all worked fine. But, since a few months ago we had
    > an incredibly tough problem.
    >
    > From time to time, NAL Objects that are set to "run once" and have
    > _not_ had their version change begin to push to the clients. For
    > example, weeks ago we pushed a patch using a NAL object - this was set
    > to run once and version is set to 0 and worked as expected. Yesterday,
    > Zen started pushing the NAL objects to clients in the middle of the day
    > (clients it had done weeks ago). There are numerous NAL objects for this
    > patch job because we tie them to group and there are about 80 groups -
    > many of the objects were pushed, not just one. If it were one, I would
    > assume human error. Add to that that this has happened before with other
    > NAL objects and I am super stumped.
    >
    > Is there any thing on the client side that would make it look like it
    > is new to Zen? What else could be causing something like this?
    >
    >
    Craig Wilson - MCNE, MCSE, CCNA
    Novell Knowledge Partner
    Novell does not officially monitor these forums.
    Suggestions/Opinions/Statements made by me are solely my own.
    These thoughts may not be shared by either Novell or any rational human.

  • Keep losing connection, please help

    I have the WRT160N router.  On both the wired and wireless computer I cant always open the internet, even thoue it says its connected.  Im also using the Linkys adapter, samething happens with this.  Any help please?

    You need to Upgrade/Flash your router's firmware if it is loosing the connection...You can download the Firmware from here , Follow these steps to upgrade the firmware on the device: -
    Open an Internet Explorer browser page.In the address bar type - 192.168.1.1
    Leave the username blank & in password use admin in lower case...
    Click on the 'Administration' tab- Then click on the 'Firmware Upgrade' sub tab- Here click on 'Browse' and browse the .bin firmware file and click on "Upgrade"...
    Wait for few seconds until it shows that "Upgrade is successful"  After the firmware upgrade, click on "Reboot" and you will be returned back to the same page OR it will say "Page cannot be displayed".
    Press and hold the reset button for 30 seconds...Release the reset button...Unplug the power cable from your router, wait for 30 seconds and re-connect the power cable...Now re-configure your router...

  • Strange object stream behavior - please help

    I have implemented client/server code for a Web application that retrieves check images from a mainframe. The client (on my app server) sends request objects via an ObjectOutputStream to the server component (the image server), where the request is processed to produce a response object, which is then sent back across another ObjectOutputStream to the client. Usually the application works great, but every so often I get the following strange behaviour -
    A request object gets to the server and is processed, but then the response object sits on the server and will not return to the client. However, as soon as another request object is sent to the server, the 1st response object immediately returns to the client. Then, the response object for the 2nd request hangs on the server, and so on and so on. The only way I have found to fix this is to reboot the entire machine (Windows NT). Simply restarting my server component will not help.
    Usually this will only happen after I have stopped and restarted my server component and then not every time. However, today it seems to have started happening without any restart of the server component which has me very confused.
    Any thoughts on what might be causing this strange behaviour would be greatly appreciated. I can post some of my code if absolutely necessary, but since it involves multiple different classes this would probably only serve to confuse.

    Wild guess: Does your server do a flush() after
    writing the response object?Yes - every time. Besides, as I wrote above, this behaviour doesn't occur all the time, just every so often.

  • Objects!! please help

    hey guys
    well have a little problem that i've been trying to solve for the past few days but cant get it to work.
    Clip[] competitors = new Clip[5];
    competitors[0] = new int(clipindex[0]);
    competitors[1] = new float(speed[0]);
    competitors[2] = new float(length[0]);
    competitors[3] = new double(time[0]);
    competitors[4] = name[0];
    it shows me these error messages:
    "Clip.java": Error #: 361 : class required, but int found at line 39, column 33
    "Clip.java": Error #: 361 : class required, but float found at line 40, column 35
    "Clip.java": Error #: 361 : class required, but float found at line 41, column 35
    "Clip.java": Error #: 361 : class required, but double found at line 42, column 36
    "Clip.java": Error #: 354 : incompatible types; found: java.lang.String, required: novo.Clip at line 43, column 31
    can anyone help me??
    thanks guys

    Clip[] competitors = new Clip[5];Ok, so you declare an array of five Clip objects (Clip[5])...
    >
    competitors[0] = new int(clipindex[0]);
    competitors[1] = new float(speed[0]);
    competitors[2] = new float(length[0]);
    competitors[3] = new double(time[0]);
    competitors[4] = name[0];Then you go right ahead and say that the first Clip (Clip[0]) isn't a Clip object at all, but an int and that the second is a float.
    >
    it shows me these error messages:
    "Clip.java": Error #: 361 : class required, but int found at line 39, column 33Of course it says this: you declared an array of Clip objects ("class required...") but tried to make the first element an int ("... but int found")
    and so on...
    Chris.

  • Animated GIF problem. Please HELP!

    the problem is that, when i open some of my GIF type documents, they show up as bigger-as if blackberry automatically resizes them and i can only see a part of the image. if you know any possbile solution to this problem, please tell me! thank you!

    The "Do Not Disconnect" screen will continue to stay displayed on your iPod, simply because you either have Disk Use enabled, or you are manually managing your iPod's songs.
    If you are automatically syncing songs to your iPod, then disable disk use.
    For more info, see this:
    Enabling Disk Use for iPod
    If you are manually managing your iPod's songs, then you will have to eject it from your computer before unplugging it to make it safe to disconnect.
    For details on safely disconnecting an iPod, see this:
    Safely Disconnect iPod
    -Kylene

  • I can't read a Object from file, Please help me

    i want to write a Object into File. this is code of Object
    class objStoreCus implements Comparable, Serializable
    String customerID = new String();
    String customerName = new String();
    String customerEmail = new String();
    objStoreCus(String cusID, String cusName, String cusEmail)
    customerID = cusID;
    customerName = cusName;
    customerEmail = cusEmail;
    objStoreCus(){}
    public int compareTo(Object o)
    objStoreCus oS = new objStoreCus();
    oS = (objStoreCus)o;
    return(customerEmail.compareTo(oS.customerEmail));
    private void writeObject(ObjectOutputStream s) throws IOException {
    s.defaultWriteObject();
    private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException {
    try
    s.defaultReadObject();
    }catch(IOException ie){throw new IOException();}
    catch(ClassNotFoundException cnt){throw new ClassNotFoundException();}
    And I was wrote above Object into File by this code :+
    FileOutputStream fos;
    ObjectOutputStream oos;
    FileInputStream fis;
    ObjectInputStream ois;
    public void writeObjToFile(objStoreCus obj)
    try
    fos = new FileOutputStream("Exrcise3.ex3", true);
    }catch(FileNotFoundException fnfe){}
    try
    oos = new ObjectOutputStream(fos);
    //ghi doi tuong vao file
    oos.writeObject(obj);
    //dong stream
    oos.close();
    fos.close();
    }catch(IOException ie){}
    But i can't read above Object from file. allway have a Exception occur "StreamCorruptedException".
    this is code read Object form file :
    *parameter is ArrayList will be store Object from file.
    public void readObjFromFile(ArrayList al)
    try
    fis = new FileInputStream("Exrcise3.ex3");
    }catch(FileNotFoundException fnfe){}
    try
    ois = new ObjectInputStream(fis);
    while(true)
    try
    objStoreCus osc = new objStoreCus();
    osc = (objStoreCus)ois.readObject();
    System.out.println(osc.customerEmail);
    }catch(Exception e)
    e.printStackTrace();
    //System.out.println();
    break;
    ois.close();
    fis.close();
    }catch(IOException ie){}
    }

    Problem lies in
    os = new FileOutputStream("Exrcise3.ex3", true);
    You are trying to append to that file, You should always use new file to serialize objects.
    os = new FileOutputStream("Exrcise3.ex3");
    Try with above line.

  • 10.6.3 - Problems and Attempts at Resolution - Please Help

    It was recommended to me by a regular contributor (RC-R) to put together in one place all the problems I've had and all the solutions I've tried. So here goes.
    Problems:
    (1) Major issue is that my 20" Alu iMac is randomly sent into a sleep mode from which it cannot be awoken - it happens instantly and without warning.
    (2) The issue started immediately after installing 10.6.3 and nothing like it occurred beforehand.
    (3) The issue seems acerbated by using Safari and often occurs within a few minutes of using Apple's web browser.
    (4) Long stretches of avoiding the problem seem possible if using Firefox or Chrome instead.
    (5) Using switching and start-up take longer and sometimes freeze altogether - everything is slower.
    Attempts at restoring normality:
    (1) First of all I disable and then finally uninstalled Rapport banking security software - since this was one of the last programs to be installed and I'd seen reports of problems elsewhere - thought this might be why Safari brought the system down. Didn't resolve the problem
    (2) I'd been having problems with Adobe's installer unable to upgrade Acrobat, and in order to resolve this I reinstalled entirely and got everything cleaned up so there was then no upgrade problems. This didn't resolve the problem either
    (3) I did a reinstall of Snow Leopard and installed all updates again. Still no resolution
    (4) I've also repaired permissions on the disk. But again, you guessed it - still crashes
    Note: I have a MacBook (Alu) with 10.6.3 installed - no problems whatsoever and the programs installed are virtually identical with the exception of VMWare Fusion.
    My Apple Care is close to an end for the machine, so my next step seems to be get the iMac ready to return to Apple before it is too late. Because it looks like a software issue but is acting like a hardware one. The reason I'm assuming it is not a coincidence is because others have had similar problems

    Tried to reinstall 10.6 from DVD, but installation failed - twice.
    Failed how?
    What now? Disk Utility? Format Hard-drive? What is the best way of going about these things?
    It's hard to give any specific recommendations without more information. You could simply have a third-party app that's acting up, or maybe your past reinstalls weren't done correctly. So it's possible that there are less drastic solutions than what I'm about to tell you to do. But, as you say, you just need it working, and sometimes a good "nuke & pave" is quicker than fiddling around.
    Make sure you've got a good backup (see my [Mac Backup Guide|http://www.reedcorner.net/thomas/guides/backups>). Then, boot from the install disk and switch to Disk Utility. Erase the hard drive. When done, just for the heck of it, repair the drive. If there are problems, post back here.
    Now quit Disk Utility and reinstall the system. Once you're done and booted into the new system, run Software Update and install all updates. After that's done and you've rebooted, do it again, continuing until Software Update says you're up-to-date. Now install any third-party apps from scratch, avoiding any initially that you don't absolutely need. (Install those later, once you know your system is stable, and has been for a while.)
    Finally, import your data into the new account. I recommend the manual route, though you could also use Migration Assistant to import from a Time Machine backup or clone. If you use Migration assistant, you have to be cautious not to import a bunch of potentially damaged system settings files. (You'll want to reconfigure your network settings from scratch, for example, rather than importing those settings from the backup.) If you want to go the manual route but aren't sure where to find everything, let us know.

  • URL object syntax error - please help!

    Hi,
    I am trying to add sound to my applets, i am using the URL object and declared an new object called mysong etc... Java compiler is not letting me assign url vale to my object "mysong" code is below for reference:
    <b>code:</b>
    // Use the absolute URL of the sound file
    URL oursong = new URL;
    oursong = "http://www.servername.net/media/sound.mp3";                                    
    AudioClip a = getAudioClip(oursong);<b>error desc:</b>
    /tmp/4230/spaceinvader.java:186: '(' or '[' expected
                                            URL oursong = new URL;
                                                                 ^whats the correct syntax for what im trying to do? - Thank you very much...

    oh, just to clarify some more. I tried doing this change to the source:
    URL oursong = new URL("songname.mp3");
    well this time i got this error:
    /tmp/8154/spaceinvader.java:186: unreported exception java.net.MalformedURLException; must be caught or declared to be thrown
                                            URL oursong = new URL("songname.mp3");

Maybe you are looking for

  • HPLaserJetService.exe has encountered a problem and needs to close.

    I continue to recieve an error message that states the following: HPLaserJetService.exe has encountered a problem and needs to close.  Right before the message appears my pc slows down and sometimes programs that i am in shut down. I have not issues

  • How can I make an editable pdf file from Indesign?

    I have created a Indesign dealer catalog for my company and exported it into a interactive PDF for the Engineers to use when helping a customer with ordering. Now they would like to be able to edit the PDF with notes whenever they want. How can they

  • Authorization Error  While  Invoking BPEL Process Via RMI

    Hi All, I have been trying to invoke BPEL Process via RMI client. I use the following piece of code for BPEL Process Invocation... public class RMIClient { public RMIClient() { public static void main(String[] args){ Hashtable jndi = new Hashtable ()

  • Open view in a new browser window

    Hi all, I want to open a view in a new browser window. I try this two code: 1)IWDWindow window= wdControllerAPI.getComponent().getWindowManager().createExternalWindow(           "http://www.google.it","google",false); but in this case i can only open

  • Mac OS X 10.4.11 Update ( PPC ) Could not expand correctlly

    Hello Everyone.. I'm rather new to this, but i really need help. I was doing a software update, i chose " mac os x update combined " which was.. 186Mb. When i the download finished, it said the update couldn't be installed due to it not being able to