Kevin Risden created SOLR-8631:
----------------------------------

             Summary: Implement DatabaseMetaDataImpl.getDataTypes()
                 Key: SOLR-8631
                 URL: https://issues.apache.org/jira/browse/SOLR-8631
             Project: Solr
          Issue Type: Sub-task
          Components: SolrJ
    Affects Versions: Trunk
            Reporter: Kevin Risden
             Fix For: Trunk


Once getSchemas (SOLR-8510) is implemented, DBVisualizer tries to get type 
information with getDataTypes and fails with a NPE. A short term workaround is 
to an UnsupportedOperationException instead of returning null.

{code}
2016-02-01 21:27:33.868 FINE   647 [pool-3-thread-4 - E.ᅣチ] RootConnection: 
DatabaseMetaDataImpl.getTypeInfo()
2016-02-01 21:27:33.870 FINE   647 [AWT-EventQueue-0 - B.executionFinished] 
Exception while Connecting
com.onseven.dbvis.K.B.P: java.util.concurrent.ExecutionException: 
java.lang.NullPointerException
        at com.onseven.dbvis.K.B.L.ᅣチ(Z:2680)
        at com.onseven.dbvis.K.B.L.ᅣチ(Z:1521)
        at com.onseven.dbvis.K.B.L$3.run(Z:3032)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
        at java.awt.EventQueue.access$500(EventQueue.java:97)
        at java.awt.EventQueue$3.run(EventQueue.java:709)
        at java.awt.EventQueue$3.run(EventQueue.java:703)
        at java.security.AccessController.doPrivileged(Native Method)
        at 
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
        at 
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
        at 
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
        at 
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.util.concurrent.ExecutionException: 
java.lang.NullPointerException
        at java.util.concurrent.FutureTask.report(FutureTask.java:122)
        at java.util.concurrent.FutureTask.get(FutureTask.java:192)
        at javax.swing.SwingWorker.get(SwingWorker.java:602)
        at com.onseven.dbvis.K.B.L.ᅣチ(Z:990)
        ... 16 more
Caused by: java.lang.NullPointerException
        at com.onseven.dbvis.db.AbstractFacade.getDataTypes(Z:3212)
        at com.onseven.dbvis.db.AbstractFacade.runConnectionSetup(Z:1260)
        at com.onseven.dbvis.db.A.I.ᅣᄋ(Z:3512)
        at com.onseven.dbvis.db.A.B.execute(Z:2933)
        at com.onseven.dbvis.K.B.Z.ᅣチ(Z:2285)
        at com.onseven.dbvis.K.B.L.ᅣツ(Z:1374)
        at com.onseven.dbvis.K.B.L.doInBackground(Z:1521)
        at javax.swing.SwingWorker$1.call(SwingWorker.java:295)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at javax.swing.SwingWorker.run(SwingWorker.java:334)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to