Hitachi Vantara Pentaho Community Forums
Results 1 to 7 of 7

Thread: problem opening webserviceslookup step

  1. #1
    Join Date
    Jan 2006
    Posts
    313

    Default problem opening webserviceslookup step

    Matt,

    Thanks for adding the webservices step back in.

    It works for my webservices. When i save the transformation in a file and reopen it, I have no problem.
    When i save the transformation in the repository and reopen it, i get the following error: java.lang.IllegalArgumentException: Argument cannot be null
    This behaviour is in 3.01 and 3.1.0-M1. Has anyone seen this before?

    Code:
    java.lang.IllegalArgumentException: Argument cannot be null
     at org.eclipse.swt.SWT.error(Unknown Source)
     at org.eclipse.swt.SWT.error(Unknown Source)
     at org.eclipse.swt.SWT.error(Unknown Source)
     at org.eclipse.swt.widgets.Widget.error(Unknown Source)
     at org.eclipse.swt.widgets.TableItem.setText(Unknown Source)
     at org.pentaho.di.ui.trans.steps.webservices.WebServiceDialog.load(WebServiceDialog.java:705)
     at org.pentaho.di.ui.trans.steps.webservices.WebServiceDialog.open(WebServiceDialog.java:1207)
     at org.pentaho.di.ui.spoon.delegates.SpoonStepsDelegate.editStep(SpoonStepsDelegate.java:124)
     at org.pentaho.di.ui.spoon.Spoon.editStep(Spoon.java:6391)
     at org.pentaho.di.ui.spoon.trans.TransGraph.editStep(TransGraph.java:2153)
     at org.pentaho.di.ui.spoon.trans.TransGraph.access$2(TransGraph.java:2151)
     at org.pentaho.di.ui.spoon.trans.TransGraph$4.mouseDoubleClick(TransGraph.java:312)
     at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
     at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
     at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
     at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
     at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
     at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:849)
     at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:5597)
     at org.pentaho.di.ui.spoon.Spoon.run(Spoon.java:5693)
     at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:379)
    I also have upgraded the 1.6.2.GA release to use PDI 3.0. When i run the same transformation there i get a java.lang.NoClassDefFoundError. Are these error related?

    Code:
    FailedError: Kettle.ERROR_0011 - Could not prepare transformation for execution - java.lang.NoClassDefFoundError: com/ctc/wstx/exc/WstxParsingException (org.pentaho.plugin.kettle.KettleComponent)Debug: Starting execute of cmc/IT/wms/GenerateReplenishmentList.xaction (org.pentaho.core.solution.SolutionEngine)
    Debug: Getting runtime context and data (org.pentaho.core.solution.SolutionEngine)
    Debug: Loading action sequence definition file (org.pentaho.core.solution.SolutionEngine)
    Debug: audit: instanceId=6c60ef1e-c2a0-11dc-8444-29c1cd9da4d0, objectId=org.pentaho.core.runtime.RuntimeContext, messageType=action_sequence_start (org.pentaho.core.runtime.RuntimeContext)
    Debug: validateComponent validating component KettleComponent (org.pentaho.core.runtime.RuntimeContext)
    Debug: Validating component for action GenerateReplenishmentList.xaction (org.pentaho.plugin.kettle.KettleComponent)
    Debug: Executing action sequence (org.pentaho.core.runtime.RuntimeContext)
    Debug: Executing action definition: Iteration 0 (org.pentaho.core.runtime.RuntimeContext)
    Debug: audit: instanceId=6c60ef1e-c2a0-11dc-8444-29c1cd9da4d0, objectId=KettleComponent, messageType=component_execution_started (org.pentaho.core.runtime.RuntimeContext)
    Debug: execute pre-audit (org.pentaho.core.runtime.RuntimeContext)
    Debug: Setting component log level to DEBUG (org.pentaho.core.runtime.RuntimeContext)
    Debug: Initializing component (org.pentaho.core.runtime.RuntimeContext)
    Debug: executeComponent starting audited execute (org.pentaho.core.runtime.RuntimeContext)
    Debug: execute validation=true (org.pentaho.plugin.kettle.KettleComponent)
    Debug: Start of execute (org.pentaho.plugin.kettle.KettleComponent)
    Debug: creating meta-repository (org.pentaho.plugin.kettle.KettleComponent)
    Debug: populating meta-repository (org.pentaho.plugin.kettle.KettleComponent)
    Debug: Finding repository metadata (org.pentaho.plugin.kettle.KettleComponent)
    Debug: Getting repository instance (org.pentaho.plugin.kettle.KettleComponent)
    Debug: Connecting to repository (org.pentaho.plugin.kettle.KettleComponent)
    Debug: Finding directory (org.pentaho.plugin.kettle.KettleComponent)
    Debug: Directory=wms (org.pentaho.plugin.kettle.KettleComponent)
    Debug: Transformation=GenerateReplenishmentList (org.pentaho.plugin.kettle.KettleComponent)
    Debug: Finding directory (org.pentaho.plugin.kettle.KettleComponent)
    Debug: Finding transformation metadata (org.pentaho.plugin.kettle.KettleComponent)
    Debug: Preparing transformation (org.pentaho.plugin.kettle.KettleComponent)
    Error: Kettle.ERROR_0011 - Could not prepare transformation for execution - java.lang.NoClassDefFoundError: com/ctc/wstx/exc/WstxParsingException (org.pentaho.plugin.kettle.KettleComponent)
    Error: 2008/01/14 13:58:38 - Error Start: Pentaho Pentaho BI Platform 1.6.2.GA.951 (class) 2008/01/14 13:58:38 - 6c60ef1e-c2a0-11dc-8444-29c1cd9da4d0:COMPONENT:context-10620555-1200315518312:GenerateReplenishmentList.xactionKettle.ERROR_0011 - Could not prepare transformation for execution 2008/01/14 13:58:38 - Error end: (org.pentaho.plugin.kettle.KettleComponent)
    Debug: Disconnecting (org.pentaho.plugin.kettle.KettleComponent)
    Debug: executeComponent finished audited execute (org.pentaho.core.runtime.RuntimeContext)
    Error: RuntimeContext.ERROR_0012 - ActionDefinition for KettleComponent did not execute successfully (org.pentaho.core.runtime.RuntimeContext)
    Debug: audit: instanceId=6c60ef1e-c2a0-11dc-8444-29c1cd9da4d0, objectId=org.pentaho.core.runtime.RuntimeContext, messageType=action_sequence_failed (org.pentaho.core.runtime.RuntimeContext)
    Error: SolutionEngine.ERROR_0007 - Action sequence execution failed (org.pentaho.core.solution.SolutionEngine)
    
    
      Server Version: Pentaho BI Platform 1.6.2.GA.951 (class)

  2. #2
    Join Date
    Jan 2006
    Posts
    313

    Default step save problem

    This is a step save problem. The fields wsInFieldArgument and wsInFieldContainer are both set to null, when saving. This causes the read operation to ignore the input parameters.

  3. #3
    Join Date
    May 2006
    Posts
    4,882

    Default

    Raise a bugtracker please.

    Regards,
    Sven

  4. #4
    Join Date
    May 2006
    Posts
    4,882

    Default

    Fixed in v3.0.2 and v3.1. While loading from the repository the fields would overwrite each other, leading to the 2 empty fields.

    Regards,
    Sven

  5. #5
    Join Date
    Nov 1999
    Posts
    9,729

    Default

    FYI Gunter, I also implemented PDI-656 in 3.1.0-M1.

  6. #6
    Join Date
    Jan 2006
    Posts
    313

    Default Fixes 1st problem

    Sven, Matt thanks for building the fixes so quick.

    Apparently the second problem is not related to the fixed.

    I found a syntax error in the xaction, but after fixing that one, i get this error in the jboss log, while the browser display's "Action successfull"
    Code:
    
    2008-01-14 17:49:25,781 INFO [STDOUT] 17:49:25,781 ERROR [Thread[GenerateReplenishmentList (GenerateReplenishmentList (Thread-39)),5,jboss]] Thread[GenerateReplenishmentList (GenerateReplenishmentList (Thread-39)),5,jboss] - java.lang.NoClassDefFoundError: com/ctc/wstx/exc/WstxParsingException
    at org.pentaho.di.trans.steps.webservices.WebServiceMeta.getStep(WebServiceMeta.java:363)
    at org.pentaho.di.trans.Trans.prepareExecution(Trans.java:387)
    at org.pentaho.di.trans.Trans.execute(Trans.java:207)
    at org.pentaho.di.job.entries.trans.JobEntryTrans.execute(JobEntryTrans.java:642)
    at org.pentaho.di.job.Job.execute(Job.java:331)
    at org.pentaho.di.job.Job.execute(Job.java:389)
    at org.pentaho.di.job.Job.execute(Job.java:257)
    at org.pentaho.di.job.Job.run(Job.java:208)
    2008-01-14 17:49:25,781 INFO [STDOUT] 17:49:25,781 ERROR [Thread[GenerateReplenishmentList (GenerateReplenishmentList (Thread-39)),5,jboss]] Thread[GenerateReplenishmentList (GenerateReplenishmentList (Thread-39)),5,jboss] - A serious error occurred during job execution: 
    Unexpected error occurred while launching entry [GenerateReplenishmentList.0]
    com/ctc/wstx/exc/WstxParsingException
    2008-01-14 17:49:25,781 INFO [STDOUT] 17:49:25,781 ERROR [Thread[GenerateReplenishmentList (GenerateReplenishmentList (Thread-39)),5,jboss]] Thread[GenerateReplenishmentList (GenerateReplenishmentList (Thread-39)),5,jboss] - org.pentaho.di.core.exception.KettleException: 
    Unexpected error occurred while launching entry [GenerateReplenishmentList.0]
    com/ctc/wstx/exc/WstxParsingException
    at org.pentaho.di.job.Job.execute(Job.java:394)
    at org.pentaho.di.job.Job.execute(Job.java:257)
    at org.pentaho.di.job.Job.run(Job.java:208)
    Caused by: java.lang.NoClassDefFoundError: com/ctc/wstx/exc/WstxParsingException
    at org.pentaho.di.trans.steps.webservices.WebServiceMeta.getStep(WebServiceMeta.java:363)
    at org.pentaho.di.trans.Trans.prepareExecution(Trans.java:387)
    at org.pentaho.di.trans.Trans.execute(Trans.java:207)
    at org.pentaho.di.job.entries.trans.JobEntryTrans.execute(JobEntryTrans.java:642)
    at org.pentaho.di.job.Job.execute(Job.java:331)
    at org.pentaho.di.job.Job.execute(Job.java:389)
    ... 2 more
    
    After having removed the kettle-2.5.1a.jar file i get this error when starting the pentaho server. This looks to me that i also have to upgrade the CWM jar files. But what version will remain compatible with the UI in Pentaho 1.6.2GA?
    Code:
    2008-01-15 09:51:18,953 ERROR [STDERR] java.lang.NoClassDefFoundError: be/ibridge/kettle/core/LogWriter
    2008-01-15 09:51:18,953 ERROR [STDERR]  at org.pentaho.pms.core.CWM.<clinit>(CWM.java:100)
    2008-01-15 09:51:18,953 ERROR [STDERR]  at org.pentaho.plugin.mql.PMDSystemListener.startup(Unknown Source)
    2008-01-15 09:51:18,953 ERROR [STDERR]  at org.pentaho.core.system.PentahoSystem.createSystemListeners(Unknown Source)
    2008-01-15 09:51:18,953 ERROR [STDERR]  at org.pentaho.core.system.PentahoSystem.init(Unknown Source)
    2008-01-15 09:51:18,953 ERROR [STDERR]  at org.pentaho.core.system.PentahoSystem.init(Unknown Source)
    2008-01-15 09:51:18,953 ERROR [STDERR]  at org.pentaho.core.system.SolutionContextListener.contextInitialized(Unknown Source)
    2008-01-15 09:51:18,953 ERROR [STDERR]  at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3854)
    2008-01-15 09:51:18,953 ERROR [STDERR]  at org.apache.catalina.core.StandardContext.start(StandardContext.java:4359)
    2008-01-15 09:51:18,953 ERROR [STDERR]  at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761)
    2008-01-15 09:51:18,953 ERROR [STDERR]  at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)
    2008-01-15 09:51:18,953 ERROR [STDERR]  at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
    2008-01-15 09:51:18,953 ERROR [STDERR]  at sun.reflect.GeneratedMethodAccessor242.invoke(Unknown Source)

  7. #7
    Join Date
    Jan 2006
    Posts
    313

    Default solution found

    wstx-asl-3.2.0.jar was missing.
    kettle-2.5.1a.jar should not be removed.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.