{"action":"created","issue":{"url":"https://api.github.com/repos/datacleaner/DataCleaner/issues/742","labels_url":"https://api.github.com/repos/datacleaner/DataCleaner/issues/742/labels{/name}","comments_url":"https://api.github.com/repos/datacleaner/DataCleaner/issues/742/comments","events_url":"https://api.github.com/repos/datacleaner/DataCleaner/issues/742/events","html_url":"https://github.com/datacleaner/DataCleaner/issues/742","id":110212885,"number":742,"title":"\"Execute without Analyzers\" window exceptionS","user":{"login":"ClaudiaPHI","id":6339923,"avatar_url":"https://avatars.githubusercontent.com/u/6339923?v=3","gravatar_id":"","url":"https://api.github.com/users/ClaudiaPHI","html_url":"https://github.com/ClaudiaPHI","followers_url":"https://api.github.com/users/ClaudiaPHI/followers","following_url":"https://api.github.com/users/ClaudiaPHI/following{/other_user}","gists_url":"https://api.github.com/users/ClaudiaPHI/gists{/gist_id}","starred_url":"https://api.github.com/users/ClaudiaPHI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ClaudiaPHI/subscriptions","organizations_url":"https://api.github.com/users/ClaudiaPHI/orgs","repos_url":"https://api.github.com/users/ClaudiaPHI/repos","events_url":"https://api.github.com/users/ClaudiaPHI/events{/privacy}","received_events_url":"https://api.github.com/users/ClaudiaPHI/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-07T12:15:08Z","updated_at":"2015-10-07T12:57:26Z","closed_at":null,"body":"Scenario: \r\n\r\n1. Start a job with orderDB as datastore \r\n2. Add on canvas Customers and Employees table \r\n3. Add a \"Union \" and select all column \r\n4. Press Execute button \r\n5. \"Execute without analyzers\" window appears. \r\n\r\n<b> Exception 1 </b>\r\n6.  Select \"Write to CSV\" \r\n The following exception occurs: \r\n\r\n```\r\n\r\nUnexpected error!\r\n \r\n\r\nMessage:\r\n    java.lang.IllegalArgumentException: Invalid value type: java.io.File, expected: org.apache.metamodel.util.Resource\r\nLevel:\r\n    SEVERE\r\nStack Trace:\r\nInvalid value type: java.io.File, expected: org.apache.metamodel.util.Resource\r\n    org.datacleaner.job.builder.AbstractComponentBuilder.setConfiguredPropertyIfChanged(AbstractComponentBuilder.java:350)\r\n    org.datacleaner.job.builder.AbstractComponentBuilder.setConfiguredProperty(AbstractComponentBuilder.java:292)\r\n    org.datacleaner.job.builder.AnalyzerComponentBuilder.setConfiguredProperty(AnalyzerComponentBuilder.java:326)\r\n    org.datacleaner.job.builder.AnalyzerComponentBuilder.setConfiguredProperty(AnalyzerComponentBuilder.java:58)\r\n    org.datacleaner.job.builder.AbstractComponentBuilder.setConfiguredProperty(AbstractComponentBuilder.java:287)\r\n    org.datacleaner.panels.ExecuteJobWithoutAnalyzersDialog$2.actionPerformed(ExecuteJobWithoutAnalyzersDialog.java:150)\r\n    javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)\r\n    javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)\r\n```\r\n![screen shot 2015-10-07 at 2 12 32 pm](https://cloud.githubusercontent.com/assets/6339923/10337098/cde2905e-6cfd-11e5-9bfb-252d20f0996a.png)\r\n\r\n<b>Exception 2</b>\r\n \r\n7. Choose \"Write an Excel spreadsheet\" \r\n\r\nThe following error: \r\n\r\n```\r\nComponent has input columns from multiple tables: ImmutableAnalyzerJob[name=null,analyzer=Create Excel spreadsheet]\r\n\r\njava.lang.IllegalStateException: Component has input columns from multiple tables: ImmutableAnalyzerJob[name=null,analyzer=Create Excel spreadsheet]\r\n\tat org.datacleaner.job.runner.RowProcessingPublishers.getTables(RowProcessingPublishers.java:219)\r\n\tat org.datacleaner.job.runner.RowProcessingPublishers.registerRowProcessingPublishers(RowProcessingPublishers.java:233)\r\n\tat org.datacleaner.job.runner.RowProcessingPublishers.registerJob(RowProcessingPublishers.java:143)\r\n\tat org.datacleaner.job.runner.RowProcessingPublishers.registerAll(RowProcessingPublishers.java:126)\r\n\tat org.datacleaner.job.runner.RowProcessingPublishers.<init>(RowProcessingPublishers.java:122)\r\n\tat org.datacleaner.job.runner.AnalysisRunnerJobDelegate.run(AnalysisRunnerJobDelegate.java:103)\r\n\tat org.datacleaner.job.runner.AnalysisRunnerImpl.run(AnalysisRunnerImpl.java:90)\r\n\tat org.datacleaner.util.AnalysisRunnerSwingWorker.doInBackground(AnalysisRunnerSwingWorker.java:57)\r\n\tat org.datacleaner.util.AnalysisRunnerSwingWorker.doInBackground(AnalysisRunnerSwingWorker.java:38)\r\n\tat javax.swing.SwingWorker$1.call(SwingWorker.java:295)\r\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:266)\r\n\tat javax.swing.SwingWorker.run(SwingWorker.java:334)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\n```\r\nEverything works fine if we include in the job  \"write an Excel spreadsheet\" writer in the first place. \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/datacleaner/DataCleaner/issues/comments/146189049","html_url":"https://github.com/datacleaner/DataCleaner/issues/742#issuecomment-146189049","issue_url":"https://api.github.com/repos/datacleaner/DataCleaner/issues/742","id":146189049,"user":{"login":"kaspersorensen","id":291450,"avatar_url":"https://avatars.githubusercontent.com/u/291450?v=3","gravatar_id":"","url":"https://api.github.com/users/kaspersorensen","html_url":"https://github.com/kaspersorensen","followers_url":"https://api.github.com/users/kaspersorensen/followers","following_url":"https://api.github.com/users/kaspersorensen/following{/other_user}","gists_url":"https://api.github.com/users/kaspersorensen/gists{/gist_id}","starred_url":"https://api.github.com/users/kaspersorensen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaspersorensen/subscriptions","organizations_url":"https://api.github.com/users/kaspersorensen/orgs","repos_url":"https://api.github.com/users/kaspersorensen/repos","events_url":"https://api.github.com/users/kaspersorensen/events{/privacy}","received_events_url":"https://api.github.com/users/kaspersorensen/received_events","type":"User","site_admin":false},"created_at":"2015-10-07T12:57:26Z","updated_at":"2015-10-07T12:57:26Z","body":"nice catch ... I imagine this will happen regardless of the union component actually. It seems that our \"execute without analyzers\" action needs to be updated to use FileResource instead of File"}}