Uploaded image for project: 'Talend DI components'
  1. Talend DI components
  2. TDI-32188

tFileInputFullRow can't be work with reject line.

Apply templateInsert Lucidchart Diagram
    XMLWordPrintable

Details

    • Bug
    • Status: closed
    • Major
    • Resolution: Fixed
    • None
    • 6.0.0
    • Components
    • None
    • All

    Description

      When tFileInputFullRow links out reject line with a tLogRow/tFileOutputDelimited/....,then we click the schema button or "Sync columns" button, we got NPE exception:

      java.lang.NullPointerException
      at org.talend.designer.core.ui.editor.properties.controllers.SchemaTypeController.createButtonCommand(SchemaTypeController.java:649)
      at org.talend.designer.core.ui.editor.properties.controllers.AbstractRepositoryController.createCommand(AbstractRepositoryController.java:295)
      at org.talend.designer.core.ui.editor.properties.controllers.AbstractRepositoryController.access$0(AbstractRepositoryController.java:293)
      at org.talend.designer.core.ui.editor.properties.controllers.AbstractRepositoryController$1.widgetSelected(AbstractRepositoryController.java:256)
      at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234)
      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
      at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
      at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
      at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
      at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
      at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
      at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
      at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
      at org.talend.rcp.intro.Application.start(Application.java:167)
      at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
      at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
      at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
      
      

      It seems a component bug. Check the xml configuraion of tFiltInputFullRow. Reject Schema configuration is missing.

      <PARAMETER NAME="SCHEMA_REJECT" FIELD="SCHEMA_TYPE"
          REQUIRED="true" NUM_ROW="60" CONTEXT="REJECT "SHOW="true">
          <TABLE READONLY="true">
              <COLUMN NAME="errorCode" TYPE="id_String" LENGTH="255" READONLY="false" CUSTOM="true" />
              <COLUMN NAME="errorMessage" TYPE="id_String"
      LENGTH="255" READONLY="false" CUSTOM="true" />
          </TABLE>
      </PARAMETER>
      

      This need for detailed checking. Make reject line works or delete reject line in tFileInputFullRow

      Attachments

        Activity

          People

            pteyssier pierre teyssier
            zhao_jin Zhao Jin
            Wei Wang
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1 day
                1d
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day
                1d