Posts tagged "Invalid"

CQ5.5: Invalid links to DAM assets containing spaces in the file-name

Issue

If you are using the CQ5.5 authoring environment to add links to DAM assets through the rich-text editor dialog by drag-and-drop, then you may notice that some of these links will be marked invalid after clicking OK on the dialog.

A invalid link appears like the “banking” text below, whereas a valid link appears like the “investors” text.

You may also see errors similar to the following in the error.log:

*ERROR* [0:0:0:0:0:0:0:1 [1344244721052] GET /libs/wcm/core/content/pageinfo.json HTTP/1.1] com.day.cq.wcm.core.impl.servlets.PageInfoServlet Request path does not resolve to a resource: /content/dam/geometrixx/documents/GeoSphere_D%20a%20tasheet.pdf

Reason

The links are marked invalid when the assets in DAM contain spaces, or other characters such as !%$üäö, in the file-name (e.g. GeoSphere_D a tasheet.pdf).  Such file-names are being parsed by a URL encoder and the characters get converted by a URL encoder at the wrong place.

Workaround

You can workaround this issue by creating the link with the in-place editor, and also creating the link manually using the link button in the rte dialog, and selecting the document through the browse function. Only drag&drop directly onto the text in the rte dialog is not working.

Solution

This is a product issue with the rich-text widget and has been fixed in later product versions.

If you wish to resolve this issue in CQ5.5 you should contact support through Daycare and request hotfix “cq-5.5.0-hotfix-2390-1.zip”.  This hotfix has dependencies on other components, so the support team can advise you on installation order and requirements.

reference: (37103/NPR-2390)

VN:F [1.9.22_1171]
Was this helpful? Please rate the content.
Rating: 8.0/10 (1 vote cast)

LiveCycle ES: ALC-PDG-001-001 The Job Configuration either cant be obtained or is invalid

Issue

If you are using PDFG to process documents on your LiveCycle server you may encounter problems with the conversions accompanied by the following exception in the server log:

GeneratePDFIm A com.adobe.pdfg.logging.PDFGLogger log ALC-PDG-001-000-Job ID for the submitted createPDF job =CreatePDF-2012-07-23 12-05-26.643.docdfaed6-f564cb-14cb09-338b02-c5fd79-ba0c90

GeneratePDFIm E com.adobe.pdfg.logging.PDFGLogger log ALC-PDG-001-000-ALC-PDG-001-001-The Job Configuration either cant be obtained or is invalid.  Invocation error.

AWS  E com.adobe.workflow.engine.PEUtil logFailedFaultRouting An exception was thrown with name com.adobe.livecycle.generatepdf.client.InvalidParameterException message:ALC-PDG-001-001-The Job Configuration either cant be obtained or is invalid.  Invocation error while invoking service GeneratePDFService and operation CreatePDF2 and no fault routes were found to be configured.

WorkflowDSCIn E com.adobe.idp.workflow.dsc.invoker.WorkflowDSCInvoker logFailedFaultRouting An exception was thrown with name com.adobe.livecycle.generatepdf.client.InvalidParameterException message:ALC-PDG-001-001-The Job Configuration either cant be obtained or is invalid.  Invocation error. while invoking service GeneratePDFService and operation CreatePDF2 and no fault routes were found to be configured.

JobManagerBea E com.adobe.idp.jobmanager.ejb.JobManagerBean doOnMessage JobManagerBean:onMessage():Exception:ALC-DSC-003-000: com.adobe.idp.dsc.DSCInvocationException: Invocation error.  Reference     I org.apache.xml.security.signature.Reference verify Verification successful for URI “#d6f16633df10d6efd649f0d2becce92c”

FileResultHan A com.adobe.idp.dsc.provider.service.file.write.impl.FileResultHandlerImpl tryPreservingFiles FileResultHandlerImpl —– preserved- source —-\\server\WatchedFolders\folder\stage\Wx840560ff8bdc142771fc0a18\CreatePDF-2012-07-23 12-05-26.643.doc— to —\\server\WatchedFolders\folder\failure\CreatePDF-2012-07-23 12-05-26.643\CreatePDF-2012-07-23 12-05-26.643.doc

Reason

PDFG uses file settings to specify what type of PDF file you would like to be generated.  These settings are stored in the LiveCycle server and can be referenced in the AdminUI:

http://livedocs.adobe.com/livecycle/8.2/admin_pdfg/000006.html

This exception occurs when you are converting files using the API, an orchestration, or a custom service, but the settings you have defined do not exist on the LiveCycle server.  This may happen if you have custom conversion settings and then deploy an application/process, which references these settings from one environment to another.  We have also seen this issue when the name of the conversion settings was localized (as LiveCycle was installed on a non-English OS), and therefore the name defined in the service by default was no longer valid.

