java.lang.IllegalArgumentException: Unsupported dataType: {"type":"struct","fields":[{"name":"src","type":"integer","nullable":true,"metadata":{}},{"name":"neighbours","type":{"type":"udt","class":"com.tencent.ieg.tgp.recommend.NodeDataType$","pyClass":null,"sqlType":{"type":"struct","fields":[{"name":"dst","type":"integer","nullable":true,"metadata":{}},{"name":"sim","type":"integer","nullable":true,"metadata":{}}]}},"nullable":true,"metadata":{}}]}, [1.1] failure: `TimestampType' expected but `{' found {"type":"struct","fields":[{"name":"src","type":"integer","nullable":true,"metadata":{}},{"name":"neighbours","type":{"type":"udt","class":"com.tencent.ieg.tgp.recommend.NodeDataType$","pyClass":null,"sqlType":{"type":"struct","fields":[{"name":"dst","type":"integer","nullable":true,"metadata":{}},{"name":"sim","type":"integer","nullable":true,"metadata":{}}]}},"nullable":true,"metadata":{}}]} ^

Stack Overflow | Tiancai Chen | 5 months ago
  1. 0

    error while using spark UserDefinedType

    Stack Overflow | 5 months ago | Tiancai Chen
    java.lang.IllegalArgumentException: Unsupported dataType: {"type":"struct","fields":[{"name":"src","type":"integer","nullable":true,"metadata":{}},{"name":"neighbours","type":{"type":"udt","class":"com.tencent.ieg.tgp.recommend.NodeDataType$","pyClass":null,"sqlType":{"type":"struct","fields":[{"name":"dst","type":"integer","nullable":true,"metadata":{}},{"name":"sim","type":"integer","nullable":true,"metadata":{}}]}},"nullable":true,"metadata":{}}]}, [1.1] failure: `TimestampType' expected but `{' found {"type":"struct","fields":[{"name":"src","type":"integer","nullable":true,"metadata":{}},{"name":"neighbours","type":{"type":"udt","class":"com.tencent.ieg.tgp.recommend.NodeDataType$","pyClass":null,"sqlType":{"type":"struct","fields":[{"name":"dst","type":"integer","nullable":true,"metadata":{}},{"name":"sim","type":"integer","nullable":true,"metadata":{}}]}},"nullable":true,"metadata":{}}]} ^
  2. 0

    Improve error message if "Create Excel spreadsheet" or "Create CSV file" is in append-mode to file without necesary fields

    GitHub | 2 years ago | kaspersorensen
    java.lang.IllegalArgumentException: No such column in table: ADDRESS_LINE_1, available columns are: [Column[name=FULL_ADDRESS,columnNumber=0,type=STRING,nullable=true,nativeType=null,columnSize=null], Column[name=UNIQUE_ID (lookup),columnNumber=1,type=STRING,nullable=true,nativeType=null,columnSize=null]]
  3. 0

    GitHub comment 3459#222901246

    GitHub | 6 months ago | lucas34
    java.lang.IllegalArgumentException: Must be integer type
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    We saw integration test failure for HDP 2.3 which runs HBase 1.1 Here is the stack trace from the failures {code} http://104.196.32.177:10000/v3/namespaces/default/streams build 22-Mar-2016 09:13:38 2016-03-22 09:13:38,245 - INFO [main:c.c.c.t.AudiTestBase$1@122] - Received response: [200] Response Body: [] build 22-Mar-2016 09:13:38 Tests run: 31, Failures: 0, Errors: 2, Skipped: 2, Time elapsed: 3,846.799 sec <<< FAILURE! - in co.cask.cdap.test.suite.HDP23Suite build 22-Mar-2016 09:13:38 testSearchUsingSystemMetadata(co.cask.cdap.apps.metadata.PurchaseMetadataTest) Time elapsed: 43.719 sec <<< ERROR! build 22-Mar-2016 09:13:38 java.io.IOException: 500: build 22-Mar-2016 09:13:38 at co.cask.cdap.client.util.RESTClient.execute(RESTClient.java:125) build 22-Mar-2016 09:13:38 at co.cask.cdap.client.util.RESTClient.execute(RESTClient.java:68) build 22-Mar-2016 09:13:38 at co.cask.cdap.client.MetadataClient.searchMetadata(MetadataClient.java:89) build 22-Mar-2016 09:13:38 at co.cask.cdap.apps.metadata.PurchaseMetadataTest.searchMetadata(PurchaseMetadataTest.java:603) build 22-Mar-2016 09:13:38 at co.cask.cdap.apps.metadata.PurchaseMetadataTest.assertArtifactSearch(PurchaseMetadataTest.java:342) build 22-Mar-2016 09:13:38 at co.cask.cdap.apps.metadata.PurchaseMetadataTest.testSearchUsingSystemMetadata(PurchaseMetadataTest.java:323) build 22-Mar-2016 09:13:38 build 22-Mar-2016 09:13:38 testLineage(co.cask.cdap.apps.metadata.PurchaseMetadataTest) Time elapsed: 275.41 sec <<< ERROR! build 22-Mar-2016 09:13:38 java.io.IOException: 500: Illegal Type system of metadata source. build 22-Mar-2016 09:13:38 at co.cask.cdap.client.util.RESTClient.execute(RESTClient.java:125) build 22-Mar-2016 09:13:38 at co.cask.cdap.client.util.RESTClient.execute(RESTClient.java:68) build 22-Mar-2016 09:13:38 at co.cask.cdap.client.MetadataClient.searchMetadata(MetadataClient.java:89) build 22-Mar-2016 09:13:38 at co.cask.cdap.apps.metadata.PurchaseMetadataTest.searchMetadata(PurchaseMetadataTest.java:603) build 22-Mar-2016 09:13:38 at co.cask.cdap.apps.metadata.PurchaseMetadataTest.testLineage(PurchaseMetadataTest.java:293) {code} After doing some digging it looks like the new changes which went in https://issues.cask.co/browse/CDAP-4274 introduced a FuzzyRowFilter which has some incopatibility issues on hbase 1.1 When we search for any search query (existing or non existing) we get a null pointer exception. Here is the stack trace: {code} 2016-03-23 01:54:16,658 - ERROR [netty-executor-488:c.g.c.b.Throwables@160] - Unexpected error: request=GET /v3/namespaces/default/metadata/search?q uery=mango user=cdapitn: java.lang.RuntimeException: co.cask.tephra.TransactionFailureException: Transaction function failure for transaction. at com.google.common.base.Throwables.propagate(Throwables.java:160) at co.cask.tephra.AbstractTransactionExecutor.executeUnchecked(AbstractTransactionExecutor.java:43) at co.cask.cdap.data2.metadata.store.DefaultMetadataStore.execute(DefaultMetadataStore.java:496) at co.cask.cdap.data2.metadata.store.DefaultMetadataStore.fetchMetadata(DefaultMetadataStore.java:410) at co.cask.cdap.data2.metadata.store.DefaultMetadataStore.searchMetadataOnType(DefaultMetadataStore.java:403) at co.cask.cdap.data2.metadata.store.DefaultMetadataStore.searchMetadata(DefaultMetadataStore.java:363) at co.cask.cdap.data2.metadata.store.DefaultMetadataStore.searchMetadata(DefaultMetadataStore.java:355) at co.cask.cdap.metadata.DefaultMetadataAdmin.searchMetadata(DefaultMetadataAdmin.java:151) at co.cask.cdap.metadata.MetadataHttpHandler.searchMetadata(MetadataHttpHandler.java:836) at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at co.cask.http.HttpMethodInfo.invoke(HttpMethodInfo.java:80) at co.cask.http.HttpDispatcher.messageReceived(HttpDispatcher.java:38) at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70) at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791) at org.jboss.netty.channel.SimpleChannelUpstreamHandler.messageReceived(SimpleChannelUpstreamHandler.java:124) at co.cask.cdap.common.http.AuthenticationChannelHandler.messageReceived(AuthenticationChannelHandler.java:64) at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70) at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791) at org.jboss.netty.handler.execution.ChannelUpstreamEventRunnable.doRun(ChannelUpstreamEventRunnable.java:43) at org.jboss.netty.handler.execution.ChannelEventRunnable.run(ChannelEventRunnable.java:67) at org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor$ChildExecutor.run(OrderedMemoryAwareThreadPoolExecutor.java:314) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) co.cask.tephra.TransactionFailureException: Transaction function failure for transaction. at co.cask.tephra.DefaultTransactionExecutor.executeOnce(DefaultTransactionExecutor.java:138) at co.cask.tephra.DefaultTransactionExecutor.executeWithRetry(DefaultTransactionExecutor.java:115) at co.cask.tephra.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:72) at co.cask.tephra.AbstractTransactionExecutor.executeUnchecked(AbstractTransactionExecutor.java:41) at co.cask.cdap.data2.metadata.store.DefaultMetadataStore.execute(DefaultMetadataStore.java:496) at co.cask.cdap.data2.metadata.store.DefaultMetadataStore.fetchMetadata(DefaultMetadataStore.java:410) at co.cask.cdap.data2.metadata.store.DefaultMetadataStore.searchMetadataOnType(DefaultMetadataStore.java:403) at co.cask.cdap.data2.metadata.store.DefaultMetadataStore.searchMetadata(DefaultMetadataStore.java:363) at co.cask.cdap.data2.metadata.store.DefaultMetadataStore.searchMetadata(DefaultMetadataStore.java:355) at co.cask.cdap.metadata.DefaultMetadataAdmin.searchMetadata(DefaultMetadataAdmin.java:151) at co.cask.cdap.metadata.MetadataHttpHandler.searchMetadata(MetadataHttpHandler.java:836) at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at co.cask.http.HttpMethodInfo.invoke(HttpMethodInfo.java:80) at co.cask.http.HttpDispatcher.messageReceived(HttpDispatcher.java:38) at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70) at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791) at org.jboss.netty.channel.SimpleChannelUpstreamHandler.messageReceived(SimpleChannelUpstreamHandler.java:124) at co.cask.cdap.common.http.AuthenticationChannelHandler.messageReceived(AuthenticationChannelHandler.java:64) at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70) at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791) at org.jboss.netty.handler.execution.ChannelUpstreamEventRunnable.doRun(ChannelUpstreamEventRunnable.java:43) at org.jboss.netty.handler.execution.ChannelEventRunnable.run(ChannelEventRunnable.java:67) at org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor$ChildExecutor.run(OrderedMemoryAwareThreadPoolExecutor.java:314) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) java.lang.IllegalArgumentException: null at java.util.PriorityQueue.<init>(PriorityQueue.java:152) at org.apache.hadoop.hbase.filter.FuzzyRowFilter$RowTracker.<init>(FuzzyRowFilter.java:182) at org.apache.hadoop.hbase.filter.FuzzyRowFilter.<init>(FuzzyRowFilter.java:92) at co.cask.cdap.data2.dataset2.lib.table.hbase.HBaseTable.setFilterIfNeeded(HBaseTable.java:305) at co.cask.cdap.data2.dataset2.lib.table.hbase.HBaseTable.scanPersisted(HBaseTable.java:286) at co.cask.cdap.data2.dataset2.lib.table.BufferingTable.scan(BufferingTable.java:655) at co.cask.cdap.api.dataset.lib.IndexedTable.scan(IndexedTable.java:548) at co.cask.cdap.data2.metadata.dataset.MetadataDataset.getMetadata(MetadataDataset.java:454) at co.cask.cdap.data2.metadata.store.DefaultMetadataStore$14.apply(DefaultMetadataStore.java:414) at co.cask.cdap.data2.metadata.store.DefaultMetadataStore$14.apply(DefaultMetadataStore.java:411) at co.cask.tephra.DefaultTransactionExecutor.executeOnce(DefaultTransactionExecutor.java:136) at co.cask.tephra.DefaultTransactionExecutor.executeWithRetry(DefaultTransactionExecutor.java:115) at co.cask.tephra.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:72) at co.cask.tephra.AbstractTransactionExecutor.executeUnchecked(AbstractTransactionExecutor.java:41) at co.cask.cdap.data2.metadata.store.DefaultMetadataStore.execute(DefaultMetadataStore.java:496) at co.cask.cdap.data2.metadata.store.DefaultMetadataStore.fetchMetadata(DefaultMetadataStore.java:410) at co.cask.cdap.data2.metadata.store.DefaultMetadataStore.searchMetadataOnType(DefaultMetadataStore.java:403) at co.cask.cdap.data2.metadata.store.DefaultMetadataStore.searchMetadata(DefaultMetadataStore.java:363) at co.cask.cdap.data2.metadata.store.DefaultMetadataStore.searchMetadata(DefaultMetadataStore.java:355) at co.cask.cdap.metadata.DefaultMetadataAdmin.searchMetadata(DefaultMetadataAdmin.java:151) at co.cask.cdap.metadata.MetadataHttpHandler.searchMetadata(MetadataHttpHandler.java:836) at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) 2016-03-23 02:50:16,712 - ERROR [netty-executor-13:c.g.c.b.Throwables@160] - Unexpected error: request=GET /v3/namespaces/default/metadata/search?qu ery=purchase* user=cdapitn: java.lang.RuntimeException: co.cask.tephra.TransactionFailureException: Transaction function failure for transaction. at com.google.common.base.Throwables.propagate(Throwables.java:160) at co.cask.tephra.AbstractTransactionExecutor.executeUnchecked(AbstractTransactionExecutor.java:43) at co.cask.cdap.data2.metadata.store.DefaultMetadataStore.execute(DefaultMetadataStore.java:496) at co.cask.cdap.data2.metadata.store.DefaultMetadataStore.fetchMetadata(DefaultMetadataStore.java:410) at co.cask.cdap.data2.metadata.store.DefaultMetadataStore.searchMetadataOnType(DefaultMetadataStore.java:403) at co.cask.cdap.data2.metadata.store.DefaultMetadataStore.searchMetadata(DefaultMetadataStore.java:363) at co.cask.cdap.data2.metadata.store.DefaultMetadataStore.searchMetadata(DefaultMetadataStore.java:355) at co.cask.cdap.metadata.DefaultMetadataAdmin.searchMetadata(DefaultMetadataAdmin.java:151) at co.cask.cdap.metadata.MetadataHttpHandler.searchMetadata(MetadataHttpHandler.java:836) 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 co.cask.http.HttpMethodInfo.invoke(HttpMethodInfo.java:80) at co.cask.http.HttpDispatcher.messageReceived(HttpDispatcher.java:38) at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70) at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791) at org.jboss.netty.channel.SimpleChannelUpstreamHandler.messageReceived(SimpleChannelUpstreamHandler.java:124) at co.cask.cdap.common.http.AuthenticationChannelHandler.messageReceived(AuthenticationChannelHandler.java:64) at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70) at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791) at org.jboss.netty.handler.execution.ChannelUpstreamEventRunnable.doRun(ChannelUpstreamEventRunnable.java:43) at org.jboss.netty.handler.execution.ChannelEventRunnable.run(ChannelEventRunnable.java:67) at org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor$ChildExecutor.run(OrderedMemoryAwareThreadPoolExecutor.java:314) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) {code} When we search with any search query with the * (prefix based search) we get this error: {code} java.lang.IllegalArgumentException: Illegal Type ns1 of metadata source. at co.cask.cdap.data2.metadata.dataset.KeyHelper.getTargetIdIdFromKey(KeyHelper.java:110) at co.cask.cdap.data2.metadata.dataset.MdsKey.getNamespacedIdFromKey(MdsKey.java:127) at co.cask.cdap.data2.metadata.dataset.MetadataDataset.convertRow(MetadataDataset.java:493) at co.cask.cdap.data2.metadata.dataset.MetadataDataset.getMetadata(MetadataDataset.java:463) at co.cask.cdap.data2.metadata.store.DefaultMetadataStore$14.apply(DefaultMetadataStore.java:414) at co.cask.cdap.data2.metadata.store.DefaultMetadataStore$14.apply(DefaultMetadataStore.java:411) at co.cask.tephra.DefaultTransactionExecutor.executeOnce(DefaultTransactionExecutor.java:136) at co.cask.tephra.DefaultTransactionExecutor.executeWithRetry(DefaultTransactionExecutor.java:115) at co.cask.tephra.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:72) at co.cask.tephra.AbstractTransactionExecutor.executeUnchecked(AbstractTransactionExecutor.java:41) at co.cask.cdap.data2.metadata.store.DefaultMetadataStore.execute(DefaultMetadataStore.java:496) at co.cask.cdap.data2.metadata.store.DefaultMetadataStore.fetchMetadata(DefaultMetadataStore.java:410) at co.cask.cdap.data2.metadata.store.DefaultMetadataStore.searchMetadataOnType(DefaultMetadataStore.java:403) at co.cask.cdap.data2.metadata.store.DefaultMetadataStore.searchMetadata(DefaultMetadataStore.java:363) at co.cask.cdap.data2.metadata.store.DefaultMetadataStore.searchMetadata(DefaultMetadataStore.java:355) at co.cask.cdap.metadata.DefaultMetadataAdmin.searchMetadata(DefaultMetadataAdmin.java:151) at co.cask.cdap.metadata.MetadataHttpHandler.searchMetadata(MetadataHttpHandler.java:836) 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 co.cask.http.HttpMethodInfo.invoke(HttpMethodInfo.java:80) at co.cask.http.HttpDispatcher.messageReceived(HttpDispatcher.java:38) at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70) at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791) at org.jboss.netty.channel.SimpleChannelUpstreamHandler.messageReceived(SimpleChannelUpstreamHandler.java:124) at co.cask.cdap.common.http.AuthenticationChannelHandler.messageReceived(AuthenticationChannelHandler.java:64) at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70) at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791) at org.jboss.netty.handler.execution.ChannelUpstreamEventRunnable.doRun(ChannelUpstreamEventRunnable.java:43) at org.jboss.netty.handler.execution.ChannelEventRunnable.run(ChannelEventRunnable.java:67) at org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor$ChildExecutor.run(OrderedMemoryAwareThreadPoolExecutor.java:314) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) {code}

    Cask Community Issue Tracker | 8 months ago | Rohit Sinha
    java.lang.IllegalArgumentException: Illegal Type ns1 of metadata source.
  6. 0

    To replicate: # create a simple project with at least one "leaf" entity, i.e. no references to other entities # scaffold the MVC layer in the normal way, e.g. using "{{web mvc all --package ~.web}}" # delete the above entity's {{.java}} file (e.g. {{Foo.java}} in the attached demo project) # the MVC addon throws this stack trace (instead of quietly adjusting the MVC layer): {code}[Spring Roo Process Manager Background Polling Thread] Deleted SRC_MAIN_JAVA/com/foo/bar/domain/Foo_Roo_ToString.aj [Spring Roo Process Manager Background Polling Thread] Deleted SRC_MAIN_JAVA/com/foo/bar/domain/Foo_Roo_Jpa_Entity.aj [Spring Roo Process Manager Background Polling Thread] Deleted SRC_MAIN_JAVA/com/foo/bar/domain/Foo_Roo_Entity.aj [Spring Roo Process Manager Background Polling Thread] Deleted SRC_MAIN_JAVA/com/foo/bar/domain/Foo_Roo_Configurable.aj [Spring Roo Process Manager Background Polling Thread] Unable to obtain physical type metadata for type com.foo.bar.domain.Foo java.lang.IllegalArgumentException: Unable to obtain physical type metadata for type com.foo.bar.domain.Foo at org.springframework.roo.support.util.Assert.notNull(Assert.java:112) at org.springframework.roo.addon.web.mvc.controller.scaffold.finder.WebFinderMetadataProviderImpl.getMetadata(WebFinderMetadataProviderImpl.java:59) at org.springframework.roo.classpath.itd.AbstractItdMetadataProvider.get(AbstractItdMetadataProvider.java:318) at org.springframework.roo.metadata.DefaultMetadataService.getInternal(DefaultMetadataService.java:147) at org.springframework.roo.metadata.DefaultMetadataService.get(DefaultMetadataService.java:81) at org.springframework.roo.classpath.itd.AbstractItdMetadataProvider.notify(AbstractItdMetadataProvider.java:149) at org.springframework.roo.metadata.DefaultMetadataService.notify(DefaultMetadataService.java:236) at org.springframework.roo.metadata.internal.DefaultMetadataDependencyRegistry.notifyDownstream(DefaultMetadataDependencyRegistry.java:191) at org.springframework.roo.classpath.javaparser.JavaParserMetadataProvider.onFileEvent(JavaParserMetadataProvider.java:131) at org.springframework.roo.file.monitor.polling.PollingFileMonitorService.publish(PollingFileMonitorService.java:330) at org.springframework.roo.file.monitor.polling.PollingFileMonitorService.scanAll(PollingFileMonitorService.java:304) at org.springframework.roo.process.manager.internal.DefaultProcessManager.doTransactionally(DefaultProcessManager.java:178) at org.springframework.roo.process.manager.internal.DefaultProcessManager.backgroundPoll(DefaultProcessManager.java:125) at org.springframework.roo.process.manager.internal.DefaultProcessManager.timerBasedPoll(DefaultProcessManager.java:240) at org.springframework.roo.process.manager.internal.DefaultProcessManager$2.run(DefaultProcessManager.java:68) at java.lang.Thread.run(Thread.java:680){code}

    Spring JIRA | 5 years ago | Andrew Swan
    java.lang.IllegalArgumentException: Unable to obtain physical type metadata for type com.foo.bar.domain.Foo

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Unsupported dataType: {"type":"struct","fields":[{"name":"src","type":"integer","nullable":true,"metadata":{}},{"name":"neighbours","type":{"type":"udt","class":"com.tencent.ieg.tgp.recommend.NodeDataType$","pyClass":null,"sqlType":{"type":"struct","fields":[{"name":"dst","type":"integer","nullable":true,"metadata":{}},{"name":"sim","type":"integer","nullable":true,"metadata":{}}]}},"nullable":true,"metadata":{}}]}, [1.1] failure: `TimestampType' expected but `{' found {"type":"struct","fields":[{"name":"src","type":"integer","nullable":true,"metadata":{}},{"name":"neighbours","type":{"type":"udt","class":"com.tencent.ieg.tgp.recommend.NodeDataType$","pyClass":null,"sqlType":{"type":"struct","fields":[{"name":"dst","type":"integer","nullable":true,"metadata":{}},{"name":"sim","type":"integer","nullable":true,"metadata":{}}]}},"nullable":true,"metadata":{}}]} ^

      at org.apache.spark.sql.types.DataType$CaseClassStringParser$.apply()
    2. org.apache.spark
      ParquetTypesConverter$$anonfun$3.apply
      1. org.apache.spark.sql.types.DataType$CaseClassStringParser$.apply(DataType.scala:245)
      2. org.apache.spark.sql.types.DataType$.fromCaseClassString(DataType.scala:102)
      3. org.apache.spark.sql.execution.datasources.parquet.ParquetTypesConverter$$anonfun$3.apply(ParquetTypesConverter.scala:62)
      4. org.apache.spark.sql.execution.datasources.parquet.ParquetTypesConverter$$anonfun$3.apply(ParquetTypesConverter.scala:62)
      4 frames
    3. Scala
      Try.getOrElse
      1. scala.util.Try.getOrElse(Try.scala:77)
      1 frame
    4. org.apache.spark
      RowWriteSupport.init
      1. org.apache.spark.sql.execution.datasources.parquet.ParquetTypesConverter$.convertFromString(ParquetTypesConverter.scala:62)
      2. org.apache.spark.sql.execution.datasources.parquet.RowWriteSupport.init(ParquetTableSupport.scala:51)
      2 frames
    5. org.apache.parquet
      ParquetOutputFormat.getRecordWriter
      1. org.apache.parquet.hadoop.ParquetOutputFormat.getRecordWriter(ParquetOutputFormat.java:288)
      2. org.apache.parquet.hadoop.ParquetOutputFormat.getRecordWriter(ParquetOutputFormat.java:262)
      2 frames
    6. org.apache.spark
      InsertIntoHadoopFsRelation$$anonfun$run$1$$anonfun$apply$mcV$sp$3.apply
      1. org.apache.spark.sql.execution.datasources.parquet.ParquetOutputWriter.<init>(ParquetRelation.scala:94)
      2. org.apache.spark.sql.execution.datasources.parquet.ParquetRelation$$anon$3.newInstance(ParquetRelation.scala:272)
      3. org.apache.spark.sql.execution.datasources.DefaultWriterContainer.writeRows(WriterContainer.scala:233)
      4. org.apache.spark.sql.execution.datasources.InsertIntoHadoopFsRelation$$anonfun$run$1$$anonfun$apply$mcV$sp$3.apply(InsertIntoHadoopFsRelation.scala:150)
      5. org.apache.spark.sql.execution.datasources.InsertIntoHadoopFsRelation$$anonfun$run$1$$anonfun$apply$mcV$sp$3.apply(InsertIntoHadoopFsRelation.scala:150)
      5 frames
    7. Spark
      Executor$TaskRunner.run
      1. org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:66)
      2. org.apache.spark.scheduler.Task.run(Task.scala:88)
      3. org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:214)
      3 frames
    8. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames