This discussion is archived
6 Replies Latest reply: Oct 1, 2013 4:16 AM by DaSchos RSS

IBR conversion issue

Bunty Journeyer
Currently Being Moderated
any idea on how to fix the following conversion issue...

Writing to printer Unable to convert. Native application reported: 'Object variable or With block variable not set.' Finished MSOffice step
Exception type is 'java.lang.Throwable'. [ Details ]

An error has occurred. The stack trace below shows more information.

!csLogJobIdPrefix,30!csLinefeed!csNativeWritingToPrinter!csNativeGeneralError,Object variable or With block variable not set.!csFinishedNativeStep,MSOffice!csLinefeed!syExceptionType,java.lang.Throwable
java.lang.Throwable
     at docrefinery.data.StepResult.getErrorException(StepResult.java:481)
     at docrefinery.convert.StepHandler.executeStepByName(StepHandler.java:178)
     at docrefinery.convert.ConversionDriver.processSteps(ConversionDriver.java:291)
     at docrefinery.convert.ConversionDriver.convertDocument(ConversionDriver.java:171)
     at docrefinery.convert.ConversionDriver.processSubConversion(ConversionDriver.java:197)
     at docrefinery.convert.StepHandler.executeStepByName(StepHandler.java:153)
     at docrefinery.convert.ConversionDriver.processSteps(ConversionDriver.java:291)
     at docrefinery.convert.ConversionDriver.convertDocument(ConversionDriver.java:171)
     at docrefinery.convert.ConversionDriver.processSubConversion(ConversionDriver.java:197)
     at docrefinery.convert.StepHandler.executeStepByName(StepHandler.java:153)
     at docrefinery.convert.ConversionDriver.processSteps(ConversionDriver.java:291)
     at docrefinery.convert.ConversionDriver.convertDocument(ConversionDriver.java:171)
     at docrefinery.queue.PreConvertedRefineryQueueMonitor.convertJob(PreConvertedRefineryQueueMonitor.java:348)
     at docrefinery.queue.PreConvertedRefineryQueueMonitor$2.run(PreConvertedRefineryQueueMonitor.java:278)
     at java.lang.Thread.run(Thread.java:662)


11g on windows 2008.
  • 1. Re: IBR conversion issue
    Srinath Menon Guru
    Currently Being Moderated
    Hi ,

    I think you have started as Windows service and this is a 11g IBR server .

    This is not the refinery's or Weblogic's fault. It's an issue with the operating system. Windows 2008 does not allow a service access to the print services. Conversions that utilize the native Office applications require access to the printer. Since the OS does not allow access to the printer, the conversions will not work.

    You will have to start IBR from command line and then input the documents for successful conversion .

    Hope this helps .

    Thanks,
    Srinath
  • 2. Re: IBR conversion issue
    Bunty Journeyer
    Currently Being Moderated
    Srinath,
    I started IBR using node manager and now I am getting the following error...

    Log entry for conversion job '44':
    Step MSOfficeToPostscript forced conversion failure by conversion engine because of error: Unable to convert. Native application reported: 'Object variable or With block variable not set.' Exception type is 'java.lang.Throwable'. [ Details ]

    An error has occurred. The stack trace below shows more information.

    !csLogJobIdPrefix,44!csLinefeed!csConversionForceFailureByStep,MSOfficeToPostscript,\!csNativeGeneralError\,Object variable or With block variable not set.!csNativeGeneralError,Object variable or With block variable not set.!syExceptionType,java.lang.Throwable
    java.lang.Throwable
         at docrefinery.data.StepResult.getErrorException(StepResult.java:481)
         at docrefinery.convert.ConversionDriver.analizeStepResults(ConversionDriver.java:555)
         at docrefinery.convert.ConversionDriver.finishConversion(ConversionDriver.java:745)
         at docrefinery.convert.ConversionDriver.convertDocument(ConversionDriver.java:184)
         at docrefinery.queue.PreConvertedRefineryQueueMonitor.convertJob(PreConvertedRefineryQueueMonitor.java:348)
         at docrefinery.queue.PreConvertedRefineryQueueMonitor$2.run(PreConvertedRefineryQueueMonitor.java:278)
         at java.lang.Thread.run(Thread.java:662)
  • 3. Re: IBR conversion issue
    Srinath Menon Guru
    Currently Being Moderated
    Hi Bunty ,

    Is Node Manager running as Windows Service ? I assume that to be the case and that too creates this issue .

    This is due to an OS "limitation;" the win2008 OS does not allow a service access to the print services. Conversion that utilize the native apps require access to the printer. Since the OS does not allow access to the printer, this conversion will not work.

    Start Node Manager from command line of Windows and then start IBR server , submit contents and see if conversion works fine .

    Thanks,
    Srinath
  • 4. Re: IBR conversion issue
    Bunty Journeyer
    Currently Being Moderated
    yeah, that was the case. But in our dev and prod environments, NodeManager and Admin server are running as windows service (on widows server 2008) and there are no conversion issues .
    Trying to figure out the differences in dev and new environment and if successful, will udpate it here for others.
  • 5. Re: IBR conversion issue
    Srinath Menon Guru
    Currently Being Moderated
    Hi Bunty ,

    The aspects which can create this issue is bit version of the OS where it is deployed / running , user which has installed the managedservers and the user permission that is running the services . Check if the services are running with LocalAccount permission on the working envt or not .

    Thanks,
    Srinath
  • 6. Re: IBR conversion issue
    DaSchos Newbie
    Currently Being Moderated

    Hi Bunty,

    have you been able to fix this issue? I'm facing the same right now...

    Cheers

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points