Bug with exporting project to java source

Hi,
This is in TopLink 9.0.4.2 (Build 040311).
We're in the process of trying to determine if we should upgrade our TopLink from 2.5 to 9.0.4, and have not yet purchased a support contract because we haven't made the final decision yet, so I'm posting this bug here in hopes that someone can submit the bug.
In one of our projects, we have an AggregateObjectMapping (AOM) for a Measurement object that is owned by 2 different objects, each with 2 to 4 instances of this Measurement class. I set up the instances of the AOM in the workbench just fine, and looking at the XML descriptors that are written out, it appears fine. Exporting the project session XML file works fine as well. However, when it is exported to a Java file, the instances of the AOM are exported incorrectly as described below.
Here is the abbreviated mapping of the attributes of the Measurement class:
<mappings>
<mapping>
<inherited>false</inherited>
<instance-variable-name>mPrecision</instance-variable-name>
<default-field-names>
<default-field-name>direct field=yPrecision</default-field-name>
</default-field-names>
<uses-method-accessing>false</uses-method-accessing>
<read-only>false</read-only>
<mapping-class>MWDirectToFieldMapping</mapping-class>
</mapping>
<mapping>
<inherited>false</inherited>
<instance-variable-name>mQuantity</instance-variable-name>
<default-field-names>
<default-field-name>direct field=y</default-field-name>
</default-field-names>
<uses-method-accessing>false</uses-method-accessing>
<read-only>false</read-only>
<mapping-class>MWDirectToFieldMapping</mapping-class>
</mapping>
<mapping>
<inherited>false</inherited>
<instance-variable-name>mUnit</instance-variable-name>
<uses-method-accessing>false</uses-method-accessing>
<read-only>false</read-only>
<reference-descriptor>com.cimsoft.lws.units.Unit.ClassDescriptor</reference-descriptor>
<private-owned>false</private-owned>
<uses-batch-reading>false</uses-batch-reading>
<table-reference-mapping-reference-handle>
<reference-handle>
<reference-table>csrSlotGenericValue</reference-table>
<reference-name>csrSlotGenericValue_csdUnit</reference-name>
</reference-handle>
</table-reference-mapping-reference-handle>
<uses-joining>false</uses-joining>
<one-to-one-mapping-indirection-policy>
<indirection-policy>
<uses-indirection>false</uses-indirection>
</indirection-policy>
</one-to-one-mapping-indirection-policy>
<mapping-class>MWOneToOneMapping</mapping-class>
</mapping>
<mapping>
<inherited>false</inherited>
<instance-variable-name>UNDEFINED_MEASUREMENT</instance-variable-name>
<mapping-class>MWUnmappedMapping</mapping-class>
</mapping>
</mappings>
Notice that there are two direct to field mappings (mPrecision and mQuantity) and one OneToOneMapping (mUnit). The exported sessions XML file has the correct XML for instances of this object. Here is an example from a class that has 3 instances of this Measurement object mapped:
<database-mapping>
<attribute-name>mAlarmSize</attribute-name>
<read-only>false</read-only>
<reference-class>com.cimsoft.lws.units.Measurement</reference-class>
<is-null-allowed>true</is-null-allowed>
<aggregate-to-source-field-name-associations>
<association>
<association-key>unitId</association-key>
<association-value>csrStock.alarmSizeUnitId</association-value>
</association>
<association>
<association-key>y</association-key>
<association-value>csrStock.alarmSize</association-value>
</association>
<association>
<association-key>yPrecision</association-key>
<association-value>csrStock.alarmSizePrecision</association-value>
</association>
</aggregate-to-source-field-name-associations>
<type>oracle.toplink.mappings.AggregateObjectMapping</type>
</database-mapping>
<database-mapping>
<attribute-name>mCurrentSize</attribute-name>
<read-only>false</read-only>
<reference-class>com.cimsoft.lws.units.Measurement</reference-class>
<is-null-allowed>true</is-null-allowed>
<aggregate-to-source-field-name-associations>
<association>
<association-key>unitId</association-key>
<association-value>csrStock.currentSizeUnitId</association-value>
</association>
<association>
<association-key>y</association-key>
<association-value>csrStock.currentSize</association-value>
</association>
<association>
<association-key>yPrecision</association-key>
<association-value>csrStock.currentSizePrecision</association-value>
</association>
</aggregate-to-source-field-name-associations>
<type>oracle.toplink.mappings.AggregateObjectMapping</type>
</database-mapping>
<database-mapping>
<attribute-name>mLotSize</attribute-name>
<read-only>false</read-only>
<reference-class>com.cimsoft.lws.units.Measurement</reference-class>
<is-null-allowed>true</is-null-allowed>
<aggregate-to-source-field-name-associations>
<association>
<association-key>unitId</association-key>
<association-value>csrStock.lotSizeUnitId</association-value>
</association>
<association>
<association-key>y</association-key>
<association-value>csrStock.lotSize</association-value>
</association>
<association>
<association-key>yPrecision</association-key>
<association-value>csrStock.lotSizePrecision</association-value>
</association>
</aggregate-to-source-field-name-associations>
<type>oracle.toplink.mappings.AggregateObjectMapping</type>
</database-mapping>
However, here are the corresponding mappings in the exported Java file (with what it really should be manually inserted by me in comments):
     AggregateObjectMapping mAlarmSizeMapping = new AggregateObjectMapping();
     mAlarmSizeMapping.setAttributeName("mAlarmSize");
     mAlarmSizeMapping.setReferenceClass(com.cimsoft.lws.units.Measurement.class);
     mAlarmSizeMapping.setIsNullAllowed(true);
     mAlarmSizeMapping.addFieldNameTranslation("csrStock.alarmSizeUnitId", "unitId");
     mAlarmSizeMapping.addFieldNameTranslation("csrStock.alarmSize", "y");
     mAlarmSizeMapping.addFieldNameTranslation("csrStock.alarmSizePrecision", "yPrecision");
     descriptor.addMapping(mAlarmSizeMapping);
     AggregateObjectMapping mCurrentSizeMapping = new AggregateObjectMapping();
     mCurrentSizeMapping.setAttributeName("mCurrentSize");
     mCurrentSizeMapping.setReferenceClass(com.cimsoft.lws.units.Measurement.class);
     mCurrentSizeMapping.setIsNullAllowed(true);
     mCurrentSizeMapping.addFieldNameTranslation("csrStock.currentSize", "alarmSize");
     mCurrentSizeMapping.addFieldNameTranslation("csrStock.currentSizeUnitId", "unitId");
     mCurrentSizeMapping.addFieldNameTranslation("csrStock.currentSizePrecision", "alarmSizePrecision");
     // should be: mCurrentSizeMapping.addFieldNameTranslation("csrStock.currentSize", "y");
     // should be: mCurrentSizeMapping.addFieldNameTranslation("csrStock.currentSizePrecision", "yPrecision");
     descriptor.addMapping(mCurrentSizeMapping);
     AggregateObjectMapping mLotSizeMapping = new AggregateObjectMapping();
     mLotSizeMapping.setAttributeName("mLotSize");
     mLotSizeMapping.setReferenceClass(com.cimsoft.lws.units.Measurement.class);
     mLotSizeMapping.setIsNullAllowed(true);
     mLotSizeMapping.addFieldNameTranslation("csrStock.lotSizeUnitId", "unitId");
     mLotSizeMapping.addFieldNameTranslation("csrStock.lotSize", "currentSize");
     mLotSizeMapping.addFieldNameTranslation("csrStock.lotSizePrecision", "currentSizePrecision");
     // should be: mLotSizeMapping.addFieldNameTranslation("csrStock.lotSize", "y");
     // should be: mLotSizeMapping.addFieldNameTranslation("csrStock.lotSizePrecision", "yPrecision");
     descriptor.addMapping(mLotSizeMapping);
