Skip navigation
Oxidize
Currently Being Moderated

Java Error When Publishing

Jan 29, 2010 7:56 AM

So I have an applicational prototype that I need to have out by the end of the day today, and all of a sudden Flash Catalyst states that the project cannot be published due to an error. It also said to check the Code view to see what's wrong. Yesterday it did say that the error was a "Java Heap Space" error, but today there is absolutely nothing in the problems listing even though it still outputs that there's an error when publishing the project.

 

The prototype builds and runs in the browser just fine, but it's publishing that becomes the problem. I am not a Flex developer by any means, but as a user experience designer, I understand how to edit some of the coding, so if anyone could shed some light on this, I will do my best to fix the problem with any solutions that will work.

 

I appreciate the help guys!

 

-- Rick

 
Replies
  • Currently Being Moderated
    Feb 1, 2010 6:10 PM   in reply to Oxidize

    Hi Rick,

     

    You've hit a bug in Flash Catalyst. Unfortunately, the error message doesn't tell you this, but FC is never suppost to write code that prevents you from publishing. So it's not your fault. The problems panel is there to help us diagnose the bug that you're hitting.

     

    Does your project still fail to publish? If so, can you post it on the forum so I can check it out?

     

    -Adam

     
    |
    Mark as:
  • Currently Being Moderated
    May 12, 2010 7:08 PM   in reply to acath

    Is there a way to get around this - such as publish the catalyst file in Flash Builder?

     
    |
    Mark as:
  • Currently Being Moderated
    May 12, 2010 7:11 PM   in reply to danjahson

    I am getting the same problem, and I cant seem to find the error in the application. I know that the file is crazy big. I am going to try to optimize images and file structure. I have crashed frequently, so I save ever few minutes. I don't try to recover anything, this usually makes the file bigger and might be contributing to the problems I am having.

     
    |
    Mark as:
  • Currently Being Moderated
    May 15, 2010 1:30 PM   in reply to Oxidize

    I am having this exact thing happen to me as well. As I was creating the project I published it about half way thru completing the project and it worked fine. I have now fully completeted the project and it is giving me an error everytime I try and publish it, Screen shot 2010-05-15 at 4.29.10 PM.png

    but when I look in the problems pannel there is nothing there...

     
    |
    Mark as:
  • Currently Being Moderated
    May 17, 2010 10:18 AM   in reply to Jimbizm_Blank

    Hey All,

    There shouldn't be any errors in your project, and if there are, there could be an underlying bug.

    If you can email me the fxp file I'd love to take a look.

    tarfeene (at) adobe (dot) com

    Thanks,

    Tara

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 10, 2010 9:46 PM   in reply to Tara Jane Feener

    Hello

     

     

    I was serching for this problem becouse now when i was creating the problem and i published stop and say the same as the link below the same screen with this .

     

    Adoble flash catalyst cannot publish this project becouse of an error in the code .To find the error , switch to the code workspace and look into the problems panel.

     

    I check for the problem and theres nothing that says error or problem in there , Idont know what o do please help me .

     

    Thanks

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 11, 2010 10:32 AM   in reply to agathavo

    Please post the file online using a service such as google docs or acrobat.com. Then either post a link or PM it to me.

    Then we can take a look at your FXP and see what is causing the problem.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 14, 2010 7:28 PM   in reply to Oxidize

    To the original poster, Rick:

     

    If you're seeing a "Java Heap Space" error message, this is a (not very user-friendly) way of the program telling you it's running out of memory.  Catalyst tries to detect and warn you when your project is getting too large, but it's not always perfect.

     

    Did you see any warnings about the size of the images you've imported into your project?  Very large images can certianly be one source of problems.

     

    Here are a few tips for dealing with large images:

    • Resize them to be smaller using a another app like Photoshop, before you import into Catalyst.  Shoot for a file size of 100-300 KB at the most, for very large "gallery"-style photos.  Other images should be < 100 KB (remember, people viewing your site will have to download all this).
    • In Catalyst, when you're done shrinking down an image to the right size, choose Optimize Artwork > Rasterize in the heads-up display to "lock in" the smaller size.
    • In Catalyst, choose Optimize Artwork > Convert to Linked Image for any especially large photos.  This can speed up the initial load time of your site, and it will also help avoid memory problems when publishing.

     

    Hope that helps!


    - Peter

     
    |
    Mark as:
  • Currently Being Moderated
    Dec 10, 2010 4:01 AM   in reply to Tara Jane Feener

    Same problem. This is really bad considering the time I have left to hand in the work and the fact that the very reason I bought the CS5 was because of the Flash Castalyst. Tara, can I send you my fxp file? Cheers.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points