Photoshop CC: Calling PIUGetInfoByIndex causes an exception when searching documents

I have a function call in an automation plug-in that searches through the documents opened in Photoshop and attempts to get the name of each document (to compare it to a name that is passed in).  When this piece of code gets hit, if Photoshop has two documents open with the same name, a crash occurs when it tries to get the document information by index.  Below is the code, and I will highlight where the crash is occurring.  Note that this crash does not occur in Photoshop CS5 or Photoshop CS6.  This crash occurs in Photoshop CC regardless of the Photoshop SDK used to compile the plug-in (I tried with CS5 and CC).
Apologies for the poor formatting.
//Find the document index.
int32 doc_index = -1;
if (num_documents > 0)
  if(params.in_doc_name.length() > 0)
      string doc_name;
      char doc_name_holder[128];
      for (int32 doc_counter = 1; doc_counter <= num_documents && ! error; doc_counter++)
      GetDocumentName(doc_counter, doc_name_holder);
      doc_name = doc_name_holder;
      if(doc_name.find(params.in_doc_name) != std::string::npos)
      doc_index = doc_counter;
  else
      doc_index = num_documents;
  //If we didn't find the document to export in the document names, perform the export on the last document.
  if(doc_index == -1) doc_index = num_documents;
//Gets the name of the document at the given index.
SPErr GetDocumentName(int32 document_index, char* doc_name)
  PIActionDescriptor result;
  sPSActionDescriptor->Make(&result);
  SPErr error =
  PIUGetInfoByIndex( <--- from PIUGet.cpp
  document_index,
  classDocument,
  0,
  &result,
  NULL);
  error = sPSActionDescriptor->GetString(result, keyTitle, doc_name, 128);
  if(result) sPSActionDescriptor->Free(result);
  return error;