It appears that the actual Measurement descriptor is being modified accidentally as it's being exported, as you'll notice that the first mapping (for mAlarmSize) correctly maps the default "y" to "alarmSize", and then the next mapping (for mCurrentSize) instead of mapping "y" to "currentSize" maps "alarmSize" to "currentSize", and the next AOM maps "currentSize" to "lotSize" instead of "y" to "lotSize".
Thanks,
Greg

No one ever responded, so I'm commenting to bring it up again. It turns out that the error happens not just exporting to Java, but anytime the command-line project generation is used. If the Workbench is used to export either to XML or to a Java file, the file is generated correctly. It is not generated correctly if you try to do it from the commandline (e.g. from a build environment).
This has happened with 9.0.4.2 through the current 9.0.4.5.
Here are different ways I've tried doing it from the commandline, and they all generate the erroneous XML and Java files:
java oracle.toplink.workbench.external.api.JavaSourceGenerator inputMWP outputJava.java
and
java oracle.toplink.workbench.external.api.DeploymentXMLGenerator inputMWP outputXML.xml
which are recommended by the documentation. Also recommended by the documentation:
JavaSourceGenerator.generate( inputFile, outputFile )
and
DeploymentXMLGenerator.generate( inputFile, outputFile ).
From decompiling the management workbench to see what it was doing differently:
MWProject project = WorkbenchSession.instance().openProject( inputFile );
if ( doXML )
project.setProjectDeploymentXmlDirectory( directory );
project.setProjectDeploymentXmlFileName( filename );
project.exportDeploymentXml();
else
project.setProjectSourceRootDirectory( directory );
project.setProjectClassName( classname );
project.exportJavaSource( outputFile );
//Also tried plain old project.exportJavaSource(); which appears to actually do something different.
Any ideas? It looks like a bug to me, particularly that different java or XML deployment files are generated when run from the commandline versus run from the UI. Obviously, the commandline is very important because it is what the build system needs.
Thanks,
Greg

