Working around unchecked conversions when using reflection

I think I've convinced myself that there's no way around this issue when using reflection and Generics, but here's the issue:
Suppose I've got a method that uses reflection to compare an arbitrary property in
an arbitrary pair of beans (of the same class).
public static <T> int compare(T bean0, T bean1, String prop) throws Exception {
     Method m = bean0.getClass().getMethod(
               "get" + prop.substring(0,1).toUpperCase() +
               prop.substring(1));
     Object o0 = m.invoke(bean0);
     Object o1 = m.invoke(bean1);
     if (o0 instanceof Comparable &&
         o1 instanceof Comparable &&
         (o1.getClass().isAssignableFrom(o0.getClass()) ||
          o0.getClass().isAssignableFrom(o1.getClass()))) {
          return ((Comparable)o0).compareTo(o1); // compiler warning
     } else {
          return o0.toString().compareTo(o1.toString());
}There's no way that, in general, when using reflection to invoke methods, that you can coerce the types to avoid compile-time type safety warnings. I think the above code is guarranteed not to throw a runtime ClassCastException, but there's no way to write the code so that the compiler can guarrantee it. At least that's what I think. Am I wrong?

Ok it looks like you're dealing with a classloader issue. when you call that method, it is the equivelant of calling
Class.forName("Box", true, this.getClass().getClassLoader())The exception is thrown when your class's classloader cannot find the class box. try putting 'null' there
Class.forName("Box", true, null)and it will request the bootstrap classloader to load the class. just make sure you have permission :
If the loader is null, and a security manager is present, and the caller's class loader is not null, then this method calls the security manager's checkPermission method with a RuntimePermission("getClassLoader") permission to ensure it's ok to access the bootstrap class loader. (copied from the API)

Similar Messages

  • [svn] 1720: Bugs: LCDS-304 - Authentication not working in all cases when using security constraint with NIO endpoints .

    Revision: 1720
    Author: [email protected]
    Date: 2008-05-14 14:50:06 -0700 (Wed, 14 May 2008)
    Log Message:
    Bugs: LCDS-304 - Authentication not working in all cases when using security constraint with NIO endpoints.
    QA: Yes
    Doc: No
    Details:
    Update to the TomcatLoginCommand to work correctly with NIO endpoints.
    Ticket Links:
    http://bugs.adobe.com/jira/browse/LCDS-304
    Modified Paths:
    blazeds/branches/3.0.x/modules/opt/src/tomcat/flex/messaging/security/TomcatLoginCommand. java

    Revision: 1720
    Author: [email protected]
    Date: 2008-05-14 14:50:06 -0700 (Wed, 14 May 2008)
    Log Message:
    Bugs: LCDS-304 - Authentication not working in all cases when using security constraint with NIO endpoints.
    QA: Yes
    Doc: No
    Details:
    Update to the TomcatLoginCommand to work correctly with NIO endpoints.
    Ticket Links:
    http://bugs.adobe.com/jira/browse/LCDS-304
    Modified Paths:
    blazeds/branches/3.0.x/modules/opt/src/tomcat/flex/messaging/security/TomcatLoginCommand. java

  • On a Mac v10.6.6 Firefox v3.6.13 Right click on Google Map does not bring up the drop down box, with the first item being directions from here, the right click does work on Google map when using Safari

    On a Mac v10.6.6 Firefox v3.6.13 Right click on Google Map does not bring up the drop down box, with the first item being "directions from here", the right click does work on Google map when using Safari

    Your above posted system details show outdated plugin(s) with known security and stability risks.
    *Shockwave Flash 9.0 r999
    Update the [[Managing the Flash plugin|Flash]] plugin to the latest version.
    *http://www.adobe.com/software/flash/about/
    In Firefox 3.6 and later versions you need the Next-Generation Java™ Plug-In present in Java 6 U10 and later (Linux: libnpjp2.so; Windows: npjp2.dll).
    http://java.com/en/download/faq/firefox_newplugin.xml
    See also http://java.sun.com/javase/6/webnotes/install/jre/manual-plugin-install-linux.html

  • Update problem when using reflection

    We have an issue when updating objects. The values are not updated in the DB when we set the values in the domain class using reflection. However when we explicitly set the values using the setter methods, update is ok.
    Here is the code for the reflection mechanism:
    UnitOfWork uow = session.acquireUnitOfWork();
    //domain class which needs to be persisted
    Student student = new Student();
    //get the clone
    Student studentClone = (Student) uow.registerObject(student);
    //copy the values from the value object into the
    // domain class using reflection
    studentClone.setVo(studentVo);
    uow.commit();
    The setVo method uses reflection to set the values (using invokeMethod). The values are set properly in the domain object. But the values are not updated when we do the commit.
    However, if we explicitly set the values in the clone using the "setter" methods, update is okay. So this code works fine.
    UnitOfWork uow = session.acquireUnitOfWork();
    Student student = new Student();      
    Student studentClone = (Student) uow.registerObject(student);
    studentClone.setName("NBA"); //set the value of name
    uow.commit();
    Any ideas would be appreciated...
    Thanks much

    TopLink 10.1.3 tracks changes through working and backup copies by default, so even if you set your changes through reflection they should be picked up. If you were using CMP 2 or EJB 3 or explicitly enabled AttributeChangeTracking, then changes set through reflective field access could be missed. In this case you should use the set methods through reflection, instead of the field directly.
    I would check your code that set the changes through reflection, perhaps it is not working as you expect. Check the state of the object after applying the changes and verify they were actually set. Also ensure that you are changing the UnitOfWork clone, not the original object.

  • Two work-arounds for Siena when working with large files

    MonaTech pointed out that Project Siena will crash when switching to the desktop or another app.  I've also noticed this happening even when the monitor goes to sleep with inactivity.  To be clear, this is *developing* in Siena, not after the app
    you're working on has been compiled and installed.
    The 'non-technical' work-around that has been successful for me is to split the screen before I switch to another app.  It's not perfect but at least I can switch to another app (browser, desktop app, etc.) without losing where I'm at.
    A more technical work-around is proposed in this thread:http://social.technet.microsoft.com/Forums/en-US/c768be8f-3c85-444e-bb44-6f29abdecee7/project-siena-app-memory-issues-with-large-project-?forum=projectsiena 
    If you have a version of Visual Studio (that's not Express) it may do the trick for you.
    FYI - In the post you'll see that Olivier responded and indicates that this is a known issue.
    Thor

    Wow - that's what you get for multi-tasking! :)
    The link is now fixed in my original post and posted here for convenience:
    http://social.technet.microsoft.com/Forums/en-US/c768be8f-3c85-444e-bb44-6f29abdecee7/project-siena-app-memory-issues-with-large-project-?forum=projectsiena
    Thor

  • AutoSize not working properly in TextField when using non-zero line spacing

    When using non-zero line spacing, the autoSize property is not functioning as expected, causing text fields to scroll that shouldn't.  Also, when using device fonts, the sizes of the TextFields are wrong in the Flash IDE.
    I have a TextField whose height is supposed to be dynamic, depending the width of the TextField.  wordWrap is true, the text is left aligned, and the autoSize value is flash.text.TextFieldAutoSize.LEFT.
    When the TextField's width is adjusted, the height increases or decreases as expected, but when I scroll the mouse wheel over the TextField, it allows a single line to scroll out of view.  This should not be happening.  The autoSize property should ensure the TextField is large enough to neither require nor allow scrolling.
    Has anyone else encountered this issue or know how to fix it?
    Update: Been a problem since at least 2006! > http://blog.nthsense.net/?p=46
    http://www.kirupa.com/forum/showthread.php?288955-Disabling-textfield-scrolling   Bug is caused by using a line height ("line spacing" in Flash) larger than zero, for example 1.0pt.  It looks like when I reduce the line spacing of the text field to zero, the issue goes away.  There doesn't seem to be anything wrong with how autoSize is calculating the required height of the text (i.e. it is exactly textHeight + 4 pixel gutter, and drawing the rectangle (2,2,textWidth,textHeight) aligns visually with the text), so it must have to do with how the TextField is deciding whether it needs to scroll or not, and that separate calculation is being thrown off by the non-zero line spacing.  The additional non-zero spacing at the end of the last line could be making the TextField think it needs to scroll, even though it's hight is sufficient at "textHeight + 4".  Apparently the problem manifests when using a non-zero leading value as well.
    In fact, it has to be related to the leading value exactly, since the following code stops the textfield from scrolling.
    //body is TextField
    var tlm:TextLineMetrics = body.getLineMetrics(body.numLines - 1);
    trace(tlm.leading); //traces "1" here.  traces zero when line spacing is zero, and traces larger values with larger line spacing values
    body.autoSize = flash.text.TextFieldAutoSize.NONE; //turn off autosize so the height can be set manually
    body.height += tlm.leading; //increase height of textfield by leading value of last line to cause scrolling to be turned off.
    Honestly, this is pretty unacceptable bug.  First of all, scrolling should not be sensitive to trailing line spacing, because autoSize and textHeight do not include it. It need to be consistent, and I think textHeight and autoSize setting height = textHeight + 4 is correct.  Vertical scrolling should use textHeight as it's guage for whether scrolling is necessary, but instead, it's obviously involving the leading values of the last line.  At the very least, vertical scrolling should simply be disabled when autoSize is turned on and wordWrap is true, because the TextField should be big enough to fit all the text.  The workaround of manually adjusting the height is also no good, since turning autoSize back on will immediately change the size back and trigger scrolling again.  I also shouldn't have to set line spacing to zero just to use the autoSize feature, since the scrolling calculations are wrong in this way.

    No, lol.  Luckly, I replace most of my TextFields on the display list with my subclass TextFieldEx.  I just call a clone method that accepts a TextField and returns a TextFieldEx with identical properties.
    I corrected the problem via modifying the subclass to behave differently when autoSize is not NONE and wordWrap is true.  Under those conditions, the maxScrollV and scrollV property values are fixed at 1, and the class listens for its own SCROLL event and sets scrollV to 1 when it occurs.  That allows me to leave everything else alone, including text selection, and use whatever line spacing I want.
    The modification seems to work fine so far.
    For anyone interested in doing something similar, here is a clone method that will copy a TextField.
    public static function clone( t:TextField ):TextFieldEx
                                  var te:TextFieldEx = create( "", t.width, t.type, t.multiline, t.wordWrap, t.selectable, t.embedFonts, t.defaultTextFormat );
                                  te.alpha = t.alpha;
                                  te.alwaysShowSelection = t.alwaysShowSelection;
                                  te.antiAliasType = t.antiAliasType;
                                  te.autoSize = t.autoSize;
                                  te.background = t.background;
                                  te.backgroundColor = t.backgroundColor;
                                  te.blendMode = t.blendMode;
                                  //te.blendShader = t.blendShader;
                                  te.border = t.border;
                                  te.borderColor = t.borderColor;
                                  te.cacheAsBitmap = t.cacheAsBitmap;
                                  te.condenseWhite = t.condenseWhite;
                                  te.displayAsPassword = t.displayAsPassword;
                                  //te.embedFonts = t.embedFonts;
                                  te.filters = t.filters;
                                  te.gridFitType = t.gridFitType;
                                  te.height = t.height;
                                  te.opaqueBackground = t.opaqueBackground;
                                  te.restrict = t.restrict;
                                  //te.selectable = t.selectable;
                                  te.sharpness = t.sharpness;
                                  te.thickness = t.thickness;
                                  te.transform = t.transform;
                                  //te.type = t.type;
                                  te.useRichTextClipboard = t.useRichTextClipboard;
                                  //te.wordWrap = t.wordWrap;
                                  //Assign text last
                                  te.htmlText = t.htmlText;
                                  return te;
    //And the create method it uses
    public static function create( text:String = "", width:Number = NaN, type:String = null, multiline:Boolean = false, wordWrap:Boolean = false, selectable:Boolean = true, embedFonts:Boolean = false, font_or_textformat:*=null, size:Object=null, color:Object=null, bold:Object=null, italic:Object=null, underline:Object=null, url:String=null, target:String=null, align:String=null, leftMargin:Object=null, rightMargin:Object=null, indent:Object=null, leading:Object=null ):TextFieldEx
                                  var tf:TextFieldEx = new TextFieldEx();
                                  tf.width = isNaN(width) ? 100 : width;
                                  tf.defaultTextFormat = (font_or_textformat is TextFormat) ? (font_or_textformat as TextFormat) : new TextFormat( font_or_textformat as String, size, color, bold, italic, underline, url, target, align, leftMargin, rightMargin, indent, leading );
                                  tf.embedFonts = embedFonts;
                                  tf.multiline = multiline;
                                  tf.wordWrap = wordWrap;
                                  tf.selectable = selectable;
                                  tf.type = type;
                                  tf.text = text; //setting text last ensures the text line metrics returns correct values
                                  //Initialize the TextField's size to fit the text.
                                  if (!multiline)
                                            //When in single-line mode and no specific width is given,
                                            //expand width to entire line.
                                            if (isNaN(width))
                                                      tf.width = tf.textWidth + 4; //match width of text
                                  //Height is always automatically adjusted to fit the text by default.
                                  //It's better than the arbitrary 100px default height.
                                  var minimum_height = tf.getLineMetrics( 0 ).height;
                                  var h:Number = tf.textHeight;
                                  tf.height = (h < minimum_height) ? (minimum_height + 4) : (h + 4); //match height of text, ensuring height is at least enough to display one line, even if there is no text
                                  return tf;

  • [SOLVED]Netcfg works great manually, but when using the daemon it wont

    I installed netcfg a really long time ago following the arch wiki. When I first installed it and set everything up, it was all working perfectly.
    For the past three or four months Ive been having problems where netcf daemon is failing to connect (home wireless network 256bit wep). It takes about 20 seconds just waiting and eventually says failed. If I log in and run the command manually (sudo netcfg home-wifi) it connect perfectly fine every time.
    Ive tried everything I can think of including different QUIRKS and changing permissions on the profiles but nothing works. I also tried using the netcfg menu but it doesnt work like that either. I went over the wiki page again thinking something might have chnaged, but its all the same. I even reinstalled and configured again but still nothing.
    heres my rc.conf
    # /etc/rc.conf - Main Configuration for Arch Linux
    # LOCALIZATION
    # LOCALE: available languages can be listed with the 'locale -a' command
    # HARDWARECLOCK: set to "UTC" or "localtime", any other value will result
    # in the hardware clock being left untouched (useful for virtualization)
    # TIMEZONE: timezones are found in /usr/share/zoneinfo
    # KEYMAP: keymaps are found in /usr/share/kbd/keymaps
    # CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
    # CONSOLEMAP: found in /usr/share/kbd/consoletrans
    # USECOLOR: use ANSI color sequences in startup messages
    LOCALE="en_US.UTF-8"
    HARDWARECLOCK="UTC"
    TIMEZONE="America/New_York"
    KEYMAP="us"
    CONSOLEFONT=
    CONSOLEMAP=
    USECOLOR="yes"
    # HARDWARE
    # MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
    # MOD_BLACKLIST: Prevent udev from loading these modules
    # MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
    # NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
    MOD_AUTOLOAD="yes"
    #MOD_BLACKLIST=() #deprecated
    MODULES=(acpi-cpufreq cpufreq_ondemand vboxdrv loop)
    # Scan for LVM volume groups at startup, required if you use LVM
    USELVM="no"
    # NETWORKING
    # HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
    HOSTNAME="Arch"
    # Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
    # Interfaces to start at boot-up (in this order)
    # Declare each interface then list in INTERFACES
    # - prefix an entry in INTERFACES with a ! to disable it
    # - no hyphens in your interface names - Bash doesn't like it
    # DHCP: Set your interface to "dhcp" (eth0="dhcp")
    # Wireless: See network profiles below
    #Static IP example
    #eth0="dhcp"
    eth0="dhcp"
    INTERFACES=(eth0)
    # Routes to start at boot-up (in this order)
    # Declare each route then list in ROUTES
    # - prefix an entry in ROUTES with a ! to disable it
    gateway="default gw 192.168.0.1"
    ROUTES=(!gateway)
    # Enable these network profiles at boot-up. These are only useful
    # if you happen to need multiple network configurations (ie, laptop users)
    # - set to 'menu' to present a menu during boot-up (dialog package required)
    # - prefix an entry with a ! to disable it
    # Network profiles are found in /etc/network.d
    # This now requires the netcfg package
    NETWORKS=(home-wifi)
    # DAEMONS
    # Daemons to start at boot-up (in this order)
    # - prefix a daemon with a ! to disable it
    # - prefix a daemon with a @ to start it up in the background
    DAEMONS=(syslog-ng crond hal cpufreq !network net-profiles @netfs @alsa @sensors @mpd)
    What gets me is that it actually takes longer to fail then it does when I manually connect. It times out for like 20 seconds, but when I manually connect its almost instantaneous.
    Last edited by tjwoosta (2010-03-02 05:31:37)

    I had arch installed on my Sony VAIO, had this problem, and then fixed it somehow.  That was several months ago, recently I fried the laptop so I just reinstalled and can't remember.  But now I have a "solution"  haha
    this is kind of silly how I got it to work, though.
    I created another profile "home-wifi-boot" with a short timeout, this is called from rc.conf.
    then I put "/usr/bin/netcfg home-wifi" in my /etc/rc.local  , which is exactly the same but has a 30 sec timeout.
    This just does the same thing as I was doing manually, runs netcfg a second time.  It works for me!
    Last edited by jamba (2010-02-14 15:30:58)

  • Hyperlink not working in presentation mode when using alternate display

    Made hyperlinks to jump from slide x to slide y
    That worked fine when testing in presentation mode
    When the same file is played using a beamer as alternate display the hyperlinks are not recognised: clicking will start the next build of the presentation

    Is there anybody who successfully used a hyperlink to jump from slide A to slide Y? (and when using the beamer as an alternate display, using the macbook pro screen for the presentation notes)
    If so, I can try to find out what I do wrong, otherwise it might be a bug in Keynote'08
    thanks for your attention in this matter!!

  • ParameterNotBound exception when using reflection to set params

    I'm using the JDBC type 4 thin driver going to 8.1.6 on Win2K.
    I have an EJB method that uses reflection to do the set<type> methods on the PreparedStatement to set the positional parameters for a SQL query statement.
    The first time the method executes, I get a ParameterNotBound exception. I've used the debugger to determine that all the parameters are bound - at least the set<type> methods have been called.
    The wierd thing is that all subsequent calls to the the SQL query method work fine.
    Does anyone here know where in the PreparedStatement class are the parameters bound. What data element? I'm trying use the debugger to determine what's different the first time the method is called.
    Thanks,
    Rich Bolen

    Congrats Darek!
    That function really works... here is my program test:
    package integracao.sap.teste;
    import java.util.Properties;
    import integracao.sap.config.ConfigUtil;
    import integracao.sap.funcao.RFC_READ_TABLE;
    import com.sap.mw.jco.IRepository;
    import com.sap.mw.jco.JCO;
    public class TestJCOError {
         private static Properties config;
         private static JCO.Client createJCOClient(){
              JCO.Client client = JCO.createClient(config.getProperty("numClient"), config.getProperty("user"), config.getProperty("password"), "EN", config.getProperty("host"), config.getProperty("numPrograma"));
              return (client);
    @param args
         public static void main(String[] args) {
              config = ConfigUtil.getConfig();
              JCO.Client client = createJCOClient();
              client.connect();
              IRepository repository = JCO.createRepository("REP", client);
              JCO.Function func = RFC_READ_TABLE.createFunction(repository);
              func.getImportParameterList().setValue("MARC", "QUERY_TABLE");
              func.getImportParameterList().setValue(";",    "DELIMITER");
              func.getTableParameterList().getTable("OPTIONS").appendRow();
              func.getTableParameterList().getTable("OPTIONS").setValue("MATNR = '000000000000000011'", "TEXT");
              func.getTableParameterList().getTable("FIELDS").appendRow();
              func.getTableParameterList().getTable("FIELDS").setValue("MATNR", "FIELDNAME");
              client.execute(func);
              JCO.Table table = func.getTableParameterList().getTable("DATA");
              System.out.println("NumRows: " + table.getNumRows());
              System.out.println("Content: " + table.getValue("WA"));
    Result:
    NumRows: 1
    Content: 000000000000000011
    Hope it helps everybody!
    Regards,
    Danilo Andrade

  • The yellow box around the pages when using Word Processing

    I am somewhat new to the Mac, work with "Pages" to do newsletters. The first time I chose to use the Word Processing. Next I tried Pages layout.
    It was when clicked on "View thumbnails" in Word Processing newsletter that I noticed the yellow box all around the pages. If I tried to delete a page, they all went. Luckily there is an "undo delete" button. (o:
    I have since read the difference between layout and Word Processing from one of the posts. Is there any way to delete the yellow box?
    Compumom4

    There is one yellow box for each Section of the document. When you delete a Thumbnail, you delete the entire Section, however many pages are in that section. In Page Layout, each Page is a Section, so it may be deleted without affecting other pages.
    To delete one page out of a Section in a Word Processing document, the easiest way is to highlight all its content and hit the Delete key.
    Regards,
    Jerry

  • Ever since I installed Snow Leopard (10.6.8), masking in QuickTime 7Pro has stopped working.  Has anybody experienced this?  Is there a work around?  Can I use FCP to add masks to video?

    Ever since I installed Snow Leopard (10.6.8) a month ago, the masking function in QuickTime 7Pro (v. 7.6.6) stopped working.  Masks disappeared in old videos where I had previously and successfully added a mask, and I could not longer use QT 7Pro to add a mask to a new video.  When I installed Snow Leopard I also installed QT X, but I found QT 7Pro in the Utilities folder, so it is still there but the masking function is definately not working.
    Has anybody else experienced this?
    Is there a remedy so I can recover my older masked videos, and make new masked videos?
    Can I make masked videos in Final Cut Pro?
    Thanks!

    Ever since I installed Snow Leopard (10.6.8) a month ago, the masking function in QuickTime 7Pro (v. 7.6.6) stopped working.  Masks disappeared in old videos where I had previously and successfully added a mask, and I could not longer use QT 7Pro to add a mask to a new video.  When I installed Snow Leopard I also installed QT X, but I found QT 7Pro in the Utilities folder, so it is still there but the masking function is definately not working.
    Has anybody else experienced this?
    Is there a remedy so I can recover my older masked videos, and make new masked videos?
    Can I make masked videos in Final Cut Pro?
    Thanks!

  • Superdrive not working on MacBook Pro when using Parallels in Leopard

    Just wanted to mention this. I don't know if it's been reported before but I just recently discovered this when attempting to use my drive to read some DVDs. I installed Leopard a couple of weeks ago and haven't used the drive since, so yesterday when I couldn't read any discs I got worried that the drive might be malfunctioning. By accident I closed Parallells in the dock and a while later when giving the drive a last try I was surprised to see that it was fully working again
    Just a tip so you don't unnecessarily go and turn in your MacBook (and have to wait like 3-4 weeks before getting it back...).
    There are certainly a lot of bugs in Leopard...

    When you configured your Parallels host OS you told it to grab the CD drive. Once it has done that it is no longer available to OS X. Go to the lower right corner of the Parallels window and find the CD drive icon. You can release the drive back to OS X there.

  • How do I get rid of various lines around text boxes when using navigation panes

    How can I get rid of these various lines that are displaying sporatically around different text boxes . . . but only when the navigation panel is displaying?  I previously had the issue and changed the text box properties to no fill.  It fixed the problem in the document with no navigation panel, but once the navigation panel is displayed the lines appear.  And yes, I fixed the text box properties before creating the bookmarks for the navigation panel.

    Every device, browser and browser version has its idiosyncrasies.
    Just using a stroke and a drop shadow should not have been enough to require Muse to convert the page fill to an image. Were/are there also other effects on the page? Are the page corners slightly rounded?
    Bevel and Inner Glow definitely require an image to be created. Most other effects/properties do not.

  • Another tip for working around iDVD encoding errors: Use internal drive

    I've had several projects that produced the encoding error while rendering the menus, I've also seen a number of tips in this discussion area, e.g., have 20 GB of free space, delete iDVD preferences,  delete encoded assets, and make sure your chapter markers are not near a transition or end of a  clip (good luck with that using iDVD to set your chapters).  Neither of these tips alone allowed me to burn a disk image to disk, but I'm confident they contribute to a more stable iDVD performance overall.
    In my case, the only way I've managed to make the projects to work is to copy the iMovie project over to my internal drive, create the iDVD project on the internal drive and to save the disk image to the internal drive.
    If you're low on internal disk space, as I am, easy to move assets is another advantage of using iMovie 6 over iMovie 8, i.e., you can create the iMovie project on the external drive and then drag a temporary copy over to the internal drive, then you can launch iDVD from within iMovie 6 without the annoying step of exporting to the Media Browser. When you're done, delete the temporary movie to free up space for your next project. The iDVD projects can also be moved to a backup drive or deleted.

    You'll always get better results on the startup volume / internal HD (as opposed to an ext. HD) provided you also have at least 20GB's of available HD space remaining. Anything less is often problematic at best.
    My suggestion in this situation is to find a way to clear more HD space. You can clear video files already burned to DVD-R media, burn your iPhoto Library to DVD to clear more space , or even consider clearing languages you won't need on your system with an app like Monolingual. No problems will be created by removing unneeded language files (however it's highly recommend you avoid removing architectures on any intel mac).
    http://monolingual.sourceforge.net/
    The following may interest you as well:
    http://discussions.apple.com/thread.jspa?threadID=1102377&tstart=0

  • Speaker works, but no sound when using iPhone handset and no typing sounds

    Hello, This is the 2nd time this has happened to my iPhone in the last month...
    When I type a text message, lock the phone, slide to unlock the phone, start up the phone, use the iPhone itself to talk to someone on the phone, etc - the sound does not work...
    It does work using the bluetooth headset and it also works on speaker phone (I am able to hear my calls). The ringer for my alarm clock works, but not when someone calls me. The ipod is not working either - I am unable to hear songs.
    The silence switch is not turned on (on the side of the phone) and I've checked the other settings as well... I also restored my phone last night hoping that might work and I've reset the settings on the phone as well...
    Can anyone please help me with this issue?
    Thanks!

    Did this occur after using the earbuds?
    Try inserting and removing the earbuds several times in a row.

Maybe you are looking for

  • Connect MBP to TV using RCA Cables

    Hi. Is there a way I can connect my MacBook Pro to my older TV just using RCA? Basically I have Red, Yellow and White open ports on my TV and wondered if there was a cable or a converter of some kind that I could connect my computer to and then conne

  • Sound problems after updating to ios7?

    Even though the sound IS turned on, all games are without sound after the update - how do I get the sound back? Is it possible to reverse the update? because I don't like it one bit!

  • How to play avi files in quicktime

    I am transferring all my files to my mac from pc. How do I enable quicktime 7 pro to play my avi files???

  • Selecting the 'right' column in a FMS window

    Hello, If I have a FMS showing up say 3-4 columns in the search results.. say Customer name, Invoice number, value and Due Date... How to set the user to select values between one of these columns. At the moment, clicking on the row selects the First

  • Size media library?

    how big should be the media library, or in other words....is there a limit when it comes to the size of one library?