FPRUNX001 error when fp_docparams-fillable = 'X', else PDF is created.
Hi,
When I use following code, I get FPRUNX001 system error that : Request start time: Sun Dec 23 23:11:47 CST 2007 (200101)...
fp_docparams-langu = 'E'.
fp_docparams-country = 'US'.
fp_docparams-fillable = 'X'.
CALL FUNCTION fm_name
EXPORTING
/1bcdwb/docparams = fp_docparams
qmnum = qmnum
IMPORTING
/1BCDWB/FORMOUTPUT = formout
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3
others = 4.
but when i remove 'fp_docparams-fillable = 'X'.'... and just use below code it creates a PDF (can not enter values in input fields of pdf form though).
fp_docparams-langu = 'E'.
fp_docparams-country = 'US'.
CALL FUNCTION fm_name
EXPORTING
/1bcdwb/docparams = fp_docparams
qmnum = qmnum
IMPORTING
/1BCDWB/FORMOUTPUT = formout
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3
others = 4.
How do I make this to work for interactive PDF without making fp_docparams-fillable = 'X'....
please advice.
Thanks.
Sudhir
Dezso,
We do have a credential file installed into our ADS already.
I found OSS Note 1090486 that may have something to do with this.
Any thoughts?
Thank you,
Stephen.
(I work with Sudhir)
Similar Messages
-
I get the following error when trying to open a pdf file... '*pdf.part could not be saved, because the source file could not be read". I am able to open pdf files in IE and other programs.
I am encountering the same problem -- though with .qfx files from my bank. This worked fine in Firefox 31 ESR, but since upgrading to Firefox 33.0, I get the "<name>.qfx.part could not be saved, because the source file could not be read" when I attempt to download. (I should add that downloading PDF statements from the same site works fine, and that the qfx downloads work fine in IE and Chrome.)
I tried safe mode, it is still broken. Tried v34 beta, no luck. I reverted to version 31, it works again.
I guess I will stick with the older version until a solution is found...or just use an alternate browser to download my financial data. -
Please help. Keep getting a conversion error when trying to convert a PDF to a .docx. Advice?
Sara,
Please see my answers in bold below.
What browser are you using? Try clearing the cache, or using a different browser. N/A
Are you converting from within Reader, or directly via the ExportPDF website. Within Reader.I disabled the OCR and this did not work either. Try converting from within Reader, and disable OCR as detailed in this document: How to disable Optical Character Recognition (OCR) when converting PDF to Word or Excel.
Are you on a networked computer? Make sure that there aren't any firewall/proxy settings that are preventing you from uploading files to the Internet. Not having problems uploading the file--that works fine.
Make sure the file is within the file-size limit of 100 MB. It is <40.
I get the error message, "File failed to be converted using Adobe ExportPDF online."
Thanks for your help in advance. -
"The file is damaged and could not be repaired" error when trying to open a PDF in Reader
A few of our employess (only 3 out of over 100 so far) have been getting the error, "The file is damaged and could not be repaired" when trying to open some PDFs. Other people are able to open the same PDF files with no error. It's happening on about 10% of the time. I've read a bunch of threads here with this isue and tried some suggested fixes and nothing has resolved the issue. Here is what I have found works and does not work and the info on their computers:
Computers:
1 Dell Vostro desktop running WIndows 7
1 Toshiba Satellite C55 runnign Windows 8
1 Samsung ATIV Book 4 running Windows 8
All using Adobe Reader XI but we did uninstall that version and tried previous versions and still got the error.
Did Not Work:
As suggested by the company that we use online for claims adjustments where this error is occuring, we tried using a different PDF creator since the files were created using a free PDF creator by the employees. PDF995 and PDFcreator (pdfforge) did not resolve the issue. I then created the PDFs with my Adobe Acrobat, uploaded from my computer to the online program, and that did not resolve the issue.
Saving the file to hard drive and then opening in Adobe did not work.
Turning off Protected Mode and Enhanced Security did not work.
Compatibility View settings enabled in Internet Explorer 10 did not resolve the issue. The previously mentioned claims adjustment software company we use online was code for IE so is not fully compatible with other browsers.
That being said I did try to open the PDF files in Chrome and it also did not work. Same error message.
Does work:
I download the file they cannot open onto my hard drive, open in Adobe Acrobat, Save as a pdf, then email it to them and they can open it via email attachment.
If they close the error and continue trying to open the file over and over sometimes it will eventually open.
Is there a setting in Windows that is preventing them from opening a small % of files some of the time? Thanks in advance for any help!
JamesIf anyone is reading this still looking for what caused the issue and how to fix it here is what I discovered.
The antivirus program our company uses, Bitdefender Antivirus Plus, was causing some of the PDF files not to open. After troubleshooting the different modules and settings the culprit was..
Scan SSL in Privacy Control Settings. Turning it OFF solved the problem and all the PDF files that previously would not open now open just fine. This issue has been sent to Bitdefender for them to review. If you use a different antivirus program and are having this issue try locating the Scan SSL setting and see if turning it off solves the problem. -
Keep getting "renderable text" error when I need to OCR PDF's from FrameMaker.
My solution has been to individually extract all those pages, then open them up in Photoshop, flatten them and
widen the canvas size to standard 8.5 x 11.
But that's a little tedious and time-consuming and you have to delete the original page from your document, after
importing the OCR-friendly page.
Is there a printer definition, or something you can set up when you're generating your PDF's in the first place,
that will get rid of that annoying "renderable text" error?Ok...
I don’t know how it happens but after I save my work in FrameMaker or MS Word, and print
to PDF for the final output, there are often pages with text in them that isn’t recognizable,
or that can’t be found with a CTRL+F search.
That is a serious issue, and one we might be able to help you with, but really, quite separate from the issue here. It's too late to try and fix this once it is a PDF.
What is it that’s lost when OCR is run?
Quality. Small file size. Tags (which might be required legally). Almost everything except the basic text, and that might also be lost given that OCR is not guaranteed to work. This is NOT the right way to solve your problem.
The translator doesn’t have any Adobe products except Reader, so I’m limited to Acrobat
to show her how the words and pictures are laid out on a page.
In order for her to copy and paste that text – or search it, to find all of the places where the
same word might be used – I need to make sure every word is there for her to grab.
I have heard of translators trying to work with PDFs, and few that succeed. You can reasonably expect a transation service to support FrameMaker. But if they don't I recommend you extract the text from FrameMaker to a simple Word or text file. They should be fine using the PDF as a visual reference, and having the text to translate, and for you to flow back into the original layout. (Again, something I'd expect a full service translation to do themselves, but there are advantages to keeping control too).
Those were the 2 pages that gave the ‘renderable text’ error. Don’t ask me why or how, they
look like all the other pages in that document. Except Acrobat thinks they’re scanned graphics,
that’s how they present when you wave the cursor around in them, hunting for text.
Renderable text is just text. It means that somewhere on that page there is text. Surely there is layout, page numbers, whatever from FrameMaker on the pages. If not, we really need to look at your production methods - back to the first point. -
Help: error when optimize a password procted PDF
I am getting error when optimize a PDF. The PDF document is password protected with help of DDX Assemble.
Error Message follows:
ALC-PDG-15063-000: com.adobe.livecycle.generatepdf.client.ConversionException: ALC-PDG-015-063-The system cannot export password protected files. Please edit and submit your file again.
at com.adobe.pdfg.BMCCaller.checkResult(BMCCaller.java:382)
at com.adobe.pdfg.Native2PdfCaller.callNativeBMC(Native2PdfCaller.java:1134)
at com.adobe.pdfg.Native2PdfCaller.optimizePDF(Native2PdfCaller.java:362)
at com.adobe.pdfg.GeneratePDFImpl.optimizePDF(GeneratePDFImpl.java:2116)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:118)
at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:140)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.interceptor.impl.DocumentPassivationInterceptor.intercept(DocumentPassi vationInterceptor.java:53)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)
at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapterBean.doBMT(EjbTran sactionBMTAdapterBean.java:197)
at sun.reflect.GeneratedMethodAccessor300.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:237)
at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:158)
at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
at org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxInterceptorBMT.java:1 73)
at org.jboss.ejb.plugins.TxInterceptorBMT.invoke(TxInterceptorBMT.java:77)
at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:169)
at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:138)
at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
at org.jboss.ejb.Container.invoke(Container.java:960)
at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:430)
at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)
at $Proxy172.doBMT(Unknown Source)
at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:95)
at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStra tegyInterceptor.java:55)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:158)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:115)
at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:129)
at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.routeMessage(AbstractMessage Receiver.java:93)
at com.adobe.idp.dsc.provider.impl.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:20 9)
at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat cher.java:66)
at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)
at com.adobe.workflow.engine.PEUtil.invokeAction(PEUtil.java:886)
at com.adobe.idp.workflow.dsc.invoker.WorkflowDSCInvoker.transientInvoke(WorkflowDSCInvoker. java:347)
at com.adobe.idp.workflow.dsc.invoker.WorkflowDSCInvoker.invoke(WorkflowDSCInvoker.java:158)
at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:140)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.interceptor.impl.DocumentPassivationInterceptor.intercept(DocumentPassi vationInterceptor.java:53)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)
at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTr ansactionCMTAdapterBean.java:357)
at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doRequiresNew (EjbTransactionCMTAdapterBean.java:299)
at sun.reflect.GeneratedMethodAccessor250.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:237)
at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:158)
at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:169)
at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:404)
at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:138)
at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
at org.jboss.ejb.Container.invoke(Container.java:960)
at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:430)
at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)
at $Proxy171.doRequiresNew(Unknown Source)
at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:143)
at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStra tegyInterceptor.java:55)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:188)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:115)
at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:129)
at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.routeMessage(AbstractMessage Receiver.java:93)
at com.adobe.idp.dsc.provider.impl.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:20 9)
at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat cher.java:66)
at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)
at com.adobe.idp.jobmanager.execution.workadapter.AbstractExecutableJob.invokeRequest(Abstra ctExecutableJob.java:127)
at com.adobe.idp.jobmanager.execution.workadapter.PersistentExecutableJob.execute(Persistent ExecutableJob.java:60)
at com.adobe.idp.dsc.workmanager.adapter.UnManagedAsynchronousWorkAdapter.run(UnManagedAsync hronousWorkAdapter.java:39)
at org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:204)
at org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:275)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743)
at java.lang.Thread.run(Unknown Source)There is no file "com.apple.iphoto.plist" as they claim. May be an '08 file. I'm using 6.0.6
This file has to exist. You are probably looking in the wrong Library. It's not the Library directly inside your Hard Drive; you want the one in your Users folder. Navigate like this:
Mac HD/ Users/ (your user name)/ Library/ Preferences/ com.apple.iPhoto.plist
Delete the file and see if it helps.
Regards. -
I keep receiving security errors when trying to open a pdf.
I keep receiving a security error when trying to run my javascript program, the function previously worked, but now creates an error after I entered the addWaterMark function. I have put my whole code below for my script.
The basic function is to load a text file into an array which has the path and file location, open the document, add a watermark, save the file, close the file, then repeat for the next array position.
I am using Acrobat Standard so I am unable to debug using the console, therefore I am struggling to understand what I am doing wrong. I will point out that I am not a fluent programmer, only have a basic knowledge of programming.
Code
app.addSubMenu(
cName:"Extras",
cParent:"Edit"
app.addMenuItem(
cName:"Import File",
cParent:"Extras",
cExec:"main()"
function main()
var fileCount = 0
var listOfFiles = []
listOfFiles = importData()
amountOfFiles = listOfFiles.length
for (var i =0; i<listOfFiles.length; i++) //calculates amount of entries in the array listOfFiles
newFile = openFile(listOfFiles[i]) //Opens current file
var d = app.activeDocs; //Gets current document title name
addWater(d[0]);
app.execMenuItem("Save");
for( var x in d ) d[x].closeDoc();
function addWater(myName)
{ app.alert("watermark",0);
myName.addWatermarkFromText(
cText: "OBSOLETE",
cFont: "Arial",
nFontSize:36,
aColor: color.red,
nOpacity: 0.5
//function SaveFile saves the current file but with an addition of WM to the filename
saveFile = app.trustedFunction(function(currentDoc, currentFileName)
{ app.alert("savefile",0);
app.beginPriv();
currentDoc.saveAs(currentFileName);
app.endPriv();
//function openFile which opens the file named in the variable currentFilename
openFile = app.trustedFunction(function(currentFileName)
{app.alert("openfile" + currentFileName,0);
app.beginPriv();
app.openDoc(currentFileName);
app.endPriv();
//importData function imports the paths and filenames contained in the list.txt located on the desktop
importData = app.trustedFunction(function()
{app.alert("import",0);
app.beginPriv();
cFilePath = "/C/Users/103019944/Desktop/File_List.txt";
var stmData = util.readFileIntoStream(cFilePath);
var cData = util.stringFromStream(stmData);
var cMsg = cData;
var fileArray = cMsg.split("\r\n");
for (var i =0; i<fileArray.length; i++)
return(fileArray);
app.endPriv();I have found the error, you are quite correct I had an extra letter in the filename, I thought I'd checked this but just shows that sattention to detail is the key.
The script works perfectly now, thanks you for your help, really appreciated.
Thanks again
Ben -
Error when calling getLocalSocketAddress() on for a newly created socket
Hello,
I have an issue when using JVM 1.5.0.12 on HP-UX (IA64N):
java.lang.Error: java.net.SocketException: Bad file number (errno:9)
at sun.nio.ch.Net.localAddress(Net.java:123)
at sun.nio.ch.SocketChannelImpl.localAddress(SocketChannelImpl.java:394)
at sun.nio.ch.SocketAdaptor.getLocalAddress(SocketAdaptor.java:147)
at java.net.Socket.getLocalSocketAddress(Socket.java:708)
I get this error when I accept a connection from a remote peer and I try to call getLocalSocketAddress() method on the new accepted socket connection object.
Does anyone have an idea about the cause for this error?
I also get 2 other errors but in different places in the code:
1/ java.io.IOException: No buffer space available (errno:233)
at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method)
at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:145)
This one I get when my server socket accepts a connection. But even if the connection is accepted succesfully, I might get the "java.lang.Error: java.net.SocketException: Bad file number (errno:9)" when trying to call getLocalSocketAddress()
2/ Once I accept the new connection I call "socketChannel.socket().setTcpNoDelay(true)" but sometimes this fails with a SocketException: Invalid argument (errno:22).
Al the 3 errors are manifesting sporadically and I cannot find the cause.Hello,
Thanks for your quick response!
We actually do something like this:
// NIO engine build around a Selector for asynchronous IO developpement.
public class NIOCore implements Runnable {
private final Selector selector;
private final Set<SelectableChannelListener> channels = new HashSet<SelectableChannelListener>();
public void run() {
for (final Iterator<SelectionKey> i = selector.selectedKeys().iterator(); i.hasNext();) {
final SelectionKey selectionKey = i.next();
i.remove();
final SelectableChannelListener selectableChannelListener = (SelectableChannelListener) selectionKey.attachment();
if (!selectionKey.isValid()) {
continue;
// Check what event is available and deal with it
if (selectionKey.isAcceptable()) {
if (log.isTraceEnabled()) {
log.debug("Processing ACCEPT event for listener: " + selectableChannelListener);
try {
selectableChannelListener.acceptEvent();
} catch (final Throwable t) {
log.error("Error on ACCEPT event for listener " + selectableChannelListener, t);
selectableChannelListener.close();
As you ca see, we use to do a callback on our SelectableChannelListener objects. In our case the SelectableChannelListener object that actually propagates the JVM Error is this one:
public final class Acceptor extends SelectableChannelListener {
protected NIOCore core;
public void acceptEvent() {
SocketChannel socketChannel = serverSocketChannel.accept();
if (socketChannel == null) {
throw new NIOCoreException("No incoming connection to accept");
// Socket options
if (params.getSocketBufferSize() > 0) {
socketChannel.socket().setSendBufferSize(params.getSocketBufferSize());
try {
socketChannel.socket().setTcpNoDelay(true);
} catch (SocketException ex) {
if (log.isDebugEnabled() || log.isTraceEnabled())
log.warn(logPrefix + "could not set TCP_NODELAY socket option.You may experience performance loss", ex);
else
log.warn(logPrefix + "could not set TCP_NODELAY socket option. You may experience performance loss. Cause : " + ex.getMessage());
// later if the connection is accepted succesfully this line is executed
SocketAddress localAddress = socketChannel.socket().getLocalSocketAddress();
@Override
public void close() {
core.unregister(this);
try {
selectableChannel.close();
} catch (final IOException e) {
// Ignore
NIOPortManager.getInstance().setListenBindSapState(getBoundSAP(), true);
So bassically when we call selectableChannelListener.close() we indeed close the ServerSocketChannel channel, but we also unregister the Acceptor observer object from NIOCore in order to free memory and set the SAP as available.
The problem is that we cannot reproduce this issue (it reproduces only on our customers environment) and I consider rather risky to remove the selectableChannelListener.close() call.
Actually I would catch the Error and package it in an internal runtime exception:
SocketAddress localAddress = null;
try {
localAddress = socketChannel.socket().getLocalSocketAddress();
catch (Throwable t) {
throw new MyRunntimeException(t);
And then to catch this new runtime exception in NIOCore class when this call is made:
try {
selectableChannelListener.acceptEvent();
} catch (final MyRunntimeException e) {
log.debug("JVM error occured!");
} catch (final Throwable t) {
log.error("Error on ACCEPT event for listener " + selectableChannelListener, t);
selectableChannelListener.close();
I know this is silly but at least we can use it as a temporary workaround until these JVM issues are fixed.
Also since socketChannel.socket().getLocalSocketAddress() API call only throws that specific error from time to time, we could implement a retry mechanism. What I mean is to call getLocalSocketAddress() in a while loop and if the call fails with Error just continue to retry...we could provide 3 retries for example. If on the 3 ^rd^ retry the call also fails, just let it be failed and treat it in normal way.
Best regards,
Alex -
Hi all,
On Windows Platform, encounters error when trying to open an Indesign document in INDD format created from Mac. Error received "Either the file does not exist, you do not have permission, or the file may be in use by other application". I am currently using Adobe Indesign CC 9.2 Trial version.
Kindly advise how can i open this document on windows platform and allows me to edit the document.
Thanks!
With Rgds,
Fiona ChoyNormally there is no problem to open any INDD opening on Windows, when created on the Mac.
But Mac user are often not aware on the naming limitations. A file name must not contain /, \, |, :
It should not contain any extended character, it is not a primary problem but will be, if something links to that file, so avoid also: ÄÖÜäöüß+&
You can use all other non A-Z a-z, 0-9 and - and _
I personally would also recommend to avoid spaces.
This is valid for the INDD file itself but also for all linked content. -
Error when exporting file from LR5.2 - file created
After updating to LR5.2, I receive an error when exporting files to another disk drive. a file is created, but a warning appears "Unable to Export: "An internal error has occurred: Win32 API error 2 ("The system cannot find the file specified.") when calling ShellExecuteExW from AgWorkspace.shellExecute". I also have CC iunstalled for other applications, but originally installed LR5 as a standalone Adobe application. I tried removing the program and reinstalling through CC, with no change in this behavior.
The answer is in the thread:
http://forums.adobe.com/thread/1303578?tstart=0 -
Error when i open a form (pdf) in adobe reader 9
Hi,
I have designed a form using designer. When i open a pdf on my system i am getting below error popup(Snap shot below). But others are not getting this error with the same version of adobe reader.
What is the issue. Is it design issue. If yes then plz provide me solution.
errror: Invalid enumerated value:inactive
the fault occured on line 558
Regards
SunilHi Sunil,
Just a hunch - in your script are you setting the presence of an object to "inactive"?
If so, this property is not available in Acrobat/Reader v9.1.
Otherwise is there an error showing in the JavaScript Console (Control+J in Acrobat)?
Last suggestion would be to press the 'check syntax' button at the top of the script editor.
Good luck,
Niall -
Post Author: teven
CA Forum: JAVA
Currently
I have a servlet that assumes it is finding a .report and then I use
the exporter to export it as excel. We have some reports that when
they are scheduled to run, they are saved as Excel. How can I
programatically open that excel file from my servlet.Here is the error:
Error
An error occurred at the server : The object you
are trying to access (ID = 16109) has type CrystalEnterprise.Pdf. The Page
Server only supports objects of type CrystalEnterprise.Report. Please select a
different object. Here is the code that does the export assuming a .report is returned - thanks CrystalImageCleaner.start(getServletContext(), 60000, 12000); HttpSession session = request.getSession(); // Get the ID of the current working report. int reportID = Integer.parseInt(request.getParameter("ReportID")); // Initialize the viewer. CrystalReportViewer viewer = new CrystalReportViewer(); viewer.setEnterpriseLogon(this.enterpriseSession); IReportSourceFactory psReportSourceFactory; Object reportSource = null; try { psReportSourceFactory = (IReportSourceFactory)enterpriseSession.getService("PSReportFactory"); reportSource = psReportSourceFactory.openReportSource(reportID, java.util.Locale.ENGLISH); viewer.setReportSource(reportSource); } catch (SDKException e) { e.printStackTrace(); } catch (ReportSDKExceptionBase e) { e.printStackTrace(); } viewer.setOwnForm(true); viewer.setHasLogo(false); viewer.setBestFitPage(true); viewer.setDisplayPage(true); viewer.setDisplayGroupTree(true); viewer.setDisplayToolbar(true); viewer.setOwnPage(true); viewer.setURI("ReportViewer?ReportID="+reportID); try { // Make the viewer render the page. viewer.processHttpRequest(request, response, getServletContext(), null); } catch (ReportSDKExceptionBase e1) { e1.printStackTrace(); }Post Author: Ted Ueda
CA Forum: JAVA
The PSReportFactory service, CR Page Server, is only for viewing Crystal Report formats, and not instances in other formats.
For the other formats, ensure you list the SI_FILES property in the InfoStore query, then cast the resulting InfoObject to IContent. The IContent interface support methods to stream the file content from the File Repository Server.
Sincerely,
Ted Ueda -
How Do I Resolve FileOpen Client Errors When Trying to Open a PDF in Acrobat X or Reader XI?
I am trying to open some pdf files received from a client that when I try to open them, I receive an error stating, "The FileOpen client has encountered an error. Please try to re-start Adobe Acrobat / Reader." A co-worker was able to open the same files with his version of Acrobat X Pro. I am not having success whether I use my version of Acrobat X Standard or Acrobat Reader XI; I get the same error with both application.
Any ideas how to resolve this.
Thank you.
SteveFileOpen is a security add-on, which is needed to open some files. Not a part of Adobe software. Maybe you need to upgrade or report it: http://www.fileopen.com/
-
Error when opening a B1 generated PDF
Hi,
I have a client who has a problem with exported PDFs.
The export from B1 appears to go smoothly, but when opening the PDF after export they get a error message from Acrobat Reader stating "this is not a supported format, or the file is damaged".
Any ideas on what could be wrong?
Kind regards,
AndréHi André,
What is the version for their Acrobat Reader?
Thanks,
Gordon -
CALL FUNCTION SEND ERROR when displaying attendance report in PDF format.
We implemented SSO/webgui. The users did not have any issues with printing reports from SAPGUI. In webgui, however, we had to define a Local PDF1 printer, per SAP Note 771683. When users prints this report, it is generating 1-5 CALL_FUNCTION_SEND_ERROR. We have Central Instance and 5 additional instances on 3 app servers. Sometimes it generates 1 dumps, sometimes 2, etc. The dump do not occurred on the instances you are logged into. The dump contains the following:
ShrtText
" " (I/O error)
What happened?
"CPIC-CALL: 'ThCMSEND'#connection closed#"
An error occurred when executing a Remote Function Call.
Error analysis
An error occurred when executing a Remote Function Call.
"CPIC-CALL: 'ThCMSEND'#connection closed#"
Status of connection.... "CODE=CM_DEALLOCATED_NORMAL CM_SEND_RECEIVED
CM_COMPLETE_DATA_RECEIVED SAPCODE=0 CONV=04892091"
Internal error code.... "RFC_IO5"
There is an error in the communication system. To clarify
and resolve the error, contact your system administrator.
Transaktion......... " "
Programm............ "SAPLSICM"
Dynpro.............. "SAPMSSY1 3004"
Dynprozeile......... 2
Informationen zum Aufrufer des Remote Function Calls (RFC):
System.............. "HRP"
Datenbank-Release... 640
Kernel-Release...... 640
Verbindungstyp...... 3 (2 = R/2, 3 = R/3, E = Extern, R = Reg. Extern)
Aufrufsart.......... "asynchron with reply (imode 0)" (S = Synchron, a/A =
Asynchron, T = Transakt. )
Mandant............. 600
Benutzer............ "CG1981"
Transaktion......... " (Program: SAPLSICM)"
Funktionsbaustein... "ICM_CACHE_UPLOAD"
Information on where terminated
The termination occurred in the ABAP program "SAPLSICM" in "ICM_CACHE_UPLOAD".
The main program was "SAPMSSY1 ".
The termination occurred in line 18 of the source code of the (Include)
program "LSICMV11"
of the source code of program "LSICMV11" (when calling the editor 180).
Source Code Extract
Line SourceCde
1 *******************************************************************
2 * THIS FILE IS GENERATED BY THE FUNCTION LIBRARY **
3 * NEVER CHANGE IT MANUALLY, PLEASE! **
4 *******************************************************************
5 FORM ICM_CACHE_UPLOAD %_RFC.
6 * Parameter declaration
7 DATA URL TYPE
8 ICMURL
9 .
10 DATA DATA TYPE
11 ICMDATA
12 .
13 DATA GLOBAL LIKE
14 SY-INDEX
15 .
16 * Assign default values
17 * Call remote function
>>>>> CALL FUNCTION 'ICM_CACHE_UPLOAD' %_RFC
19 EXPORTING
20 URL = URL
21 DATA = DATA
22 GLOBAL = GLOBAL
23 .
24 ENDFORM.
We are on ERP 2004, kernel level 156, and Basis SP18. I have Adobe Reader 8.
Our CI Service Port is 8009.
I have not seen any posting if there is a PDF limitation, e.g., width limitation, report contains rows highlighted in various colors.Dear Elaine,
check notes
<a href="https://service.sap.com/sap/support/notes/764734">764734</a>
<a href="https://service.sap.com/sap/support/notes/688372">688372</a>
or you might want to try to comment out line 118 of the function module
ICM_CACHE_UPLOAD which reads like this
PERFORMING RECEIVE_DATA_UPLOAD ON END OF TASK
If this does not solve the problem, give a detailed description on how to reproduce the dump and put that into an error message with SAP. It should go to BC-CST-IC.
Best Regards,
Tim
Maybe you are looking for
-
How do I move a calendar from iCloud back to a local calendar?
I've got a number of calendars that are stored in iCloud. Now I would like to make them local calendars again, i.e., make them appear in the category "ON MY MAC". How can I do that? (without loosing any dates) TIA, Gabriel.
-
Errors and slow performance copying lots of files between large hard drives
After upgrading to Snow Leopard, I have VERY slow file transfer speed with external eSATA drives. While trying to upgrade from a 1.5TB drive to a new 2TB drive, the copy took almost 24 hours and then failed on a large Fusion virtual OS file. So I rem
-
Differenciating between Balance Sheet and P&L Reports
Hi, From a SAP BI perspective, is it a right way to differenciate between Balance Sheet and P&L Reports based on Account Type ( IS- for P&L Reporting and BS- for balance sheet reporting). Thanks Rashmi.
-
I am unable to view videos, "you need to install Adobe Flash"
I downloaded the "Download the free Flash Player Now!" and the videos still aren't viewable, I have rebooted the computer, and it stays the same. It is Windows 7 Professional, if that matters... I need to fix this soon. Thanks, Shockwave flash object
-
Confusing problem with changing volume in alsa
hello, i searched the forum and google, but didn't find anyone that has the same problem as me. My sound generelly works, BUT the most time i can't change the volume because there is no PCM in amixer / alsamixer / gnome volume control. But after a wh