Similar Messages

  • How can I specify table owners when I export project to Java source?

    Using TopLink Mapping Workbench, when I export project to Java source, the descriptors is automatically generated like:
    descriptor.addTableName("SOME_TABLE");
    Is there a way to configure the TopLink Mapping Workbench so it generates the descriptors so that the table owner is explicitly specified?
    descriptor.addTableName("SCHEMA_A.SOME_TABLE");
    Thanks!

    You can re-name your tables in the MW to be fully qualified for the name and that's how it will be generated and used.
    Doug

  • Export project to java source

    When exporting the Toplink project to Java source from the Mapping Workbench, is there a way to tell the workbench to include the package name in the generated file? We do this manually now.
    Thanks in advance

    Yes, in the mapping workbench, select the project, and pick the "Defaults" tab on the right. You can specify the project there.
    - Don

  • Problem with Export Project as New Library

    Getting some behavior from Aperture that I do not understand.
    I am running Aperture 3.5.1 on OSX 10.9.1 on both a MacPro and a MacBookPro(Retina). 
    Both machines are believed to be completely up-to-date software-wise (no indication in App store that software updates are available.  i don't know how else to look.).
    I imported (Nikon D800) raw images from an SD card to MacBookPro Aperture Library (which contains few images), performed adjustments (and "shared" some with my SmugMug account).
    Then I selected the Project that contained my images, chose File, Export, Project as New Library (in order to move the adjusted images to my MacPro, where my "real" Aperture Library resides).  (first time i have attempted such a workflow).  I selected all 3 options (Copy originals . . ., Copy previews . . ., Show alert) and clicked Export Library.
    I copied the resulting file to my MacPro.  After choosing File, Import, Library (in Aperture on the MacPro), I see it "Merging", and then the project in question appears in the Library on the MacPro.
    The problem is that each image has a message at the top of the Adjustments pane:  "This photo was adjusted using an earlier version of Apple's RAW processing", and they all come into the receiving library with no adjustments, and no previews - not even the built-in preview that a raw file should carry (the images show in the viewer as _really_ flat, gray - very strange, i have never seen this appearance before, though I routeinely use raw format).
    Trying to troubleshoot, I went back to the MacBookPro and closed Aperture, then double-clicked the Library on the desktop that had resulted from the export process (containing only one project).
    Same situation.  All of the images think they were processed on older raw processor (even though this library is being opened on the same computer that did the processing).
    Any ideas?  Is this a bug, or have I misunderstood the point of exporting Projects?

    There have been two problems, reported, when exporting projects as library:
    In earlier versions of Aperture the exported library did not include all images, if images had been imported from Photo Stream. I cannot reproduce this bug any longer with Aperture 3.5.1.
    The export could go wrong, if the aperture library needed repairing.
    Have you tried the Aperture Library First Aid Tools,to fix a possible library curruption?
    See this link:  Aperture 3 User Manual: Repairing and Rebuilding Your Aperture Library
    Before trying to rebuild, make sure, your backup of your Aperture library is current and in a working condition.
    I see a progress bar and the .exporting library is created in the desired location.
    Finally I decided to watch a project closely as it was being exported as a library and I noticed that the file size jumps up an down. I'm not an expert on how export works, but it would appear that each exported photo is overwriting the previous one.
    What is the desired location? Are you exporting to your internal system drive or to an external drive? If external, how is the drive formatted?  Such overwriting of files could be caused by incompatible filesystems creating conflicting pathnames. Make sure, the destination is a filesystem formatted MacOS X Extended (Journaled).
    -- Léonie

  • I need help with exporting project for the web

    Probably something i am doing wron g but here are the problems. When I use Quicktime Converter, if I try to convert to a Quicktime movie or an MPEG-4 nothing happens and i get a 'File error;File Unknown message' when i try to convert to an AVI File, it works, but even though I have already rendered the project, it shows up with little flashes of blue that say 'unrendered'. and finally, when I try to make it a w
    Windows Media File, it stops after 29 seconds. Any ideas?
    I have an iMac with dual core processor, and FCE HD 3.5.1. I have my video files on an external drive.
    iMac   Mac OS X (10.4.10)  

    perform a search using the term export for web and it should throw up some ideas.
    here's one for starters:
    http://discussions.apple.com/thread.jspa?messageID=2309121&#2309121
    If you're using flip4mac to convert to wmv, the trial stops at 30 seconds - you need at least wmvstudio to export to wmv:
    http://www.flip4mac.com/wmv.htm

  • Lightroom 5.3 bug with export images

    Hi,
    I can't export single images in Lightroom anymore. When I choose an image including the watermark the system exports all the latest imported images, but not a single one. Can anyone help me with that?
    -jo

    in your lr5.2, click help>updates...
    bug fixes:
    Issues when upgrading catalog from previous versions of Lightroom.
    Incorrect photos are displayed after switching away from a Publish Collection.
    Catalog optimization did not finish, and was not optimizing the catalog
    Feather of clone spots is set to 0 after upgrading catalog to Lightroom 5.
    Auto White Balance settings are not saved to Snapshots.
    Sony 18-55mm lens is detected as the Hasselblad 18-55mm lens for lens correction.
    Increased Update Spot Removal history steps when in Before and After view.
    Slideshows start playing automatically even when the Manual Slideshow option is enabled.
    Video playback stops when dragging on the scrubber.
    Errors when publishing photos to Flickr through the Publish Service.
    Option + drag on Edit Pin behavior is functioning incorrectly.
    Black border appears around the exported slideshow video.
    Catalog containing images processed with PV2003 were adding a post-crop vignette when catalog upgraded to Lightroom 5.
    Pressing the “Reset” button while holding down the Shift key caused Lightroom to exit abruptly.
    Output Sharpening and Noise Reduction were not applied to exported images that were resized to less than 1/3 of the original image size.
    The Esc key did not exit the slideshow after right clicking screen with mouse during slideshow playing.
    Import dialog remained blank for folders that contain PNG files with XMP sidecars.
    Metadata panel displayed incorrect information after modifying published photo.  Please note that this only occurred when metadata was changed after the photo was published.

  • Problems with exporting project incorporating still images

    I'm using iMovie 11 with Snow Leopard in my iMac. I've made a movie incorporating nonHD footage and requiring 4:3 aspect ratio.The project also includes still pictures that introduce the old movie footage itself. I find I can get better overall quality exporting the completed project as a QuickTime movie rather than sending it directly to iDVD or using the "Export movie..." option. However, when I export as a Quick Time movie, although the old movie footage itself shows up exactly the way it should, the aspect ratio of the still pictures preceding the old movie footage has changed. When I use the "Find Info" option I notice the dimensions for the Quick Time movie are shown as 480 x 720 while the dimensions for the version I shared using "Export movie..." option are 480 x 640. I'm imagining this has something to do with the changed aspect ratio of the still photographs, although I should say that the movie that follows the introduction using the still pictures appears identical in both options. I would like to retain the quality of the "Export as Quick Time movie..." option while retaining the proper aspect ratio of the still pictures. When I run the project in the project browser, the still imagery looks fine; it's only when it's exported as a Quick Time movie that the aspect ration changes. Thank you.

    What you might want to try is to set the cropping attribute in iMovie for those pictures to the 'Fit' option. To do that on a single image, click on the gear icon in the Project Browser for that picture and choose 'Cropping, Ken Burns and Rotation'. In the Preview window there's 3 buttons that allow you to set how the pictures are displayed. Fit|Crop|Ken Burns. in order to maintain the aspect ratio of the videos versus the pictures set the button to 'Fit' and see if it looks different in the final output to QuickTime. Fit will add black bars to the sides or top of the image to match the aspect ratio of the whole video. The other option, Crop, will cut off the sides or tops as needed to fill the whole video frame with the picture (no black spacer bars necessary).
    Double-check your iMovie Project settings under the File Menu > Project Properties and make sure your aspect ratio is reflected there properly. Also make sure your QuickTime export settings indicate a frame size that is in the 4:3 ratio (as opposed to the 720x480 closer to 3:2).

  • Missing setup statements when exporting to java source code

    We are moving from Toplink 9i to Toplink 10g. (I know, we're a little behind the times). I saved the project in 10g checked to make sure all the settings were the same as in the 9i project. When I export the project to java source code, we're missing the following configuration setup statements.
    Has anyone else run in to this issue? (login is a DatabaseLogin object)
         // Configuration properties.
         login.setUsesNativeSequencing(false);
         login.setSequencePreallocationSize(50);
         login.setSequenceTableName("SEQUENCE");
         login.setSequenceNameFieldName("SEQ_NAME");
         login.setSequenceCounterFieldName("SEQ_COUNT");
         login.setShouldBindAllParameters(false);
         login.setShouldCacheAllStatements(false);
         login.setUsesByteArrayBinding(true);
         login.setUsesStringBinding(false);
         if (login.shouldUseByteArrayBinding()) {
              login.setUsesStreamsForBinding(false);
         login.setShouldForceFieldNamesToUpperCase(false);
         login.setShouldOptimizeDataConversion(true);
         login.setShouldTrimStrings(true);
         login.setUsesBatchWriting(false);
         if (login.shouldUseBatchWriting()) {
              login.setUsesJDBCBatchWriting(true);
         login.setUsesExternalConnectionPooling(false);
         login.setUsesExternalTransactionController(false);

    These settings are all the defaults, so not required. The project code generation no longer includes defaults.
    -- James : http://www.eclipselink.org

  • HT1026 Moved iMovie files to an external HD- Now have a project full of 'Source clip cant be found' yellow triangles.

    I have foolishly moved my files to an external HD without following this advice. Now I'm left with a project full of 'Source clip cant be found' yellow triangles. Am I seriously going to have to start again or can I move them back somehow? They are from a variety of events and having tried moving some of them back into the imovie events folders using finder, I'm having no luck. Any help?!?

    The other thread I found is here:
    http://discussions.apple.com/thread.jspa?threadID=1908460&tstart=15
    I had some initial success after moving my projects and events on to the ext drive. iMovie reconnected the missing source clips and all of my projects played fine, with music and video intact. Hooray!
    However I opened iMovie last night only to discover the source clips missing again. The music and photo stills are fine, it's just the iPhoto video. When I pass the cursor over the ! it tells me it is looking for the files on my HD even though they no longer exist there as I chose the MOVE option, not the COPY.
    Agh!
    I also tried the consolidate media option which tells me not all of the clips and events are on my ext drive (funny that they were yesterday) but when I click the option to move them, nothing happens.
    Do you still have a copy of the events on your ext drive? Can you try copying them over again?

  • Java source / oracle.sql.BLOB.createTemporary

    Hi!
    I want to write some java-code (CREATE OR REPLACE AND RESOLVE JAVA SOURCE NAMED...)
    where I want to return an image as blob.
    For doing that I have to initialize the blob in the java-code -correct?
    I see many examples like
    oracle.sql.BLOB.createTemporary(conn, false,oracle.sql.BLOB.DURATION_CALL)
    In PL/SQL there is some similar:
    dbms_lob.createtemporary(lob_loc => xmlclob, cache => TRUE, dur => dbms_lob.SESSION);
    If I have to initialize the blob in the java source, how to do that?
    I don't want an connection to an remote database, the java-code will be in the database, so can I call createTemporary without >conn<?
    (Oracle 10gR2, Windows, Linux, AIX)
    The picture will be generated calling other java-code loaded with loadjava.
    The java-source I want to write will be wrapped with PL/SQL.
    Greetings
    Bjørn

    Hi!
    It seems you can do this:
              try {
                   conn = new OracleDriver().defaultConnection();                graphblob = oracle.sql.BLOB.createTemporary(conn, false,oracle.sql.BLOB.DURATION_CALL); // must init
                   System.out.println("Blob is init");
              } catch ( java.sql.SQLException sEx ) {
                   throw new RuntimeException ("No connection", sEx);
    http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:1285601748584
    http://www.unix.org.ua/orelly/oracle/guide8i/ch09_08.htm
    /Bjoern

  • [svn:fx-trunk] 11926: Fix 3. 0 compatiblity-version bug with generated styles.

    Revision: 11926
    Revision: 11926
    Author:   [email protected]
    Date:     2009-11-18 04:46:03 -0800 (Wed, 18 Nov 2009)
    Log Message:
    Fix 3.0 compatiblity-version bug with generated styles.
    src/java/flex2/compiler/common/CompilerConfiguration.java
       Turn ?\226?\128?\147isloate-styles off in 3.0 compatibility mode. This flag also turns on the hidden option ?\226?\128?\147allow-duplicate-default-style-declarations which is what fixes the bug.
    src/java/flex2/compiler/css/StyleDef.vm
       Changed a tab to spaces.
    QE notes: None.
    Doc notes: None.
    Bugs: SDK-24259
    Reviewer: Peter
    Tests run: checkintests
    Is noteworthy for integration: no
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-24259
    Modified Paths:
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/CompilerConfiguration.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleDef.vm

    FYI - This regression has been filed here: http://bugs.adobe.com/jira/browse/SDK-31989

  • E-Commerce for mySAP ERP: Problem with java source code

    Hello everybody,
    we try to implement web shops on the basis of ECO for ERP 5.0. The shop is running fine and we want to start with some extensions in java classes and web UI with NWDI  2004s.
    We created a new track and our own application as described in "Development And Extension Guide". We need to extend some of the original java classes for the b2b scenario and of course the user interface.
    We got the information from SAP, that the original java classes are not intended
    to be modified by customers and therefore it is not intended to create a project with NWDI that contains that source code. But we should be able to create own DCs and copy the source code into it and then modify them on own risk.
    We tried to do that, but always got errors.
    Due to customer requirements we have to make some modifications otherwise we can not use this solution.
    If there is anybody who has already some experience with this topic we
    would be very glad to get some hints.
    Kind Regards
    Helmut

    Hello Raju,
    I am sorry, but I am no technical consultant, but I am have to change 
    the already installed application for our customers.
    Nethertheless I try to give you some information I have. I had a look at SAP note 883948 you mentioned. The software components which are listed under XECO are the software components which contain the E-Commerce Application. You also find them in the "Development and Extension Guide".
    There are some guides under  http://service.sap.com/instguides -> mySAP Business Suite Solutions -> mySAP ERP -> mySAP ERP 2005 -> Installation. In the document "SAP E-Commerce for mySAP ERP: Business Scenario Configuration Guide" there is a table of the needed components on a high level.
    From the view of the application you need the E-Commerce application itself, the TREX for searching in the product catalog, the IPC if you want to have price calculation in the shop or configuration of products with optional components.
    Hope this helps a bit
    Kind Regards
    Helmut

  • Premiere CC 2014 "Match Source" bug when exporting multiple clips

    Getting a strange bug when trying to batch export.
    The source clips are 4K MP4s. When exporting individually I use the Match Source button in the export dialogue and it correctly matches to the 4K frame size when sending to queue in Media Encoder.
    If I select multiple clips and batch export them, selecting "Match Source" they come out as NTSC DV 29fps 720 x 480. The only way to work around this is to manually enter the frame values in Media Encoder after queuing.
    Anyone come across this? Anyone at Adobe aware?
    System Specs:
    Mid 2010 Mac Pro 2 x 2.9GHz 6 Core Xeon
    32GB RAM
    nVidia GTX 680
    240GB SSD boot drive
    2TB internal cache drive
    Adobe Premiere 8.1.0 (81) Build
    OS 10.8.5

    Do you have a utility to check your computer temperatures?
    You MAY have a hardware problem, since video editing puts a LOT of stress on all components... below is not exactly the same, but worth reading
    BSOD shutdowns http://forums.adobe.com/thread/1427408?tstart=0
    http://blogs.adobe.com/kevinmonahan/2014/01/13/computer-shuts-down-with-premiere-pro-or-af ter-effects/

  • BUG: Import Java Sources, can delete file contents.

    When I was recreating my project files because I had a problem with migrating from Preview 2. I went to import all my source into the new project... via File > Import > Java Sources... This is when I realized I setup the path wrong for the project I had c:\projects\application\projectname\projectname\src for the source where it was suppose to be c:\projects\application\projectname\src.
    Anyway instead of recreating again I just changed the Copy to 'c:\projects\application\projectname\src' and I set the copy from to the same exact directory 'c:\projects\application\projectname\projectname\src', then clicked ok to import.
    Well 10minutes later after adding the rest of the stuff I need and fixing the directory paths I realized all the source files were there but the contents were deleted!
    Wasn't a big deal for me because I backup my files and I just right clicked on the source folder in vista and restored the previous versions (what a handy feature)... But I don't remember getting a warning and why would it delete the contents anyways? Shouldn't it do a check to see if its copying the file onto it self before copying and just skip the copy part and import.
    Stupid me for messing up the path but for someone who doesn't backup their files this would really suck bad.
    Thanks,
    Art

    When I was recreating my project files because I had a problem with migrating from Preview 2. I went to import all my source into the new project... via File > Import > Java Sources... This is when I realized I setup the path wrong for the project I had c:\projects\application\projectname\projectname\src for the source where it was suppose to be c:\projects\application\projectname\src.
    Anyway instead of recreating again I just changed the Copy to 'c:\projects\application\projectname\src' and I set the copy from to the same exact directory 'c:\projects\application\projectname\projectname\src', then clicked ok to import.
    Well 10minutes later after adding the rest of the stuff I need and fixing the directory paths I realized all the source files were there but the contents were deleted!
    Wasn't a big deal for me because I backup my files and I just right clicked on the source folder in vista and restored the previous versions (what a handy feature)... But I don't remember getting a warning and why would it delete the contents anyways? Shouldn't it do a check to see if its copying the file onto it self before copying and just skip the copy part and import.
    Stupid me for messing up the path but for someone who doesn't backup their files this would really suck bad.
    Thanks,
    Art

  • How can I share a *.java source file across multiple projects in NetBeans?

    I'm sure this simple and a pretty common operation but how can I share a *.java source file across multiple projects in NetBeans? Right now I keep cut, coping and pasting the same source file between multiple projects to re-use the same code. But I could I make this source file a library file or something like that so that I could access it from any project. I assume this would be a generic operation but I mentioned NetBeans for clarity. Thanks.

    fiebigc wrote:
    I know I mentioned NetBeans but I'm most interested in the generic method for creating a library of source files that I can call into whatever program I am developing. I've done such a thing in C using header files and such but I'm trying to get a direction on how this is accomplished in Java. I'm sorry if I could edit the title I would. If anyone wants to be specific about NetBeans I welcome that too.
    Edited by: fiebigc on Jun 20, 2008 5:57 PM
    >I know I mentioned NetBeans but I'm most interested in the generic method for creating a library of source files that I can call into whatever program I am developing. I've done such a thing in C using header files and such but I'm trying to get a direction on how this is accomplished in Java. I'm sorry if I could edit the title I would. If anyone wants to be specific about NetBeans I welcome that too.
    Edited by: fiebigc on Jun 20, 2008 5:57 PM
    Create a class library.
    Write your code, compile it to .class files, put those class files in a .jar file and include the jar file in the classpath whenever you want to compile a project against it.

Maybe you are looking for

  • My iTunes wont open for me and i've reinstalled it and it still dont work?!

    It started the other day, everytime I click on iTunes, it comes up saying that iTunes has encountered a problem and needs to close. And it askes me if I would like to Send Error Report or not. I have removed iTunes off my computer completely and rein

  • Java.io.IOException: Data error (cyclic redundancy check)

    Dear everyone, I have a utility that copys a file, using streams. It has always worked fine, but I ran into an exception this morning: java.io.IOException: Data error (cyclic redundancy check) from the call: int bytes = fileInputStream.read(byteBuffe

  • How to hide the PORT NUMBER from the URL

    Hi, We have Application on Node 1 and Database on Node 2 Apps Version: 11.5.10.2 DB: 9.2.0.6 We recently added a new node to act as web server for iSupport. Now we are able to access the url using public Ip-address which looks like http://<Internet I

  • Lost clips

    Several times, I have imported clips from a cd or an Imovie file into FCP 3, then quit the program only to find the clips missing when I return. When this happens, I get a Media Offline message in the timeine where my edited clip used to be, but the

  • Why wont photos, created with facial recognition rotate in windows?

    Hi all, I just got back from a lovely vacation on which the SLR stayed in the suitcase and the 4s took the snapshots. Somehow I take all the pictures upside down, must be me. No problem, because I'll just rotate them. However, all photo's that contai