PlugPlugRequestFailed when using retrievePreference()

Hello,
I've recently converted a panel of mine from a Extension Builder project. Since then when I try to retrieve data from Photoshop's storage I get PlugPlugRequestFailed. To see if the way I converted my project may be the cause, I created a fresh project with just the preference code and it still failed. Just to double check the data was still there, I debugged an old version of the panel and it was able to retrieve the data just fine. All of my other SyncRequestResult related code like getHostEnvironment() works fine. What kind of dependencies are there for retrievePreference() that might cause this?
var csxs:CSXSInterface = CSXSInterface.getInstance();
var ggDataResult:Object = csxs.retrievePreference("ggData");
if (SyncRequestResult.COMPLETE == ggDataResult.status && ggDataResult.data) {}
Thanks,
Cameron

After a few days of digging into this I've made some progress. It's working on my end, and I've narrowed down where the problem exits. Unfortunately I don't actually know what the issue is.  I was able to track it back to being caused by my migration from a normal flex builder project to a Extension Builder project. The culprit exits in the manifest. My original file was using a manifest.xml that was built by reverse engineering the Kuler panel a few years ago when I first built GuideGuide.
When I moved to the Extension Builder project, I trusted it to generate a valid manifest file and tried to port my data as best as I could. The result caused the error mentioned above.  To resolve the issue above I grabbed my old manifest file and replaced its contents for the Extension Builder generated one.
The resulting diff didn't present any obvious changes. The only significant change noted is that the generated version used <DispatchInfo> elements with any Host attribute. My older (working) manifest specified two separate <DispatchInfo>  elements, one with Host="PHXS" and the other with Host="PHSP".  My best guess is that without the host specified, the plugin doesn't know where to connect the PlugPlug request.