<--- FROM PIUGet.cpp --->
SPErr PIUGetInfoByIndex(uint32 index,
  DescriptorClassID desiredClass,
  DescriptorKeyID desiredKey,
  void * returnData,
  void * returnExtraData)
  SPErr error = kSPNoError;
    PIActionReference reference = NULL;
    PIActionDescriptor result = NULL;
  PIActionDescriptor * data;
  if (returnData == NULL)
  error = kSPBadParameterError;
  if (error) goto returnError;
  error = sPSActionReference->Make(&reference);
  if (error) goto returnError;
  if (desiredKey)
  error = sPSActionReference->PutProperty(reference,
  classProperty,
  desiredKey);
  if (error) goto returnError;
  error = sPSActionReference->PutIndex(reference,
  desiredClass,
  index);
  if (error) goto returnError;
  error = sPSActionControl->Get(&result, reference);   <----------------- CRASHES HERE
  if (error) goto returnError;
  if (desiredKey)
  error = PIUGetSingleItemFromDescriptor(result,
                                    desiredKey,
    returnData,
    returnExtraData);
  if (error) goto returnError;
  } else {
  data = (PIActionDescriptor *)returnData;
  *data = result;
  result = NULL;
returnError:
  if (reference != NULL) sPSActionReference->Free(reference);
  if (result != NULL) sPSActionDescriptor->Free(result);
  return error;

Hi Chris,
I went to the official AMD website and updated it, and now it's working! Doing it through my control panel earlier didn't work.
Thanks mate, that's a big help!

Similar Messages

  • Photoshop CS5 - what is causing major delay when opening files?

    New laptop running windows 7, 64 bit machine, i5 intel core processor, NVIDIA NVS 3100M graphics card. When I open new pictures in photoshop there is a significant delay - the pointer just sits for several seconds seeming to 'look' for files, then the round (new hourglass in 7) rotates forever!  I timed this new machine with a 7 year old Dell Latitute running CS1 photoshop - opened 11 photos from each hard drive...the 7 year old computer opened them in 15 seconds, the NEW machine took 80 seconds. I'm not trying to do anything fance with Photoshop, just simple photo corrections, so I don't need a fancy graphics card. WHY is it taking so long to open files - I've changed every setting Adobe recommends and nothing helps.  Any suggestions would be greatly appreciated!!

    here's the log - i just opened photoshop - i didn't open any photos before copying the log.
    2010-10-05 15:06:19 [2308]  AMT: START SESSION, library version 3.0.0.64,3.0
    2010-10-05 15:06:19 [2308]  AMT: Initializing C:\Program Files\Adobe\Adobe Photoshop CS5 (64 Bit)\
    2010-10-05 15:06:19 [2308]  AMT: Adobe License Manager version 3.2 (build 64.0) RELEASE
    2010-10-05 15:06:19 [2308]  AMT: Virtualization Turned off
    2010-10-05 15:06:19 [2308]  ServiceLoader: looking for library C:\Program Files\Adobe\Adobe Photoshop CS5 (64 Bit)\adobe_caps.dll
    2010-10-05 15:06:19 [2308]  ServiceLoader: Found library C:\Program Files\Adobe\Adobe Photoshop CS5 (64 Bit)\adobe_caps.dll
    2010-10-05 15:06:19 [2308]  PCDService: PCD Service in threaded mode
    2010-10-05 15:06:19 [2308]  performance: AMTPreObtainProductLicense took 2.960505 ms
    2010-10-05 15:06:19 [2308]  PCD thread: PCD thread started
    2010-10-05 15:06:19 [2308]  ServiceLoader: looking for library C:\Program Files\Adobe\Adobe Photoshop CS5 (64 Bit)\Adobe_OOBE_Launcher.dll
    2010-10-05 15:06:19 [2308]  ServiceLoader: Found library C:\Program Files\Adobe\Adobe Photoshop CS5 (64 Bit)\Adobe_OOBE_Launcher.dll
    2010-10-05 15:06:19 [2308]  AMT: App Product Locale [0] = en_US
    2010-10-05 15:06:19 [2308]  config: Loading configuration for C:\Program Files\Adobe\Adobe Photoshop CS5 (64 Bit)\AMT\application.xml
    2010-10-05 15:06:19 [2308]  config: Found payload code {667C8B6C-3EAF-4646-A8EC-D85CCC4D3D84}
    2010-10-05 15:06:19 [2308]  PCDService: found driver code {AE29D445-8164-4CD1-8824-FCE85C0BB179}
    2010-10-05 15:06:19 [2308]  config: config: Host app was installed, using installed license configuration.
    2010-10-05 15:06:19 [2308]  PCDService: No value for key [FLMap] in hive [Photoshop-CS5-Win-GM{|}ALL] in cache.
    2010-10-05 15:06:19 [2308]  config: Setting current license to the driver at startup because no mapping was found.
    2010-10-05 15:06:19 [2308]  config: Setting current license to DesignSuiteStandard-CS5-Win-GM [ALL]
    2010-10-05 15:06:19 [2308]  config: payload code: {667C8B6C-3EAF-4646-A8EC-D85CCC4D3D84}
    2010-10-05 15:06:19 [2308]  config: driver payload code: {AE29D445-8164-4CD1-8824-FCE85C0BB179}
    2010-10-05 15:06:19 [2308]  config: driver licensing code: DesignSuiteStandard-CS5-Win-GM
    2010-10-05 15:06:19 [2308]  config: current licensing code: DesignSuiteStandard-CS5-Win-GM
    2010-10-05 15:06:19 [2308]  config: current locale code: ALL
    2010-10-05 15:06:19 [2308]  config: Done loading configuration
    2010-10-05 15:06:19 [2308]  AMT: Locale from PCD [0] = en_US
    2010-10-05 15:06:19 [2308]  AMT: Reordered Installed App Product Locale [0] = en_US
    2010-10-05 15:06:19 [2308]  config: Setting insalled locales
    2010-10-05 15:06:19 [2308]  config: Changing locale to "en_US" because old locale "" is not in the new list of installed languages
    2010-10-05 15:06:19 [2308]  ServiceLoader: looking for library C:\Program Files\Adobe\Adobe Photoshop CS5 (64 Bit)\asneu.dll
    2010-10-05 15:06:19 [2308]  ServiceLoader: Found library C:\Program Files\Adobe\Adobe Photoshop CS5 (64 Bit)\asneu.dll
    2010-10-05 15:06:19 [2308]  AMT: config: Finding license info for payload: {AE29D445-8164-4CD1-8824-FCE85C0BB179}
    2010-10-05 15:06:19 [2308]  AMT: config: PayloadCode: {667C8B6C-3EAF-4646-A8EC-D85CCC4D3D84}
    2010-10-05 15:06:19 [2308]  AMT: config: Driver PayloadCode: {AE29D445-8164-4CD1-8824-FCE85C0BB179}
    2010-10-05 15:06:19 [2308]  AMT: config: Installed LicensingCode: DesignSuiteStandard-CS5-Win-GM
    2010-10-05 15:06:19 [2308]  PCDService: No value for key [AdobeUpdaterCodeV2] in hive [{667C8B6C-3EAF-4646-A8EC-D85CCC4D3D84}] in master.
    2010-10-05 15:06:19 [2308]  PCDService: No value for key [AdobeUpdaterCodeV2] in hive [{AE29D445-8164-4CD1-8824-FCE85C0BB179}] in master.
    2010-10-05 15:06:19 [2308]  PCDService: No value for key [BridgeTalkCode] in hive [{AE29D445-8164-4CD1-8824-FCE85C0BB179}] in master.
    2010-10-05 15:06:19 [2308]  PCDService: No value for key [ISO_TAGGING_DISABLED] in hive [Photoshop-CS5-Win-GM] in master.
    2010-10-05 15:06:19 [2308]  PCDService: No value for key [EULA] in hive [{AE29D445-8164-4CD1-8824-FCE85C0BB179}] in master.
    2010-10-05 15:06:19 [2308]  PCDService: No value for key [Registration] in hive [{AE29D445-8164-4CD1-8824-FCE85C0BB179}] in master.
    2010-10-05 15:06:19 [2308]  PCDService: No value for key [Registration] in hive [{667C8B6C-3EAF-4646-A8EC-D85CCC4D3D84}] in master.
    2010-10-05 15:06:19 [2308]  PCDService: No value for key [Updates] in hive [{AE29D445-8164-4CD1-8824-FCE85C0BB179}] in master.
    2010-10-05 15:06:19 [2308]  PCDService: No value for key [Updates] in hive [{667C8B6C-3EAF-4646-A8EC-D85CCC4D3D84}] in master.
    2010-10-05 15:06:19 [2308]  AMT: Application can be serialized (sif file found).
    2010-10-05 15:06:19 [2308]  config: Setting current license to DesignSuiteStandard-CS5-Win-GM [en_US]
    2010-10-05 15:06:19 [2308]  PCDService: No value for key [AMTConfigPath] in hive [{AE29D445-8164-4CD1-8824-FCE85C0BB179}] in cache.
    2010-10-05 15:06:19 [2308]  PCDService: No value for key [ExpirationDate] in hive [Photoshop-CS5-Win-GM] in master.
    2010-10-05 15:06:19 [2308]  AMT: Subsequent launch (serial [95478022976966362461]).
    2010-10-05 15:06:19 [2308]  AMT: Application state initialized.  Obtaining Product License.
    2010-10-05 15:06:19 [2308]  AMT: Obtaining client features from cache.
    2010-10-05 15:06:19 [2308]  AMT: Obtaining client product info from cache.
    2010-10-05 15:06:19 [2308]  PCDService: No value for key [ExpirationDate] in hive [Photoshop-CS5-Win-GM] in master.
    2010-10-05 15:06:19 [2308]  PCDService: No value for key [ExpirationDate] in hive [Photoshop-CS5-Win-GM] in master.
    2010-10-05 15:06:19 [2308]  AMT: Running in PROV_APP
    2010-10-05 15:06:19 [2308]  PCDService: No value for key [EULADelay] in hive [{AE29D445-8164-4CD1-8824-FCE85C0BB179}] in master.
    2010-10-05 15:06:19 [2308]  PCDService: No value for key [EULADelay] in hive [{AE29D445-8164-4CD1-8824-FCE85C0BB179}] in master.
    2010-10-05 15:06:19 [2308]  PCDService: No value for key [MediaTag] in hive [{AE29D445-8164-4CD1-8824-FCE85C0BB179}] in master.
    2010-10-05 15:06:19 [2308]  config: No media tag found for payload {AE29D445-8164-4CD1-8824-FCE85C0BB179}
    2010-10-05 15:06:19 [2308]  config: Using default media policy RET
    2010-10-05 15:06:19 [2308]  uiswitch: EULA has already been accepted.
    2010-10-05 15:06:19 [2308]  AMT: This is a subsequent launch. Deferring services.
    2010-10-05 15:06:19 [2308]  performance: AMTObtainProductLicense took 55.274246 ms
    2010-10-05 15:06:24 [2308]  AMT: Pre-Validating Product License.
    2010-10-05 15:06:24 [2308]  AMT: Services not yet loaded in this session.
    2010-10-05 15:06:24 [2308]  AMT: Loading services in background to get ready for Validate call.
    2010-10-05 15:06:24 [2308]  AMT: Spawning background thread to load services.
    2010-10-05 15:06:24 [2308]  performance: AMTPreValidateProductLicense took 0.289324 ms
    2010-10-05 15:06:24 [2308]  AMT: Starting work on prevalidate thread.
    2010-10-05 15:06:24 [2308]  AMT: AMT: PreValidating Product License.
    2010-10-05 15:06:24 [2308]  AMT: Launch Workflow not yet done in this session.
    2010-10-05 15:06:24 [2308]  AMT: Starting Background Subsequent Launch Workflow
    2010-10-05 15:06:24 [2308]  AMT: Starting ALM workflow.
    2010-10-05 15:06:24 [2308]  AMT: Initializing ALM for serialized activation.
    2010-10-05 15:06:24 [2308]  ALMService: Initializing as licensed app
    2010-10-05 15:06:24 [2308]  ALM: _info_: Start ALM 3.2 Release (build 3.2.64.0)
    2010-10-05 15:06:24 [2308]  SLCoreService: Starting up SLCore 1.0 Release (build 1.0.13.199023).
    2010-10-05 15:06:24 [2308]  SLCoreService: Service construction took 0.0 ms and succeed.
    2010-10-05 15:06:24 [2308]  ALM: _info_: LEID passed DesignSuiteStandard-CS5-Win-GM is used to configure SLCore = 0
    2010-10-05 15:06:24 [2308]  ALM: _info_: Host app is Licensable App
    2010-10-05 15:06:24 [2308]  PCDService: No value for key [Photoshop-CS5-Win-GM{|}6] in hive [SSC-CS5-LE-Dominance] in master.
    2010-10-05 15:06:24 [2308]  ALM: _info_: Found LEID Photoshop-CS5-Win-GM with AMT Path C:\Program Files\Adobe\Adobe Photoshop CS5 (64 Bit)\AMT
    2010-10-05 15:06:24 [2308]  ALM: _info_: Found LEID DesignSuiteStandard-CS5-Win-GM with AMT Path C:\Program Files (x86)\Common Files\Adobe\Adobe Creative Suite 5 Design Standard\AMT
    2010-10-05 15:06:24 [2308]  ALM: _info_: Found LEID WebSuitePremium-CS5-Win-GM with AMT Path C:\Program Files (x86)\Common Files\Adobe\ssc\WebSuitePremium-CS5-Win-GM
    2010-10-05 15:06:24 [2308]  ALM: _info_: Found LEID DesignSuitePremium-CS5-Win-GM with AMT Path C:\Program Files (x86)\Common Files\Adobe\ssc\DesignSuitePremium-CS5-Win-GM
    2010-10-05 15:06:24 [2308]  ALM: _info_: Found LEID VideoSuitePremium-CS5-Win-GM with AMT Path C:\Program Files (x86)\Common Files\Adobe\ssc\VideoSuitePremium-CS5-Win-GM
    2010-10-05 15:06:24 [2308]  ALM: _info_: Found LEID MasterCollection-CS5-Win-GM with AMT Path C:\Program Files (x86)\Common Files\Adobe\ssc\MasterCollection-CS5-Win-GM
    2010-10-05 15:06:24 [2308]  ALM: _info_: Found LEID ELearningSuite-ES2-Win-GM with AMT Path C:\Program Files (x86)\Common Files\Adobe\ssc\ELearningSuite-ES2-Win-GM
    2010-10-05 15:06:24 [2308]  PCDService: No value for key [MediaTag] in hive [{AE29D445-8164-4CD1-8824-FCE85C0BB179}] in master.
    2010-10-05 15:06:24 [2308]  config: No media tag found for payload {AE29D445-8164-4CD1-8824-FCE85C0BB179}
    2010-10-05 15:06:24 [2308]  config: Using default media policy RET
    2010-10-05 15:06:24 [2308]  ALM: _info_: MediaTagPolicy is RET
    2010-10-05 15:06:24 [2308]  PCDService: No value for key [NTL_WO_SN] in hive [DesignSuiteStandard-CS5-Win-GM] in master.
    2010-10-05 15:06:24 [2308]  ALM: _info_: Canonical LEID is Photoshop-CS5-Win-GM
    2010-10-05 15:06:24 [2308]  ALM: _info_: Driver LEID is DesignSuiteStandard-CS5-Win-GM
    2010-10-05 15:06:24 [2308]  PCDService: No value for key [954787009147428486506077] in hive [RejectedSNDomain_CS5] in cache.
    2010-10-05 15:06:24 [2308]  SLCoreService: Reading product config [C:\Program Files (x86)\Common Files\Adobe\Adobe Creative Suite 5 Design Standard\AMT\SLConfig.xml]
    2010-10-05 15:06:24 [2308]  ALM: _info_: alm::IsLangPackForLocaleInstalled - Checking if lang pack is installed for ALL
    2010-10-05 15:06:24 [2308]  ALM: _info_: alm::IsLangPackForLocaleInstalled - Lang pack is not installed
    2010-10-05 15:06:24 [2308]  ALM: _info_: Set Running Locale to en_US
    2010-10-05 15:06:24 [2308]  ALM: _time_: (func: ALM_Initialize, duration: 0.015 sec)
    2010-10-05 15:06:24 [2308]  AMT: Performing ALM silent license verification.
    2010-10-05 15:06:24 [2308]  PCDService: No value for key [EncryptedSerial] in hive [{AE29D445-8164-4CD1-8824-FCE85C0BB179}] in cache.
    2010-10-05 15:06:24 [2308]  PCDService: No value for key [Serial] in hive [{AE29D445-8164-4CD1-8824-FCE85C0BB179}] in cache.
    2010-10-05 15:06:24 [2308]  config: No pre-serial number found in {AE29D445-8164-4CD1-8824-FCE85C0BB179}
    2010-10-05 15:06:24 [2308]  PCDService: No value for key [PSN] in hive [DesignSuiteStandard-CS5-Win-GM{|}en_US] in cache.
    2010-10-05 15:06:24 [2308]  config: No en_US provisional serial number found in DesignSuiteStandard-CS5-Win-GM
    2010-10-05 15:06:24 [2308]  PCDService: No value for key [PSN] in hive [DesignSuiteStandard-CS5-Win-GM{|}ALL] in cache.
    2010-10-05 15:06:24 [2308]  config: No ALL provisional serial number found in DesignSuiteStandard-CS5-Win-GM
    2010-10-05 15:06:24 [2308]  ALM: _info_: Validate license at Post-Chrome time, running locale is en_US
    2010-10-05 15:06:24 [2308]  ALM: _info_: Searching license for locale en_US ...
    2010-10-05 15:06:24 [2308]  PCDService: No value for key [954780229769663624615500] in hive [RejectedSNDomain_CS5] in cache.
    2010-10-05 15:06:24 [2308]  ALM: _info_: alm::IsLangPackForLocaleInstalled - Checking if lang pack is installed for en_US
    2010-10-05 15:06:24 [2308]  ALM: _info_: alm::IsLangPackForLocaleInstalled - Lang pack is installed
    2010-10-05 15:06:24 [2308]  ALM: _info_: alm::IsLangPackForLocaleInstalled - Checking if lang pack is installed for en_US
    2010-10-05 15:06:24 [2308]  ALM: _info_: alm::IsLangPackForLocaleInstalled - Lang pack is installed
    2010-10-05 15:06:24 [2308]  ALM: _info_: Found existing serialization under LEID DesignSuiteStandard-CS5-Win-GM, the serial number locale is en_US
    2010-10-05 15:06:24 [2308]  ALM: _info_: This is the running locale, stop the search
    2010-10-05 15:06:24 [2308]  PCDService: No value for key [954780229769663624615500] in hive [RejectedSNDomain_CS5] in cache.
    2010-10-05 15:06:24 [2308]  ALM: _info_: alm::IsLangPackForLocaleInstalled - Checking if lang pack is installed for en_US
    2010-10-05 15:06:24 [2308]  ALM: _info_: alm::IsLangPackForLocaleInstalled - Lang pack is installed
    2010-10-05 15:06:24 [2308]  ALM: _info_: alm::IsLangPackForLocaleInstalled - Checking if lang pack is installed for en_US
    2010-10-05 15:06:24 [2308]  ALM: _info_: alm::IsLangPackForLocaleInstalled - Lang pack is installed
    2010-10-05 15:06:24 [2308]  PCDService: No value for key [954780229769663624615500] in hive [RejectedSNDomain_CS5] in cache.
    2010-10-05 15:06:24 [2308]  ALM: _info_: alm::IsLangPackForLocaleInstalled - Checking if lang pack is installed for en_US
    2010-10-05 15:06:24 [2308]  ALM: _info_: alm::IsLangPackForLocaleInstalled - Lang pack is installed
    2010-10-05 15:06:24 [2308]  PCDService: No value for key [954780229769663624615500] in hive [RejectedSNDomain_CS5] in cache.
    2010-10-05 15:06:24 [2308]  ALM: _info_: alm::IsLangPackForLocaleInstalled - Checking if lang pack is installed for en_US
    2010-10-05 15:06:24 [2308]  ALM: _info_: alm::IsLangPackForLocaleInstalled - Lang pack is installed
    2010-10-05 15:06:24 [2308]  config: Setting current license to DesignSuiteStandard-CS5-Win-GM [en_US]
    2010-10-05 15:06:24 [2308]  SLCoreService: Syncing to license store...
    2010-10-05 15:06:24 [2308]  SLCoreService: Found server mkey.
    2010-10-05 15:06:24 [2308]  SLCoreService: Loading license references...
    2010-10-05 15:06:24 [2308]  SLCoreService: Found 1 license file(s)
    2010-10-05 15:06:24 [2308]  SLCoreService: Parsing license file [236980653.lic] succeed.
    2010-10-05 15:06:24 [2308]  SLCoreService: License store synchronization took 20.5 ms and succeed.
    2010-10-05 15:06:24 [2308]  SLCoreService: Query license: type = 3, duration = permanent, remaining = permanent.
    2010-10-05 15:06:24 [2308]  PCDService: No value for key [PDApp_WF] in hive [DesignSuiteStandard-CS5-Win-GM] in cache.
    2010-10-05 15:06:24 [2308]  SLCoreService: Feature ALM_CS5DesignStandardGM_5.0 is enabled.
    2010-10-05 15:06:24 [2308]  SLCoreService: Feature Bridge_Base_4.0 is enabled.
    2010-10-05 15:06:24 [2308]  SLCoreService: Feature Bridge_CameraRaw_4.0 is enabled.
    2010-10-05 15:06:24 [2308]  SLCoreService: Feature Bridge_ColorSettings_4.0 is enabled.
    2010-10-05 15:06:24 [2308]  SLCoreService: Feature Bridge_MiniBridge_1.0 is enabled.
    2010-10-05 15:06:24 [2308]  SLCoreService: Feature CreativeSuite_5.0 is enabled.
    2010-10-05 15:06:24 [2308]  SLCoreService: Feature CreativeSuite_DesignStandard_5.0 is enabled.
    2010-10-05 15:06:24 [2308]  SLCoreService: Feature Illustrator_15.0 is enabled.
    2010-10-05 15:06:24 [2308]  SLCoreService: Feature Illustrator_Base_15.0 is enabled.
    2010-10-05 15:06:24 [2308]  SLCoreService: Feature InDesign_7.0 is enabled.
    2010-10-05 15:06:24 [2308]  SLCoreService: Feature InDesign_Base_7.0 is enabled.
    2010-10-05 15:06:24 [2308]  SLCoreService: Feature MediaEncoder_Base_2.0 is enabled.
    2010-10-05 15:06:24 [2308]  SLCoreService: Feature MobileCenter_Base_3.0 is enabled.
    2010-10-05 15:06:24 [2308]  SLCoreService: Feature Photoshop_12.0 is enabled.
    2010-10-05 15:06:24 [2308]  SLCoreService: Feature Photoshop_Base_12.0 is enabled.
    2010-10-05 15:06:24 [2308]  PCDService: No value for key [ALM_Info_S1] in hive [DesignSuiteStandard-CS5-Win-GM{|}en_US] in cache.
    2010-10-05 15:06:24 [2308]  ALM: _info_: Performing Block Check
    2010-10-05 15:06:24 [2308]  SLCoreService: Query license: type = 3, duration = permanent, remaining = permanent.
    2010-10-05 15:06:24 [2308]  ALM: _info_: Block Check ByPassed
    2010-10-05 15:06:24 [2308]  SLCoreService: Query license: type = 3, duration = permanent, remaining = permanent.
    2010-10-05 15:06:24 [2308]  ALM: _time_: (func: ALM_License_SilentValidate, duration: 0.047 sec)
    2010-10-05 15:06:24 [2308]  ALM: _info_: ALM_License_SilentValidate return license status: Valid And Activated
    2010-10-05 15:06:24 [2308]  AMT: License check shows serialized product is already activated.
    2010-10-05 15:06:24 [2308]  ALM: _info_: Entered ALM_NeedANAG
    2010-10-05 15:06:24 [2308]  ALM: _info_: Exiting ALM_NeedANAG
    2010-10-05 15:06:24 [2308]  PCDService: No value for key [AdobeUpdaterCodeV2] in hive [{AE29D445-8164-4CD1-8824-FCE85C0BB179}] in master.
    2010-10-05 15:06:24 [2308]  PCDService: No value for key [AdobeUpdaterCodeV2] in hive [{667C8B6C-3EAF-4646-A8EC-D85CCC4D3D84}] in master.
    2010-10-05 15:06:24 [2308]  PCDService: No value for key [Updates] in hive [{AE29D445-8164-4CD1-8824-FCE85C0BB179}] in master.
    2010-10-05 15:06:24 [2308]  PCDService: No value for key [Updates] in hive [{667C8B6C-3EAF-4646-A8EC-D85CCC4D3D84}] in master.
    2010-10-05 15:06:24 [2308]  AUMService: config: No AdobeUpdaterCode found in configuration; AUM will be disabled.
    2010-10-05 15:06:24 [2308]  ServiceLoader: looking for library C:\Program Files\Adobe\Adobe Photoshop CS5 (64 Bit)\updaternotifications.dll
    2010-10-05 15:06:24 [2308]  ServiceLoader: Found library C:\Program Files\Adobe\Adobe Photoshop CS5 (64 Bit)\updaternotifications.dll
    2010-10-05 15:06:24 [2308]  AUMService: IsUpdaterEnabled call
    2010-10-05 15:06:25 [2308]  AUMService: IsUpdaterEnabled call succeeded
    2010-10-05 15:06:25 [2308]  ALM: _info_: Deactivation menu is enabled
    2010-10-05 15:06:25 [2308]  AMT: Completed Launch Workflow successfully.
    2010-10-05 15:06:25 [2308]  AMT: Calling AUM API to create scheduler entry to be used by updater.
    2010-10-05 15:06:25 [2308]  PCDService: No value for key [AdobeUpdaterCodeV2] in hive [{AE29D445-8164-4CD1-8824-FCE85C0BB179}] in master.
    2010-10-05 15:06:25 [2308]  PCDService: No value for key [AdobeUpdaterCodeV2] in hive [{667C8B6C-3EAF-4646-A8EC-D85CCC4D3D84}] in master.
    2010-10-05 15:06:25 [2308]  PCDService: No value for key [Updates] in hive [{AE29D445-8164-4CD1-8824-FCE85C0BB179}] in master.
    2010-10-05 15:06:25 [2308]  PCDService: No value for key [Updates] in hive [{667C8B6C-3EAF-4646-A8EC-D85CCC4D3D84}] in master.
    2010-10-05 15:06:25 [2308]  AUMService: config: No AdobeUpdaterCode found in configuration; AUM will be disabled.
    2010-10-05 15:06:25 [2308]  AUMService: IsUpdaterEnabled call
    2010-10-05 15:06:25 [2308]  AUMService: IsUpdaterEnabled call succeeded
    2010-10-05 15:06:25 [2308]  AUMService: Get LEID xml call
    2010-10-05 15:06:25 [2308]  AUMService: Get LEID XML call succeeded
    2010-10-05 15:06:25 [2308]  AMT: AUM GetLEID called with status =0.
    2010-10-05 15:06:25 [2308]  AMT: Caching Suite Features.
    2010-10-05 15:06:25 [2308]  AMT: Suite Feature AfterEffects_Base 10.0 is unlicensed.
    2010-10-05 15:06:25 [2308]  AMT: Suite Feature Bridge_Base 4.0 is licensed.
    2010-10-05 15:06:25 [2308]  AMT: Suite Feature Bridge_CameraRaw 4.0 is licensed.
    2010-10-05 15:06:25 [2308]  AMT: Suite Feature Bridge_ColorSettings 4.0 is licensed.
    2010-10-05 15:06:25 [2308]  AMT: Suite Feature Bridge_MiniBridge 1.0 is licensed.
    2010-10-05 15:06:25 [2308]  AMT: Suite Feature Contribute_Base 6.0 is unlicensed.
    2010-10-05 15:06:25 [2308]  AMT: Suite Feature Dreamweaver_Base 11.0 is unlicensed.
    2010-10-05 15:06:25 [2308]  AMT: Suite Feature DynamicLink_Base 4.0 is unlicensed.
    2010-10-05 15:06:25 [2308]  AMT: Suite Feature Encore_Base 5.0 is unlicensed.
    2010-10-05 15:06:25 [2308]  AMT: Suite Feature Fireworks_Base 11.0 is unlicensed.
    2010-10-05 15:06:25 [2308]  AMT: Suite Feature Flash_Base 11.0 is unlicensed.
    2010-10-05 15:06:25 [2308]  AMT: Suite Feature Flash_Pro 11.0 is unlicensed.
    2010-10-05 15:06:25 [2308]  AMT: Suite Feature FlashBuilder_Base 4.1 is unlicensed.
    2010-10-05 15:06:25 [2308]  AMT: Suite Feature FlashCatalyst_Base 1.0 is unlicensed.
    2010-10-05 15:06:25 [2308]  AMT: Suite Feature Illustrator_Base 15.0 is licensed.
    2010-10-05 15:06:25 [2308]  AMT: Suite Feature InDesign_Base 7.0 is licensed.
    2010-10-05 15:06:25 [2308]  AMT: Suite Feature MediaEncoder_Base 2.0 is licensed.
    2010-10-05 15:06:25 [2308]  AMT: Suite Feature MobileCenter_Base 3.0 is licensed.
    2010-10-05 15:06:25 [2308]  AMT: Suite Feature OnLocation_Base 5.0 is unlicensed.
    2010-10-05 15:06:25 [2308]  AMT: Suite Feature Photoshop_Base 12.0 is licensed.
    2010-10-05 15:06:25 [2308]  AMT: Suite Feature Photoshop_Premium 12.0 is unlicensed.
    2010-10-05 15:06:25 [2308]  AMT: Suite Feature Premiere_Base 5.0 is unlicensed.
    2010-10-05 15:06:25 [2308]  AMT: Suite Feature Soundbooth_Base 3.0 is unlicensed.
    2010-10-05 15:06:25 [2308]  AMT: Checking client features against cache.
    2010-10-05 15:06:25 [2308]  AMT: Feature AMT_ALLOW_DRAGDROP_INSTALL 3.0 is unlicensed (was unlicensed).
    2010-10-05 15:06:25 [2308]  AMT: Feature AMT_REQUEST_NO_TAMPERPROOFING 3.3 is unlicensed (was unlicensed).
    2010-10-05 15:06:25 [2308]  AMT: Feature Photoshop_Premium 12.0 is unlicensed (was unlicensed).
    2010-10-05 15:06:25 [2308]  AMT: Feature Photoshop_Base 12.0 is licensed (was licensed).
    2010-10-05 15:06:25 [2308]  AMT: Feature Bridge_Base 4.0 is licensed (was licensed).
    2010-10-05 15:06:25 [2308]  AMT: Feature Bridge_CameraRaw 4.0 is licensed (was licensed).
    2010-10-05 15:06:25 [2308]  AMT: Feature MobileCenter_Base 3.0 is licensed (was licensed).
    2010-10-05 15:06:25 [2308]  AMT: Validating client product info against cache.
    2010-10-05 15:06:25 [2308]  PCDService: No value for key [ExpirationDate] in hive [Photoshop-CS5-Win-GM] in master.
    2010-10-05 15:06:25 [2308]  AMT: Starting Data Collection for SWTag_Init()
    2010-10-05 15:06:25 [2308]  AMT: DoISOTagging() productCanonicalLEID = Photoshop-CS5-Win-GM;outMappedLEID =  DesignSuiteStandard-CS5-Win-GM, unused = DesignSuiteStandard-CS5-Win-GM
    2010-10-05 15:06:25 [2308]  AMT: DoISOTagging() productPayloadCode = {667C8B6C-3EAF-4646-A8EC-D85CCC4D3D84};driverPayloadCode =  {AE29D445-8164-4CD1-8824-FCE85C0BB179}
    2010-10-05 15:06:25 [2308]  AMT: SWTag_Init() Tags Arguments Adobe Creative Suite 5 Design Standard; DesignSuiteStandard-CS5-Win-GM; en_US
    2010-10-05 15:06:25 [2308]  AMT: DoISOTagging() License Status = activated
    2010-10-05 15:06:25 [2308]  AMT: DoISOTagging() Tags 954780229769663624615500; 5.0; UNKNOWN
    2010-10-05 15:06:25 [2308]  AMT: DoISOTagging() Product Version 5; 0
    2010-10-05 15:06:25 [2308]  AMT: AMT: Product License PreValidated.
    2010-10-05 15:06:25 [2308]  AMT: Prevalidate indicates license is good and no UI required.
    2010-10-05 15:06:25 [2308]  performance: PreValidate thread took 175.239548 ms
    2010-10-05 15:06:25 [2308]  AMT: PlugPlug : AdobeId has been created or SN with no SaaS bit
    2010-10-05 15:06:25 [2308]  AMT: PlugPlug : Can Go Online returned as true
    2010-10-05 15:06:25 [2308]  performance: AMTPlugPlugRequest took 19.133877 ms
    2010-10-05 15:06:25 [2308]  performance: AMTPlugPlugRequest took 1.438921 ms
    2010-10-05 15:06:25 [2308]  performance: AMTPlugPlugRequest took 1.928826 ms
    2010-10-05 15:06:25 [2308]  performance: AMTPlugPlugRequest took 1.666247 ms
    2010-10-05 15:06:25 [2308]  performance: AMTPlugPlugRequest took 1.559270 ms
    2010-10-05 15:06:25 [2308]  performance: AMTPlugPlugRequest took 11.914555 ms
    2010-10-05 15:06:25 [2308]  performance: AMTPlugPlugRequest took 2.501396 ms
    2010-10-05 15:06:25 [2308]  performance: AMTPlugPlugRequest took 2.070246 ms
    2010-10-05 15:06:26 [2308]  performance: AMTPlugPlugRequest took 2.714134 ms
    2010-10-05 15:06:26 [2308]  performance: AMTPlugPlugRequest took 2.050796 ms
    2010-10-05 15:06:26 [2308]  performance: AMTPlugPlugRequest took 2.605536 ms
    2010-10-05 15:06:26 [2308]  performance: AMTPlugPlugRequest took 2.452770 ms

  • JSession cookie dropping cause DuplicateSessionDetected exception when use https rather than http

    I developing Grails+BlazeDS server and Flex AIR client and stucked with this error: Detected duplicate HTTP-based FlexSessions, generally due to the remote host disabling session cookies. Session cookies must be enabled to manage the client connection correctly
    Google searches didn't successfully, as I see some difference in situations. The issue I got only when Flex client interact with server via https.
    Flex client:
    <s:ChannelSet id="userChannel">
               <s:SecureAMFChannel uri="https://localhost:8443/Con/messagebroker/amfpolling" />
    </s:ChannelSet>
    button click in UI triggered login method:
    loginResult.token = channelSet.login(usernameInput.text, passwordInput.text);
    And finished with DuplicateSessionDetected exception.
    After investigating network monitor logs, I found that a jsession cookie received from server not set in next requests to a server:
    Response from server (operation: client_ping):
    HTTP/1.1 200 OK
    Server: Apache-Coyote/1.1
    Set-Cookie: JSESSIONID=F58F1ADA97E70915EF9E6E4EE1AEBE00; Path=/; Secure
    Content-Type: application/x-amf
    Content-Length: 173
    Date: Sun, 23 Feb 2014 10:17:00 GMT
    Flex Message (flex.messaging.messages.AcknowledgeMessageExt)     clientId = EA18E8B9-951F-6F87-7B47-48B8B202EE75    correlationId = 7D2782C1-C8A5-41A3-2055-5E3F771424C8    destination = null    messageId = EA18E8F6-9E0E-1FE4-0D26-6F0E602F5C5E    timestamp = 1393150620542    timeToLive = 0    body = null    hdr(DSMessagingVersion) = 1.0    hdr(DSId) = EA18E8B9-950B-4B42-EF70-369D656BA3F2
    And next request to server (login operation) without jsession cookie:
    POST /Conn/messagebroker/amfsecure HTTP/1.1
    Referer: app:/BlazeDSClient.swf
    Accept: text/xml, application/xml, application/xhtml+xml, text/html;q=0.9, text/plain;q=0.8, text/css, image/png, image/jpeg, image/gif;q=0.8, application/x-shockwave-flash, video/mp4;q=0.9, flv-application/octet-stream;q=0.8, video/x-flv;q=0.7, audio/mp4, application/futuresplash, */*;q=0.5
    x-flash-version: 12,0,0,68
    Content-Type: application/x-amf
    Accept-Encoding: gzip,deflate
    User-Agent: Mozilla/5.0 (Windows; U; en) AppleWebKit/533.19.4 (KHTML, like Gecko) AdobeAIR/4.0
    Host: localhost
    Content-Length: 299
    Flex Message (flex.messaging.messages.CommandMessage)     operation = login    clientId =  null    destination =  auth    messageId =  7B47BBF2-08C0-0E41-5D88-5E3F76FA4882    timestamp =  0    timeToLive =  0    ***not printing credentials***
    and server answering with new session cookie:
    HTTP/1.1 200 OK
    Server: Apache-Coyote/1.1
    Set-Cookie: JSESSIONID=03BD8347F9E9511C299B717DD55625C9; Path=/; Secure
    Content-Type: application/x-amf
    Content-Length: 535
    Date: Sun, 23 Feb 2014 10:17:01 GMT
    Flex Message (flex.messaging.messages.ErrorMessage)     clientId = null    correlationId = 7B47BBF2-08C0-0E41-5D88-5E3F76FA4882    destination = auth    messageId = EA18F4A7-C80D-103B-F8D0-58B6F148F142    timestamp = 1393150621768    timeToLive = 0    body = null    code =  Server.Processing.DuplicateSessionDetected    message =  Detected duplicate HTTP-based FlexSessions, generally due to the remote host disabling session cookies. Session cookies must be enabled to manage the client connection correctly.    details =  null    rootCause =  null    body =  null    extendedData =  null
    And again - when used non-secure protocol everything ok - session cookie sevt to server in login operation as expected.
    I have a little experience in Flex development and didn't find any method to set session cookie when triggered channel login request. Could you help to resolve this issue, please?
    Thanks.

    Finnaly resolved it. I meet similar questions in the web, so I hope this solution will be helpfull for somebody.
    The  cause of DuplicateSessionDetected exception has been a Network Monitor tool of Flash Builder. After switching it off no any exception has been occurred. I think there issues  when Monitor acting as proxy when used with secure protocol.

  • [To Sysadmin] Exception when searching the forum

    Hi,
    a short notice: I got a java.lang.IllegalArgumentException while searching the forum for the phrase "+application +server +language +error +message", and it still persists after retrying a few times. It appears at half of the 9th search result.
    (http://forums.oracle.com/forums/search.jspa?threadID=&q=%2Bapplication+%2Bserver+%2Blanguage+%2Berror+%2Bmessage&objID=c84&dateRange=all&userID=&numResults=15&rankBy=10001)
    The full message and stack:
    An error in the system has occurred. Please contact the system administrator if the problem persists.
    type: java.lang.IllegalArgumentException
    java.lang.IllegalArgumentException: URLDecoder: Illegal hex characters in escape (%) pattern - For input string: "=d"
         at java.net.URLDecoder.decode(URLDecoder.java:173)
         at com.jivesoftware.base.filter.HTMLFilter.isAcceptableURL(HTMLFilter.java:671)
         at com.jivesoftware.base.filter.HTMLFilter.cleanseTag(HTMLFilter.java:629)
         at com.jivesoftware.base.filter.HTMLFilter.doAdvancedFilter(HTMLFilter.java:445)
         at com.jivesoftware.base.filter.HTMLFilter.doFilter(HTMLFilter.java:352)
         at com.jivesoftware.base.filter.HTMLFilter.applyFilter(HTMLFilter.java:335)
         at com.jivesoftware.base.FilterChain.applyFilters(FilterChain.java:97)
         at com.jivesoftware.base.filter.XMLFilter.applyFilter(XMLFilter.java:65)
         at com.jivesoftware.base.FilterChain.applyFilters(FilterChain.java:97)
         at com.jivesoftware.forum.database.DbFilterManager.applyFilters(DbFilterManager.java:144)
         at com.jivesoftware.forum.database.DbFilterManager.applyFilters(DbFilterManager.java:152)
         at com.jivesoftware.forum.database.DbFilterManager.applyFilters(DbFilterManager.java:155)
         at com.jivesoftware.forum.database.DbFilterManager.applyFilters(DbFilterManager.java:155)
         at com.jivesoftware.forum.database.DbFilterManager.applyFilters(DbFilterManager.java:155)
         at com.jivesoftware.forum.database.DbFilterManager.applyFilters(DbFilterManager.java:170)
         at com.jivesoftware.forum.database.DbForumMessage.getBody(DbForumMessage.java:450)
         at com.jivesoftware.forum.proxy.ForumMessageProxy.getBody(ForumMessageProxy.java:104)
         at com.jivesoftware.forum.database.DbQuery.highlightResult(DbQuery.java:544)
         at com.jivesoftware.forum.proxy.QueryProxy.highlightResult(QueryProxy.java:158)
         at com.jivesoftware.forum.action.SearchAction.getHighlightedText(SearchAction.java:630)
         at searchresults.jspService(_searchresults.java:1047)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:416)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:478)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:401)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:719)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
         at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:298)
         at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:42)
         at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:204)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:209)
         at com.opensymphony.webwork.dispatcher.ServletDispatcherResult.doExecute(ServletDispatcherResult.java:81)
         at com.jivesoftware.base.util.webwork.ServletDispatcherResult.doExecute(ServletDispatcherResult.java:49)
         at com.jivesoftware.forum.theme.ThemeAwareDispatcherResult.doExecute(ThemeAwareDispatcherResult.java:82)
         at com.opensymphony.webwork.dispatcher.WebWorkResultSupport.execute(WebWorkResultSupport.java:109)
         at com.opensymphony.xwork.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:258)
         at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:182)
         at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
         at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:164)
         at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
         at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:164)
         at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
         at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:164)
         at com.jivesoftware.forum.action.JiveExceptionInterceptor.intercept(JiveExceptionInterceptor.java:63)
         at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:164)
         at com.jivesoftware.base.action.JiveObjectLoaderInterceptor.intercept(JiveObjectLoaderInterceptor.java:56)
         at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:164)
         at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
         at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:164)
         at oracle.wocapps.forum.action.OracleLocaleInterceptor.intercept(OracleLocaleInterceptor.java:74)
         at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:164)
         at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
         at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:164)
         at com.opensymphony.webwork.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:71)
         at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:164)
         at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
         at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:164)
         at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
         at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:164)
         at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:116)
         at com.opensymphony.webwork.dispatcher.ServletDispatcher.serviceAction(ServletDispatcher.java:272)
         at com.jivesoftware.base.util.JiveWebWorkServlet.service(JiveWebWorkServlet.java:62)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at com.jivesoftware.util.SetResponseCharacterEncodingFilter.doFilter(SetResponseCharacterEncodingFilter.java:53)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
         at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
         at com.jivesoftware.base.PresenceFilter.doFilter(PresenceFilter.java:113)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
         at com.jivesoftware.util.SetRequestCharacterEncodingFilter.doFilter(SetRequestCharacterEncodingFilter.java:48)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:627)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:299)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:187)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Regards,
    Patrik

    denvercoder9, lol
    http://mthruf.files.wordpress.com/2011/08/job-fails-nooses-the-ultimate-solution.jpg

  • Error in http call soap run time exception

    Hi All,
    we are facing an issue whenever we are sending the file using soap protocal.
    the issue here is.
    when one user trying to send files he is getting error in http call soap run time exception.
    when he try to login to other PC then he can able to send the file without any exception.
    we have checked the local setting and coockies.
    any one please help me.
    Regards,
    Vishal Kommera

    Its not in the notepad file but when I open it in internet explorer etc it appears... But cant see the '-' in the internal table though.
    I have also found one interesting this, when i pass the XML directly i.e hard code it  there is no exception caused...
    Edited by: sk123456 on Oct 19, 2009 9:05 AM
    Edited by: sk123456 on Oct 19, 2009 9:07 AM

  • Derby db named query causes parse error when using derby db MONTH function

    Hi all!
    I'm trying to create an application using the persistance api and beans binding. I have created my database and entity classes.
    My problem is creating a named query that uses some of the functionality from the derby database (which is embedded in the application).
    I have a named query:
    @NamedQuery(name = "Vehicles.findbymotmonth", query = "SELECT v FROM Vehicles v WHERE MONTH(v.lastmotdate) = :monthnumber") The actual query works fine when I send it directly to the db (with the parameter filled in) but causes an exception when used as a named query:
    Local Exception Stack:
    Exception [TOPLINK-8025] (Oracle TopLink Essentials - 2.0.1 (Build b09d-fcs (12/06/2007))): oracle.toplink.essentials.exceptions.EJBQLException
    Exception Description: Syntax error parsing the query [Vehicles.findbymotmonth: SELECT v FROM Vehicles v WHERE MONTH(v.lastmotdate) = :monthnumber], line 1, column 32: unexpected token [MONTH].
    Internal Exception: line 1:32: unexpected token: MONTH
            at oracle.toplink.essentials.exceptions.EJBQLException.unexpectedToken(EJBQLException.java:389)
    ... I've tried looking for solutions online but it seems evryone just writes up the original java db application example provided by sun and no one has tried doing more than "select c from customers c".
    I'm using the netbeans ide (6.5).
    Please tell me there is a simple solution to this and the persistance API can handle complex queries!
    Thanks in advance.

    one solution: assume the toplink library to be so full of bugs as to be unusable and switch to the hibernate persistance manager where it works fine.
    Edited by: pointer2null on Feb 17, 2009 11:02 AM

  • Request.isUserInRole caused null pointer exception when logged in

    Hi,
    I have a jsp page in which I am trying to workout if a user is in a
    particular role,
    so I can prevent certain things from happening.
    The problem I am having is when I haven't logged onto the application the
    isUserInRole
    is working fine. As soon as I authenticate, the next time the function is
    called is causes
    a null pointer exception.
    I am using an ldaprealm for security and a weblogic URL policy file to
    associate roles
    with directories.
    The following is the stack dump that gets displayed
    java.lang.NullPointerException
    at
    weblogic.servlet.internal.ServletContextImpl.isUserInRole(ServletContextImpl
    .java:1844)
    at
    weblogic.servlet.internal.ServletRequestImpl.isUserInRole(ServletRequestImpl
    .java:668)
    at
    jsp_servlet._nzpilapp._publicview._nzpilapphomeview._jspService(_nzpilapphom
    eview.java:84)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :123)
    at
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
    l.java:761)
    at
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
    l.java:708)
    at
    weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContext
    Manager.java:252)
    at
    weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:346)
    at
    weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:246)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:135)
    Any Ideas on what is causing this??

    thanks Timo for your replay
    I use Jdeveloper version (11.1.2.3)
    First Question :- i have a view object of ( Countries ) in Hr Schema and include the name of the region ( RegionName ) Attribute From the ( Regions) View Object
    to be appeared in the Countries View Object using groovy expression and accessors View link
    when i insert a new record in the Coutries View Object it gives me an error
    *(oracle.jbo.JboException) JBO-29000: Unexpected exception caught: java.lang.NullPointerException, msg=null*

  • The niFPui.mxx plug-in caused an exception in the CmxAggregateItemUI::InvokeCommand function in the NIMax process. When saving *.iak file in MAX4.6

    The niFPui.mxx plug-in caused an exception in the CmxAggregateItemUI::InvokeCommand function in the NIMax process. When saving *.iak file in MAX4.6
    Hi There,
    The subject header just about says it all. This is the first action I took with MAX - it is a fresh install. The file I wanted to save was still written and the FP seems to be working ok. However, I need to know what happened.
    I can't post the whole log file due to the amount of characters allowed on this post. I can cut and paste sections if there is a specific part of the file you need. Below is the first section and last section.
     Context where exception was caught:
    Func:
    CmxAggregateItemUI::InvokeCommand Args: plugin=niFPui.mxx Item=0107EAB1
    cmdID.cmdId={4A36174B-EC0C-4D73-A23D-F15D164542DE} cmdID.index=0
    Application   : C:\Program Files\National Instruments\MAX\NIMax.exe
    User Name     : slaney
    OS Version    : 5.1.2600 (Service Pack 3)
    Exception Code: C000001E
    Exception Addr: 457BC448
    Return Address: 457BC448
    Function Name : nNIFPServer::tFpLinearScaleRange::`vftable'
    Module Name   : FieldPoint71
    Parameters    : F001008E 7800FDDD C5100DFC EC0107EA
    Source File   : (not available)
    Return Address: 481000C3
    Function Name : (not available)
    Module Name   : (not available)
    Parameters    : 00000000 00000000 00000000 00000000
    Source File   : (not available) 

    Hi,
    I did a research on your error message and it seems this problem was introduced with MAX 4.6. This version switched to a new error reporting mechanism and reports even errors that are which are not critical to your task.
    These errors typically show up as "unexpected" and if your error falls into this category have a look to this KB for further assistance.
    If it doesn't fall into this category, your could try to go back to the MAX 4.5 or 4.4.. Of course you would need to reinstall some components and might not be able to use newer drivers at all.
    Let me know.
    DirkW

  • Need help. I am running a 27 in imac with 16 gigs of ram. Photoshop runs really fast, except when opening files. It takes 5-10 minutes to open even a small file of 1 meg. I cleaned and validated all the fonts and removed all questionable fonts. Reset pref

    Need help. I am running a 27 in imac with 16 gigs of ram. Photoshop runs really fast, except when opening files. It takes 5-10 minutes to open even a small file of 1 meg. I cleaned and validated all the fonts and removed all questionable fonts. Reset preferences and still have problem. Slow to open and in force quit "Photoshop not responding" At this point should I uninstall and start over.

    What are the performance Preferences?

  • NO_PERMISSION Exception when calling secured EJB-methods

    In WL6.1, I have an Ejb with secured methods. The (Swing) client application accesses the Ejb through rmi-iiop using the JDK1.3.1 Orb.
    Unfortunately, it seems that the caller identity (which was supplied in the InitialContext lookup) is not propagated
    to the server: any call to a secured method
    fails with a CORBA NO_PERMISSION Exception.
    Non secured methods work fine.
    Using the t3 protocol the program also works fine, but that would require
    the 25Mb weblogic.jar on all clients,
    which is unattainable for us.
    Any ideas how this situation can be corrected?
    -Allard Siemelink

    I am still getting the NO_PERMISSION Exception when using "weblogic.jndi.WLInitialContextFactory".
    We use Sun's JRE, version 1.3.1_01.
    Am I forgetting something?
    My code is as follows:
    InitialContext context = null;
    try {
    Hashtable ht = new Hashtable();
    ht.put(InitialContext.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
    ht.put(InitialContext.PROVIDER_URL, "iiop://localhost:80");
    ht.put(InitialContext.SECURITY_PRINCIPAL, "system");
    ht.put(InitialContext.SECURITY_CREDENTIALS, "system_password");
    context = new InitialContext(ht);
    Object objHome = context.lookup(EJB_NAME);
    MyHome myHome = (MyHome)PortableRemoteObject.narrow(objHome, MyHome.class);
    MyRemote myRemote = myHome.create();
    //NEXT LINE Crashes when method is secured:
    myRemote.securedMethod();
    finally {
    if (context!=null) context.close();
    Andy Piper <[email protected]> wrote:
    Allard Siemelink <[email protected]> writes:
    In WL6.1, I have an Ejb with secured methods. The (Swing) client applicationaccesses the Ejb through rmi-iiop using the JDK1.3.1 Orb.
    Unfortunately, it seems that the caller identity (which was suppliedin the InitialContext lookup) is not propagated
    to the server: any call to a secured method
    fails with a CORBA NO_PERMISSION Exception.Make sure you are using WLInitialContextFactory and not
    CNCtxFactory. Only the former will give you security.
    andy

  • Adobe Photoshop Elements 6 causes an exception

    I installed APE 6 on my Windows Vista computer and it works ok but now when I open some other programs it causes an exception.  These are important programs too, my EOS Utility program for Remote Capture from my camera, gone.  My program for transferring data to my calculator, gone.  My Monopoly game, gone.  What happened and how can I fix this?

    This may have happened due to insufficient RAM. Try running these programs on a system with greater RAM.

  • HT2188 I can hear caller but they can not hear me except when using speaker phone

    I can hear caller but they can not hear me except when using speaker phone

    First of all,  make sure that your iPhone as the most recent iOS available. Check in "Settings>General>Software Update".
    One other problem could be your microphone. Does it work for anything else other than a call?
    Good-Luck!
    kpower28
    Please mark this as "solved my problem" or "helped me"!

  • MSS - Business Event Details - Error Unexpected Exception when Calling RFC

    Dear Experts,
    Manager is getting the Error "Unexpected Exception when Calling RFC from Profile Application 'Business Event' when he tries to get the Training history of ONE employee in MSS. However, he is getting the details for the other employees of his department.
    Any inputs on this?
    Thank you.

    I believe it is our custom iView that is incorrect.

  • A surprising exception when call the EJB

    OS:Windows-2000
    J2EE-Server:J2sdkee1.2.1
    Database:SQLServer-2000
    The CMP-bean---UserEJB has been deployed successfully.
    Main client program:
    UserHome userHome=(UserHome)PortableRemoteObject.narrow(objectRef,ejb.UserHome.class);
    User user=userHome.create(userid,password,name);
    When running the client program,exception occured like this:---
    java.rmi.ServerException: RemoteException occurred in server thread; nested exce
    ption is:
    java.rmi.RemoteException: Transaction aborted (possibly due to transacti
    on time out).; nested exception is:
    javax.transaction.RollbackException
    java.rmi.RemoteException: Transaction aborted (possibly due to transaction time
    out).; nested exception is:
    javax.transaction.RollbackException
    javax.transaction.RollbackException
    <<no stack trace available>>
    But a new data-row has been inserted into the table successfully.
    What on earth caused that? And how to solve this problem?
    Any reply is welcome.Thanks!

    I have only a partial solution (if you find it all I'll be happy to know myself...)
    I had the same problem. It occurs that the problem is related to the definitions of transactions attributes in the table of the transaction tab. go to this tab and change the attribute from "required" to "supported" (I assume you have "required" and it should not be) in the method which causes the exception.
    hope this helped.

  • 1. The procedure called by CUSTOM.pll causes the problem when we use f60gen

    When CUSTOM.pll contains a call to a package that in turn calls a remote package, the CUSTOM.pll compile hangs forever.
    1. The procedure called by CUSTOM.pll causes the problem when we use f60gen. Though same procedure compiles successfully using "alter procedure compile" command.
    2. We have observed the problem happens due to synonym present on the remote database(db link).
    It doesn’t work if you are calling SYNONYM on remote database. It works, for calls to tables or procedures or packages in remote database if that object is OWNED DIRECTLY by the account to which dblink is connecting to.
    select object_name, object_type from user_objects@NH_SCM_ICE.DB.ATT.COM ;
    OBJECT_NAME OBJECT_TYPE
    FA_LOCATIONS SYNONYM
    FND_FLEX_VALUES SYNONYM

    The database link is created under the APPS user in the local database but connects to a different user (SWCS_ICE_SUPCHAIN) in the remote database.
    The user in the remote database does not own any objects. It only has synonyms to objects owned by apps and others.
    Incidentally, the hang also happens when trying to describe the remote package from the application tier (8.0.6.3 sqlplus) but the describe works fine from the DB tier (10gR2 sqlplus).

Maybe you are looking for