Solution

You should check your code or custom service to ensure you are referencing a valid PDFG settings file.  You may need to import a settings file in the adminUI, if you use custom settings in your code/service.

reference: (183454350)

VN:F [1.9.22_1171]
Was this helpful? Please rate the content.
Rating: 7.0/10 (3 votes cast)

Acrobat/Reader: Invalid ColorSpace error opening a PDF

Issue

 When you try to view a PDF file in Adobe Reader or Acrobat, you see the following error:

“There was an error processing a page. Invalid ColorSpace.”

Try opening other PDF files in the same way and compare the results.  This problem only occurs for certain PDF files.

Reason

This error usually occurs viewing PDF files in the browser when there is a problem with the PDF file itself, particularly for PDF files generated with third-party applications or tools.  It will not prevent you from opening the file, but rather, some pages will not be visible.

Solution

If you are attempting to open the file through a browser (that is, from an Internet site), try to download the file to your local computer. Then, open it locally using Adobe Acrobat or Reader.  Check the file properties and see if a non-Adobe application was used to create the PDF file.

Here are some suggestions that have resolved the problem for other users:

  • If a non-Adobe application was used, then try using an Adobe application to generate the PDF file again.
  • If it is not possible to re-generate the PDF with an Adobe application, then try to resave it, and/or use the PDF Optimizer tool in Acrobat.  This will often fix any obvious syntax errors in the PDF.
  • If you used an Adobe application other than Acrobat to create the PDF file, ensure you have flattened all layers in the original file before creating the PDF, and check the colorspace settings you have used when exporting the PDF file.  For example, it is not valid to have a DeviceN color space with a colorant value “All”.  You can find details in the PDF Reference Manual (http://www.adobe.com/devnet/pdf/pdf_reference.html).
  • If you have uploaded the file to a website using FTP, ensure you have transferred the file in binary mode.
  • You can try to disable the “Allow Fast Web View” option in the Internet preferences in Adobe Acrobat/Reader.

reference: (182325862)

VN:F [1.9.22_1171]
Was this helpful? Please rate the content.
Rating: 4.8/10 (16 votes cast)

LiveCycle ES: ALC-UPG-040-000 UpgradeException: Invalid Join: process_instance

Issue

When you upgrade your LiveCycle 7 environment to LiveCycle ES 8.2.1, the following exception may occur during the Migrate Essential Data step while running the LCM:

[2010-03-11 10:33:11,699], SEVERE, Thread-54, com.adobe.livecycle.upgrade.control.PhaseRunner, Aborting. Invocation of method 
[migrateCriticalData] failed for com.adobe.livecycle.upgrade.workflow.WorkflowUpgradePlugin. Caught 
com.adobe.livecycle.upgrade.UpgradeException, message: ALC-UPG-040-000: Internal error: ALC-UPG-040-000: 
Internal error: Invalid Join: process_instance
com.adobe.livecycle.upgrade.UpgradeException: ALC-UPG-040-000: Internal error: ALC-UPG-040-000: 
Internal error: Invalid Join: process_instance
 at com.adobe.livecycle.upgrade.workflow.WorkflowUpgradePlugin.execute(WorkflowUpgradePlugin.java:320)
 at com.adobe.livecycle.upgrade.workflow.WorkflowUpgradePlugin.migrateCriticalData(WorkflowUpgradePlugin.java:226)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:585)
 at com.adobe.livecycle.upgrade.control.PhaseRunner.run(PhaseRunner.java:217)
 at java.lang.Thread.run(Thread.java:595)
Caused by: com.adobe.livecycle.upgrade.UpgradeException: ALC-UPG-040-000: Internal error: Invalid Join: process_instance
 at com.adobe.livecycle.upgrade.workflow.WorkflowUpgradePlugin.migrateWorkflow7Templates(WorkflowUpgradePlugin.java:392)
 at com.adobe.livecycle.upgrade.workflow.WorkflowUpgradePlugin.execute(WorkflowUpgradePlugin.java:314)
 ... 7 more