Similar Messages

  • Sy-tabix when using secondary key

    Hi,
    I have an internal table with records that contain a field with the line index of another table entry that they depend on.
    I can process this table recursively, by passing the parent index inside and using a
    LOOP AT ... USING KEY secondary_key WHERE index = iv_index.
    Unfortunately the sy-tabix is afterwards not correct, it contains the position in the secondary key probably instead the position in the internal table.
    Is there a way how I could find out the current table index, when using a secondary key to read a record?
    Regards,
    Bruno

    I rewrote it to include the row index also, not only the dependency.. was thinking too generic

  • Often lose wireless connection when using HDTV as monitor

    I have an unusual wireless networking problem when using my Samsung HDTV in my living room as a monitor for my MacBook (when watching Internet TV shows, for example). Frequently when I switch URLs, networking freezes, even though the connection appears strong, with the Airport symbol at the top of my screen showing all bars. To re-establish the wireless connection, I have to go through the process of re-joining my network through the “Join Other Network" option. The signal holds as long as I don’t try to change it, as in selecting another URL.
    I connect to my HDTV via HDMI cable, using a mini-DVI to HDMI adapter from my Macbook’s video-out port. The audio connection is a mini-plug from the Mac’s headphone out jack to stereo RCA plugs associated with the TV’s HDMI port.
    The wireless connection is through a Lynksys Wireless-G 2.4 Ghz, 54 Mpbs Broadband router.
    I’d appreciate any solutions the Apple user community has to offer.

    I'd say this has nothing to do with your display. The problem will likely lie in either your router settings, network settings or a simple signal strength issue. Try first changing the broadcast channel on your router, and make sure all settings are correct for your desired network.

  • Since installing LTR 5.4, which I've now upgraded to 5.6, I've encountered repeated slowness and malfunctions in operations, especially when using the Compare View function and the Tab key to open and close the right and left side panels.  Such problems n

    Since installing LTR 5.4, which I've now upgraded to 5.6, I've encountered repeated slowness and malfunctions in operations, especially when using the Compare View function and the Tab key to open and close the right and left side panels.  Such problems never arose during two years of using LTR-4 and nothing else has changed on my computer.  I have a pretty simple system with only a few plug-ins, which are usually not in operation.  I have 12GB of RAM in my Windows 7 PC.  I could illustrate these problems with screen shots if you would tell me how to submit screen shots.  Otherwise I will try to describe the problems in words.
    The problem is clearly cumulative, growing worse as usage time passes.  Compare View feature gradually slows down and eventually seems to choke as my work session proceeds. If I Exit LTR and re-enter and start all over, things will work normally for maybe 30 minutes, but then the Compare View feature begins to become very slow to respond.   In a recent example with my screen full of thumbnails in Library mode I highlighted two images to compare. LTR started to open the Compare View screen by first having the top row of thumbnails disappear to be replaced by the "SELECT" and "CANDIDATE" words in their spaces  (but no images), but Compare View never succeeded in gaining control of the screen. After some seconds the top row of thumbnails reasserted its position and the Compare View windows disappeared. But LTR kept trying to bring them back. Again the top row of thumbnails would go away, Select and candidate would reappear, try again, and give up. This went on for at least 2-3 minutes before I tried to choose File and Exit, but even that did not initially want to respond. It doesn't like to accept other commands when it's trying to open Compare View. Finally it allowed me to exit.
    To experiment I created a new catalog of 1100 images.  After 30-40 minutes, the Compare View function began to operate very slowly. With left and right side panels visible and two thumbnails highlighted, hitting Compare View can take half a minute before the two mid-size  images open in their respective SELECT and CANDIDATE windows. When the side panels are open and two images are in the Select/Candidate spaces, hitting the Tab button to close the side panels produces a very delayed response--25-30 seconds to close them, a few more seconds to enlarge the two images to full size. To reverse the process (i.e., to recall the two side panels), hitting Tab would make the two sides of the screen go black for up to a minute, with no words visible. Eventually the info fields in the panels would open up.
    I also created a new user account and imported a folder of 160 images. After half an hour Compare View began mis-placing data.  (I have a screen shot to show this.)  CANDIDATE appears on the left side of SELECT, whereas it should be on the right. The accompanying camera exposure data appears almost entirely to the left of the mid-screen dividing line. Although the Candidate and Select headings were transposed, the image exposure data was not, but the data for the image on the right was almost entirely to the left of the line dividing the screen in two.
    Gurus in The Lightroom Forum have examined Task Manager data showing Processes running and Performance indicators and they see nothing wrong.  I could also send screen shots of this data.
    At this point, the only way I can process my images is to work 30-40 minutes and then shut down everything, exit, and re-start LTR.  This is not normal.  I hope you can find the cause, and then the solution.  If you would like to see my screen shots, tell me how to submit them.
    Ollie
    [email protected]

    Since installing LTR 5.4, which I've now upgraded to 5.6, I've encountered repeated slowness and malfunctions in operations, especially when using the Compare View function and the Tab key to open and close the right and left side panels.  Such problems never arose during two years of using LTR-4 and nothing else has changed on my computer.  I have a pretty simple system with only a few plug-ins, which are usually not in operation.  I have 12GB of RAM in my Windows 7 PC.  I could illustrate these problems with screen shots if you would tell me how to submit screen shots.  Otherwise I will try to describe the problems in words.
    The problem is clearly cumulative, growing worse as usage time passes.  Compare View feature gradually slows down and eventually seems to choke as my work session proceeds. If I Exit LTR and re-enter and start all over, things will work normally for maybe 30 minutes, but then the Compare View feature begins to become very slow to respond.   In a recent example with my screen full of thumbnails in Library mode I highlighted two images to compare. LTR started to open the Compare View screen by first having the top row of thumbnails disappear to be replaced by the "SELECT" and "CANDIDATE" words in their spaces  (but no images), but Compare View never succeeded in gaining control of the screen. After some seconds the top row of thumbnails reasserted its position and the Compare View windows disappeared. But LTR kept trying to bring them back. Again the top row of thumbnails would go away, Select and candidate would reappear, try again, and give up. This went on for at least 2-3 minutes before I tried to choose File and Exit, but even that did not initially want to respond. It doesn't like to accept other commands when it's trying to open Compare View. Finally it allowed me to exit.
    To experiment I created a new catalog of 1100 images.  After 30-40 minutes, the Compare View function began to operate very slowly. With left and right side panels visible and two thumbnails highlighted, hitting Compare View can take half a minute before the two mid-size  images open in their respective SELECT and CANDIDATE windows. When the side panels are open and two images are in the Select/Candidate spaces, hitting the Tab button to close the side panels produces a very delayed response--25-30 seconds to close them, a few more seconds to enlarge the two images to full size. To reverse the process (i.e., to recall the two side panels), hitting Tab would make the two sides of the screen go black for up to a minute, with no words visible. Eventually the info fields in the panels would open up.
    I also created a new user account and imported a folder of 160 images. After half an hour Compare View began mis-placing data.  (I have a screen shot to show this.)  CANDIDATE appears on the left side of SELECT, whereas it should be on the right. The accompanying camera exposure data appears almost entirely to the left of the mid-screen dividing line. Although the Candidate and Select headings were transposed, the image exposure data was not, but the data for the image on the right was almost entirely to the left of the line dividing the screen in two.
    Gurus in The Lightroom Forum have examined Task Manager data showing Processes running and Performance indicators and they see nothing wrong.  I could also send screen shots of this data.
    At this point, the only way I can process my images is to work 30-40 minutes and then shut down everything, exit, and re-start LTR.  This is not normal.  I hope you can find the cause, and then the solution.  If you would like to see my screen shots, tell me how to submit them.
    Ollie
    [email protected]

  • How can I show only text edits and not text formatting when using print comments summary?

    Acrobat 9.3.0 for Mac.
    Here is the scenario: I used the Compare command to see the changes between 2 PDFs. The resulting file some edits are inserts and some are deletions. I want to print a comments summary only showing the text edits. In the Compare Option pane, I select Text and deselect Images, Annotations, Formatting, Headers/Footers, and Backgrounds. Now on the screen I see inserts are highlighted in blue and deletions are marked with sort of a caret and vertical bar symbol. So all looks good at this point. However, when I show the Comments List, I see addtional comments that indicate "Replace - The following text attributes were changed: fill color." Those comments do not appear in the page view unless I check the Formatting check box to show them. With Formatting unchecked, I print a comments summary and all of the "Replace - Fill Color" comments" appear on the resulting comments summary.
    I only want to show text edits, not text formatting changes. So questions are:
    1. Why, when the Formatting checkbox is unchecked, do the text formatting comments still appear in the comments list when they do not appear on the page display.
    2. How can I print only the text content edits and not show the text formatting changes when using Print Comments Summary.

    Hi,
    You can set ExecuteWithParams as default activity in the task flow then method activity to return total no of rows passing to Router activity if your method has value 0 then call Create insert operation else do directly to page.
    Following idea could be your task flow
    Execute With param (default) > SetCurrentRowWithKey > GetTotalNoOfRows (VOImpl Method)
    |
    v
    Router
    1. If pageFlowScope outcome is 0 then call CreateInsert > MyPage
    2. if pageFlowScope outcome > 0 then MyPage
    hope it helps,
    Zeeshan

  • I have a new MAcBook Air and my photos don't fit on the internal hard drive.  I want to store my photos on an external hard drive which I will connect to my Air when using Iphoto.  How do I set an external hard drive as the default drive?

    I have a new MAcBook Air and my photos don't fit on the internal hard drive.  I want to store my photos on an external hard drive which I will connect to my Air when using Iphoto.  How do I set an external hard drive as the default drive in Iphoto?

    Make sure the drive is formatted Mac OS Extended (Journaled)
    1. Quit iPhoto
    2. Copy the iPhoto Library from your Pictures Folder to the External Disk.
    3. Hold down the option (or alt) key while launching iPhoto. From the resulting menu select 'Choose Library' and navigate to the new location. From that point on this will be the default location of your library.
    4. Test the library and when you're sure all is well, trash the one on your internal HD to free up space.
    Regards
    TD

  • Why when using Adobe Bridge,  I apply a star rating,  the rating does not show up in Photoshop Elements? [tags]

    Why when using Adobe Bridge,  I apply a star rating,   the rating does not show up in Photoshop Elements.  I use Elements as my organizer and Bridge to view as it is much more user friendly.  Anyone any solutions??

    Most likely you have set the wrong file as the external editor. You don't want the obvious one; that's just a link to the welcome screen. Go back and choose this one, which is hidden away inside the folder Support Files:

  • Adobe Photoshop CS4/5 Crashes when using the Move Tool

    Hello. I'm here because I'm having an issue with Photoshop.
    I was trying out CS5 when it started to crash every time I tried to use the Move Tool. It was the generic error message: "Adobe Photoshop CS4 has stopped working.
    A problem has caused Adobe Photoshop CS4 to stop working correctly. Windows will close the program and notify you if a solution is available."
    Thinking that it was a CS5 issue, I went back to my copy of CS4, only to find the same thing happening there (I also downgraded because CS5 was also crashing at other random times for some reason, but that's an issue for another time).
    This puzzles me because both were working fine before. Granted, I hadn't opened them for a while, but it was a sudden thing.
    My first impulse was to uninstall and reinstall CS4. No luck. So then, I uninstalled all third-party plugins, thinking that might be it. Still, the same problem. I started looking around on Google for solutions and found the instructions on resetting the Tool preferences (I chose to reset the preferences for ALL of the tools). When that didn't work, I tried deleting the preferences file outright, which said instructions recommended. Nothing.
    I should note that Photoshop crashes when using the Move Tool to move an object without ant lines around it, i.e., a layer. I'll move the object, and after two to three seconds, the mentioned error message will appear and Windows will close Photoshop. This, however, only seems to happen after selecting, copying, and pasting part of a large object with some variation of the Marqee Tool (thus making that part a new layer by default) while working at a zoom of 100%. So, in short, working with a large image like <a href=http://www.wallpaper4me.com/images/wallpapers/ergo_proxy_267_1280-862301.jpeg>This</a> at 100% zoom. The image linked is the image that I was using and am currently using to reproduce the problem. It is 1280x1024 pixels. I have tested this with somewhat smaller, yet comparable images too. Same problem. I have never had this problem working with large images before, and I wonder if anyone has any suggestions short of formatting my hard drive.
    The error code, from Event Viewer:
    Faulting application name: Photoshop.exe, version: 11.0.2.0, time stamp: 0x4bf2d4f6
    Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
    Exception code: 0xc0000005
    Fault offset: 0x65637275
    Faulting process id: 0xe28
    Faulting application start time: 0x01cb2bb3471d87bf
    Faulting application path: C:\Program Files\Adobe\Adobe Photoshop CS4\Photoshop.exe
    Faulting module path: unknown
    Report Id: b412e368-97ab-11df-8f49-001d60b646ef
    Details:
    System
    Provider
    [  Name]
    Application  Error
    EventID
    1000
    [  Qualifiers]
    0
    Level
    2
    Task
    100
    Keywords
    0x80000000000000
    TimeCreated
    [  SystemTime]
    2010-07-25T05:15:57.000000000Z
    EventRecordID
    78845
    Channel
    Application
    Computer
    Gatherum
    Security
    EventData
    Photoshop.exe
    11.0.2.0
    4bf2d4f6
    unknown
    0.0.0.0
    00000000
    c0000005
    65637275
    e28
    01cb2bb3471d87bf
    C:\Program  Files\Adobe\Adobe Photoshop CS4\Photoshop.exe
    unknown
    b412e368-97ab-11df-8f49-001d60b646ef
    Details in XML View:
    - <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    - <System>
    <Provider Name="Application Error" />
    <EventID Qualifiers="0">1000</EventID>
    <Level>2</Level>
    <Task>100</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2010-07-25T05:15:57.000000000Z" />
    <EventRecordID>78845</EventRecordID>
    <Channel>Application</Channel>
    <Computer>Gatherum</Computer>
    <Security />
    </System>
    - <EventData>
    <Data>Photoshop.exe</Data>
    <Data>11.0.2.0</Data>
    <Data>4bf2d4f6</Data>
    <Data>unknown</Data>
    <Data>0.0.0.0</Data>
    <Data>00000000</Data>
    <Data>c0000005</Data>
    <Data>65637275</Data>
    <Data>e28</Data>
    <Data>01cb2bb3471d87bf</Data>
    <Data>C:\Program Files\Adobe\Adobe Photoshop CS4\Photoshop.exe</Data>
    <Data>unknown</Data>
    <Data>b412e368-97ab-11df-8f49-001d60b646ef</Data>
    </EventData>
    </Event>
    System Specifications:
    Operating System: Windows 7 Ultimate 32-bit (6.1, Build 7600)
    System Manufacturer: HP-Pavilion
    System Model: GN697AA-ABA a6214x
    Processor: Intel Pentium Dual CPU E2160 @ 1.80 GHz (2 CPUs)
    Memory: 2048MB RAM
    DirectX Version: DirectX 11
    Display Device:
    Name: NVIDIA GeForce 8600 GTS
    Manufacturer: NVIDIA
    DAC Type: Integrated RAMDAC
    Approx. Total Memory: 1010 MB
    Current Display Mode: 1440 x 900 (32 bit) (60 Hz)
    Photoshop Version: CS4 Extended 11.0.2

    Even a decent RAM upgrade is usually only a few hundred dollars nowadays, but it's not a trivially simple process.  That said, with a little research and care you can do it.  Alternatively, you can hire people (e.g., "Geek Squad") to do such an upgrade.
    First, you'll need to know what your operating system capacity is.  For example, a 32 bit Windows system can really only use up to a bit more than 3 GB of RAM, while a 64 bit Windows system can use all the RAM you can find a place to plug in.  What version of Windows are you running?
    Then you'll need to determine what RAM you have installed and what your computer's maximum RAM capacity is - usually you can do this through internet research, either by visiting your computer manufacturer's web site or doing google searches.  There are even RAM manufacturer web sites that will tell you what kind of RAM your computer needs and suggest sources, for example:
    http://www.kingston.com/
    It may be that you can just plug additional chips into currently empty sockets, or it is possible you'll need to replace the RAM chips you have installed in your computer to make room for an upgrade.  Every computer is different.
    If you list your computer model and current RAM that you have installed here, it may be that someone can help with more specific advice.
    -Noel

  • When using the camera downloader in Adobe Bridge CS6 with Nikon D5200 we are unable to see previews of the photos and it is very slow to download. The issue occurs under a the users rights, but not under admin level. This is a new issue

    When using the camera downloader in Adobe Bridge CS6 with Nikon D5200 we are unable to see previews of the photos and it is very slow to download. The issue occurs under a the users rights, but not under admin level. This is a new issue.

    Hi Jdentremont,
    Lync client gets user photos by first querying the Address Book Web Query (ABWQ) service on the server, which is exposed through the Distribution List Expansion web service. The client receives
    the image file and then copies it to the user's cache to avoid downloading the image each time it needs to be displayed. The attribute values returned from the query are also stored in the cached Address Book Service entry for the user. The Address Book Service
    deletes all cached images every 24 hours, which means that it can take up to 24 hours for new user images to be updated in the cache on the server.
    To troubleshoot your problem, please follow the steps below:
    1.  Navigate to
     “X:\share\1-WebServices-1\ABfiles\000000000\000000000” folder. (ABS file share)
    You should see some photo files in this folder as the following screenshot.
    2. Delete all the files in this folder.
    3. On test PC, delete local cache files.
    %userprofile%\AppData\Local\Microsoft\Office\15.0\Lync\[email protected]
    4. Sign-in Lync with the test account.
    5. Go back to the ABS file share, check if there is any Photo file in the folder.
    Best regards,
    Eric
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Photoshop CS4 "Program Error" when using Text tool

    Hello. I was having problems with Photoshop displaying a "Program Error" every so often, so I deleted the preference file and all seemed good. But after deleting the preference file for my Photoshop CS4 and re-launching Photoshop, the text tool causes Photoshop to display a Program Error when using the tool. It never did this before. Should I reinstall Photoshop? I am using a Powermac G5 running 10.5.8. I have already tried repairing the disk permissions.
    Thanks

    Thats kinda what I thought too, but the problem started happening randomly. It started when we were trying to use photomerge with large photos. The program just started giving the program errors. I still think it may be a font problem, but without going through my 2000+ fonts and disabling them one by one, how can I resolve this issue?
    Thanks

  • Unable to insert date and time when using date datatype

    Hi
    I am hitting a bit of a problem when using the date datatype. When trying to save a row to the table where the field it throws an error ora 01830 and complains about converting the date format picture ends...etc. Now when I do the insert, I use the to_date function with the format of "dd-mon-yyyy hh24:mi:ss". Of course, when I remove the time element, everything is perfect.
    Checking sysdate, I noticed that the time element wasn't be displayed, and I used alter session set nls_date_format to set the date and time I want to save to the table, which worked!
    Then based on advice in a previous thread to permanently fix the problem, I used alter system set nls_date_format ="dd-mon-yyyy hh24:mi:ss" scope=spfile; This showed that it was altered, and I can see the setting in the em. In sqlplus, I shutdown the database, and restarted with startup mount; alter database open; and then selecting sysdate, it still shows the date as dd-mon-yy, and still no time! Checking the em, and looking up the nls_date_format the setting is still shown as "dd-mon-yyyy hh24:mi:ss".
    So, my question is this - what am I doing wrong? Why can't save date and time using date in Oracle 11g?????
    Thanks

    user633278 wrote:
    Hi
    I am hitting a bit of a problem when using the date datatype. When trying to save a row to the table where the field it throws an error ora 01830 and complains about converting the date format picture ends...etc. Now when I do the insert, I use the to_date function with the format of "dd-mon-yyyy hh24:mi:ss". Of course, when I remove the time element, everything is perfect.
    Checking sysdate, I noticed that the time element wasn't be displayed, and I used alter session set nls_date_format to set the date and time I want to save to the table, which worked!
    Then based on advice in a previous thread to permanently fix the problem, I used alter system set nls_date_format ="dd-mon-yyyy hh24:mi:ss" scope=spfile; This showed that it was altered, and I can see the setting in the em. In sqlplus, I shutdown the database, and restarted with startup mount; alter database open; and then selecting sysdate, it still shows the date as dd-mon-yy, and still no time! Checking the em, and looking up the nls_date_format the setting is still shown as "dd-mon-yyyy hh24:mi:ss".
    So, my question is this - what am I doing wrong? Why can't save date and time using date in Oracle 11g?????
    ThanksYou most certainly can save the time. A DATE column, by definition stores date and time. What you describe is a presentation problem, and setting nls_date_format at the system as an init parm is the weakest of all settings as it is overridden by several other locations.
    without seeing the exact sql that produced the error (not just your description of what you think you were doing) it is impossible to say for sure.
    However, I'd suggest you read http://edstevensdba.wordpress.com/2011/04/07/nls_date_format/

  • Live! Cam Voice Shuts Down When Using Motion Detection Feature

    I'm running XP Media Center 2002.
    I just installed Live! Cam Voice. Started using it and is was fine out of the box. I updated the drivers and i also decided to update the drivers for my SoundBlaster Audigy 2 ZS.
    The problem only seemed to occur when using the Motion Detection. Shortly after using it, I'd get a Microsoft error prompting the WebCam Center to shut down.
    First I uninstalled the software and reinstalled it using the original drivers on the supplied disk. I still had the problem. So i rolled back the drivers on my sound card. That seems to have fixed the problem... Thought you'd want to know.
    To be clear the Cam driver I'm using is .0.8.206. I believe this is the one that came w/ the install disk. Hope this helps anyone else who's experienced similar problems.....

    I have the same problem. I only get 6-7 fps max. I've never seen anything above 0 fps which is a disgrace. My computer is and Athlon64 X2 4800 with 2GB RAM so it's nothing to do with spec. This behaviour was the same in driver version .0.8 as well as the latest one... .0.02 or something.
    Also, since the last driver update, the whitebalance and focus when on automatic is dreadful. I'm not impressed.

  • Machine freezez/lock ups when using password protected certificates in IE 11 Windows 8.1 Pro

    When using certificates that have a password enabled and private keys we find the machine hangs up competly with the memory usage jumping to 99%. The main process being the Local Secuirty Authority Process that causes the machine to lock up. The work
    around we have is to remove this certificate and import a new certificate making sure we un-tick the check box for private key password.
    Not sure if this
    KB2813237 is linked, but this hotfix is available for Windows 8.1 Pro OS.

    Hi  Simon,
    You can try that suggestion and check whether it is solved and give your result, if there is any other issue, you can post it back.
    Regards
    Wade Liu
    TechNet Community Support

  • Using smart previews on iMac to control two sets of identical original files on two external drives --- render previews setting when using smart previews

    I’m just getting started with Lightroom and if someone can help me I’ll be very appreciative.
    I’m using an iMac with a 1TB drive and two external 2.5 TB drives for backup.  My active files are on all three drives and I’m running out of room on the iMac drive.
    With the smart previews capability of Lightroom 5, I’m hoping to remove all the active files from the iMac drive.  I hope to import existing images into the LR catalog from two identical drives with identical folders and have both sets of images reflect the changes I make using smart previews on my iMac.
    I just created two identical test folders of junk images on the external drives and was following a beginners tutorial on importing. However, I see nothing about using smart previews on my iMac that, when connected, will update more than one external drive at the same time.
    I’m also wondering if, when using smart previews, it matters how I set the render previews during the import process.
    Many thanks for any help,
    Karl Hentz

    I don't see any way to use smart previews to update both external drives at the same time. The smart previews are linked to a specific set of images. But it seems to me that if both drives are in fact identical, once the catalog is updated when one of those drives is connected those changes should also apply to the files on the other drive. It's actually the catalog that gets updated, not the images.  Smart previews and regular import previews are completely unrelated. How you have your import previews configured will have no effect on your smart previews.
    Incidentally, in order for my suggestion to work it would be necessary to only have one of those external drives connected. And when the other EHD is connected it would have to have the same drive letter or name. In other words it would have to appear to the iMac that it is precisely the same drive.

  • Application crashes when using JNI with Jdk 1,2, 1.3 and 1.4

    Hi!
    I have this application that has a GUI written in Java and a file parser written in C. JNI is used to connect these parts together. The problem is that the application only works when I am using jdk 1.1.8 but not when using jdk1.2, jdk1.3 or jdk1.4. I am running the application on a Solaris 8 machine.
    I have not written the application myself but I am going to be working with it from now on. But I have today little knowledge with JNI and I have tried different approaches to solve the problem. For example I have tried to used DDD together with GDB to find out what the problem is but with no luck. When I run the application using jdk1.4 I get the following error when the JVM crashes:
    An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : 10 occurred at PC=0xFA023164
    Function=Java_Bitmap_setDebug+0x1C
    Library=/usr/u/lal/micview/micview2_1_0_beta1/libBitmapImpl.so
    Current Java thread:
    at Bitmap.setDebug(Native Method)
    at DisplayPanel.loadFile(DisplayPanel.java:396)
    at MicPlot.loadFile(MicPlot.java:1452)
    at MicPlot.loadFile(MicPlot.java:1441)
    at MicPlot.miOpen_Action(MicPlot.java:1267)
    at MicPlot$SymAction.actionPerformed(MicPlot.java:1184)
    at java.awt.MenuItem.processActionEvent(MenuItem.java:588)
    at java.awt.MenuItem.processEvent(MenuItem.java:548)
    at java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java:285)
    at java.awt.MenuComponent.dispatchEvent(MenuComponent.java:273)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:452)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
    Dynamic libraries:
    0x10000 /opt/java/jdk1.4/bin/java
    0xff360000 /usr/lib/libthread.so.1
    0xff3a0000 /usr/lib/libdl.so.1
    0xff280000 /usr/lib/libc.so.1
    0xff270000 /usr/platform/SUNW,Ultra-4/lib/libc_psr.so.1
    0xfe000000 /opt/java/j2sdk1.4.1/jre/lib/sparc/client/libjvm.so
    0xff220000 /usr/lib/libCrun.so.1
    0xff200000 /usr/lib/libsocket.so.1
    0xff100000 /usr/lib/libnsl.so.1
    0xff1d0000 /usr/lib/libm.so.1
    0xff250000 /usr/lib/libw.so.1
    0xff0e0000 /usr/lib/libmp.so.2
    0xff0b0000 /opt/java/j2sdk1.4.1/jre/lib/sparc/native_threads/libhpi.so
    0xff080000 /opt/java/j2sdk1.4.1/jre/lib/sparc/libverify.so
    0xff030000 /opt/java/j2sdk1.4.1/jre/lib/sparc/libjava.so
    0xfe7e0000 /opt/java/j2sdk1.4.1/jre/lib/sparc/libzip.so
    0xfe4e0000 /usr/lib/locale/en_US.ISO8859-1/en_US.ISO8859-1.so.2
    0xedd00000 /opt/java/j2sdk1.4.1/jre/lib/sparc/libawt.so
    0xfc480000 /opt/java/j2sdk1.4.1/jre/lib/sparc/libmlib_image.so
    0xfc410000 /opt/java/j2sdk1.4.1/jre/lib/sparc/motif21/libmawt.so
    0xeda80000 /usr/dt/lib/libXm.so.4
    0xfa090000 /usr/openwin/lib/libXt.so.4
    0xfa3d0000 /usr/openwin/lib/libXext.so.0
    0xfc7e0000 /usr/openwin/lib/libXtst.so.1
    0xed980000 /usr/openwin/lib/libX11.so.4
    0xfa2a0000 /usr/openwin/lib/libdps.so.5
    0xfa3b0000 /usr/openwin/lib/libSM.so.6
    0xfa1d0000 /usr/openwin/lib/libICE.so.6
    0xed880000 /opt/java/j2sdk1.4.1/jre/lib/sparc/libfontmanager.so
    0xfa390000 /usr/openwin/lib/locale/common/xlibi18n.so.2
    0xfa1b0000 /usr/openwin/lib/locale/iso8859-1/xomEuro.so.2
    0xfa190000 /usr/lib//liblayout.so
    0xfa050000 /usr/openwin/lib/locale/common/ximlocal.so.2
    0xfa010000 /usr/u/lal/micview/micview2_1_0_beta1/libBitmapImpl.so
    Local Time = Thu Oct 3 13:32:47 2002
    Elapsed Time = 35
    # The exception above was detected in native code outside the VM
    # Java VM: Java HotSpot(TM) Client VM (1.4.1-beta-b14 mixed mode)
    # An error report file has been saved as hs_err_pid27692.log.
    # Please refer to the file for further information.
    Abort
    From this information I think that the problem should be in the native method setDebug. But I have tried to set a breakpoint at the beginning of that function in the C part but with no luck. The application crashes before it reaches that position in the C file.
    What could possibly go wrong between the setDebug function in the C part and the function call in the Java part?
    When using GDB, GDB cannot figure out what is wrong it just returns a hex address, no function name.
    I would really appreciate some help. I have tried everything that I can come up with!
    Best regards
    Lars

    I have figured out that the application fails on its first call to the native methods.
    So I have this Bitmap class that contains all the native calls and it is defined shortly as follow:
    public class Bitmap {
    static {
    System.loadLibrary("BitmapImpl");
    native void setDebug(int debuglevel, int statistics);
    There are many more native methods defined in Bitmap, but I only show the setDebug method because that is the first one that is executed and also the one that immediately fails.
    My setDebug C function is defined as follow in BitmapImpl.c
    #include <time.h>
    #include <stdio.h>
    #include <limits.h>
    #include <fcntl.h>
    #include <jni.h>
    #include <math.h>
    #include <errno.h>
    #include "Bitmap.h"
    #include "data.h"
    jint debug = 0;
    jint statistics = 1;
    JNIEXPORT void JNICALL Java_Bitmap_setDebug
    (JNIEnv *jenv, jobject jo, jint d, jint s)
    debug = d;
    statistics = s;
    My libBitmapImpl.so file is compiled using the following Makefile and using GNU gcc:
    JAVAPATH=$(JAVAINCLUDEPATH)
    LMACRO=-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSOLARIS
    CSOURCE=BitmapImpl.c
    all:
    gcc -O3 -G $(LMACRO) -I$(JAVAPATH) -I$(JAVAPATH)/solaris \
    $(CSOURCE) -o libBitmapImpl.so
    It is still a total mystory why the application fails. I have tried it on a RedHat Linux machine and there it works fine. But not on Solaris. Only if I use the jdk1.1.8 but not a later one.
    Would really appreiciate some help!
    Best regards
    Lars

Maybe you are looking for