NPE loading a google spreadsheet
m.ardito Sep 6, 2016 10:46 AMHi,
I am experimenting google spreadsheet datasource since long, mostly they work, but sometime still have troubles, because loading I get n error like:
16:41:11,345 WARN [org.teiid.RUNTIME] (Worker6_async-teiid-threads7) TEIID50036 VDB Gforms_ss_edp.1 model "RisposteModel" metadata failed to load. Reason:java.lang.NullPointerException: java.lang.NullPointerException
at org.teiid.metadata.MetadataFactory.addColumn(MetadataFactory.java:242)
at org.teiid.translator.google.GoogleMetadataProcessor.addColumnsToTable(GoogleMetadataProcessor.java:98)
at org.teiid.translator.google.GoogleMetadataProcessor.addTable(GoogleMetadataProcessor.java:63)
at org.teiid.translator.google.GoogleMetadataProcessor.process(GoogleMetadataProcessor.java:46)
at org.teiid.translator.google.GoogleMetadataProcessor.process(GoogleMetadataProcessor.java:36)
at org.teiid.translator.ExecutionFactory.getMetadata(ExecutionFactory.java:951)
at org.teiid.query.metadata.NativeMetadataRepository.getMetadata(NativeMetadataRepository.java:96)
at org.teiid.query.metadata.NativeMetadataRepository.loadMetadata(NativeMetadataRepository.java:62)
at org.teiid.query.metadata.ChainingMetadataRepository.loadMetadata(ChainingMetadataRepository.java:55)
at org.teiid.jboss.VDBService$6.run(VDBService.java:398)
at org.teiid.jboss.VDBService$7.run(VDBService.java:449)
at org.teiid.dqp.internal.process.DQPWorkContext.runInContext(DQPWorkContext.java:276)
at org.teiid.dqp.internal.process.ThreadReuseExecutor$RunnableWrapper.run(ThreadReuseExecutor.java:119)
at org.teiid.dqp.internal.process.ThreadReuseExecutor$3.run(ThreadReuseExecutor.java:210)
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)
This spreadsheet worked before, but now it seems to cause a NPE for a addColumn method, apparently...
what does that mean? how can I solve this issue?
Marco