Caused by: java.lang.RuntimeException: Invalid Join: process_instance
 at com.adobe.pof.omapi.AbstractQueryCompoundExpression.addObjectFilter(AbstractQueryCompoundExpression.java:571)
 at com.adobe.pof.omapi.AbstractQueryCompoundExpression.addFilter(AbstractQueryCompoundExpression.java:325)
 at com.adobe.livecycle.upgrade.workflow.WorkflowUpgradePlugin.updateProcessInstanceWithServiceInfo(WorkflowUpgradePlugin.java:1368)
 at com.adobe.livecycle.upgrade.workflow.WorkflowUpgradePlugin.upgradeLC7ProcessTypeToService(WorkflowUpgradePlugin.java:487)
 at com.adobe.livecycle.upgrade.workflow.WorkflowUpgradePlugin.migrateWorkflow7Templates(WorkflowUpgradePlugin.java:386)
 ... 8 more
[2010-03-11 10:33:11,803], INFO, AWT-EventQueue-0, com.adobe.livecycle.upgrade.gui.UpgradePhaseDialog, ALC-UPG-040-000: 
Internal error: ALC-UPG-040-000: Internal error: ALC-UPG-040-000: Internal error: Invalid Join: process_instance

Additional information

Corruption in the LiveCycle ES database can cause this error.  The database can get corrupted if there were any manual modifications, or SQL statements run on the DB, or if you are using an external (not from Adobe) purge utility on the DB.

Solution

  1. Restore the database to a valid state before running the LCM.
  2. Make sure that there are no SQL queries running on the LiveCycle ES Database, before the LCM has run.

reference: (181485096/2526063)

VN:F [1.9.22_1171]
Was this helpful? Please rate the content.
Rating: 0.0/10 (0 votes cast)

LiveCycle Workbench ES: PATRuntimeException: Invalid variable type

Issue

After migrating Adobe LiveCycle 7 to LiveCycle ES, the properties dialog for some of the LiveCycle 7 components do not open in imported processes in Workbench.  This issue occurs particularly with components from other vendors.

In the server log file, you may find an exception similar to the following:

<Mar 18, 2009 5:38:47 PM CET> <Error> <com.adobe.workflow.AWS> <server> <LCServer1> <[ACTIVE] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'>
<<anonymous>> <BEA1-30E1940ABA8BD8AE228B> <> <1237394327753> <000000> <stalling action-instance: 803 with message:
com.adobe.workflow.pat.PATRuntimeException: Invalid variable type. Variable: com.adobe.workflow.template.document.DefaultVariableTemplate@5ebcf7d, Type: lc7form at com.avoka.workflow.qpac.userplus.UserPlusService.A(Unknown Source) at
com.avoka.workflow.qpac.userplus.UserPlusService.execute(Unknown Source) at
com.adobe.workflow.engine.PEUtil.executeAction(PEUtil.java:551) at
com.adobe.workflow.engine.ProcessEngineBMTBean.executeAction(ProcessEngineBMTBean.java:1933) at
com.adobe.workflow.engine.ProcessEngineBMTBean.asyncExecuteActionCommand(ProcessEngineBMTBean.java:1878) at com.adobe.workflow.engine.adobe_ProcessEngineBMTEJB_e5zjcz_ELOImpl.asyncExecuteActionCom
...

Reason

Most QPACs from LC7 need to be updated to be able to handle the new “lc7form” variable type.  According to the documentation on the adobe site, this is a pre-requisite for using LC7 QPACs in LC ES.

On pg.4 of the doc at: http://help.adobe.com/en_US/livecycle/8.2/upgrade_changes.pdf

there is the following text:

Changes in variable types

Adobe LiveCycle Workflow 7.x supported a series of variable types that you can use in process definitions. The form variable type is renamed lc7form when you upgrade to LiveCycle ES. The upgrade willautomatically update your processes to use the new variable type name; therefore, in most cases, thechange is transparent. However, if you are using a custom component from a third-party or have created oneinternally and the QPAC makes an explicit reference to the form variable type, the QPAC must be updatedto recognize the lc7form variable type name instead. The new QPAC must then be deployed to the serverfrom Adobe LiveCycle Workbench ES.

Solution

For Adobe components, make sure you are using the latest version of the component available from the Workflow SDK.  For QPACs from other vendors, please contact these vendors and request an updated QPAC which is compatible with LiveCycle ES.

To deploy the updated component:

  1. Copy the component jar file to a local folder on the server
  2. Open Workbench
  3. Show View -> LiveCycle 7.x components
  4. Right click in the LiveCycle 7.x components view, and select “Deploy new component”
  5. Browse to the component jar file from step 1 above
  6. Set the appropriate deployment properties for the component
  7. Click OK

You may have to close and re-open the process map in Workbench for the changes to take affect.  You should now be able to open the properties dialog for the affected component activity.

reference: (180802977/2302710)

VN:F [1.9.22_1171]
Was this helpful? Please rate the content.
Rating: 0.0/10 (0 votes cast)