连续数据库测试成功,但是软件报错

本帖最后由 yanny 于 2016-6-21 16:46 编辑

数据库是阿里RDS,连接成功后,读不了数据结构


2016-06-21 16:12:39
警告:错误代码:1301 数据集配置错误
Query:
Can not issue empty query.
        at com.fr.data.impl.AbstractDBDataModel.initConnectionAndResultAndCheckInColumns(Unknown Source)
        at com.fr.data.impl.AbstractDBDataModel.getColumnCount(Unknown Source)
        at com.fr.data.impl.EmbeddedTableData.isValidSQL(Unknown Source)
        at com.fr.data.impl.EmbeddedTableData.embedify(Unknown Source)
        at com.fr.dav.LocalEnv.previewTableData(Unknown Source)
        at com.fr.dav.LocalEnv.previewTableData(Unknown Source)
        at com.fr.design.data.DesignTableDataManager.previewTableData(Unknown Source)
        at com.fr.design.data.DesignTableDataManager.previewTableDataNotNeedInputParameters(Unknown Source)
        at com.fr.design.data.tabledata.wrapper.AbstractTableDataWrapper.calculateColumnNameList(Unknown Source)
        at com.fr.design.data.tabledata.wrapper.AbstractTableDataWrapper.load(Unknown Source)
        at com.fr.design.gui.itree.refreshabletree.UserObjectRefreshJTree.loadChildTreeNodes(Unknown Source)
        at com.fr.design.gui.itree.refreshabletree.RefreshableJTree$3$1.doInBackground(Unknown Source)
        at com.fr.design.gui.itree.refreshabletree.RefreshableJTree$3$1.doInBackground(Unknown Source)
        at javax.swing.SwingWorker$1.call(Unknown Source)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at javax.swing.SwingWorker.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
2016-06-21 16:12:39
警告:错误代码:1301 数据集配置错误
Query:
Can not issue empty query.
2016-06-21 16:14:04
严重:null
        at java.util.concurrent.FutureTask.awaitDone(Unknown Source)
        at java.util.concurrent.FutureTask.get(Unknown Source)
        at com.fr.dav.LocalEnv.testConnection(Unknown Source)
        at com.fr.design.gui.ilist.TableViewList$3.doInBackground(Unknown Source)
        at com.fr.design.gui.ilist.TableViewList$3.doInBackground(Unknown Source)
        at javax.swing.SwingWorker$1.call(Unknown Source)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at javax.swing.SwingWorker.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
2016-06-21 16:14:04
严重:null
        at java.util.concurrent.FutureTask.awaitDone(Unknown Source)
        at java.util.concurrent.FutureTask.get(Unknown Source)
        at com.fr.dav.LocalEnv.testConnection(Unknown Source)
        at com.fr.design.gui.ilist.TableViewList$3.doInBackground(Unknown Source)
        at com.fr.design.gui.ilist.TableViewList$3.doInBackground(Unknown Source)
        at javax.swing.SwingWorker$1.call(Unknown Source)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at javax.swing.SwingWorker.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
2016-06-21 16:14:14
严重:com.fr.third.org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Communications link failure

Last packet sent to the server was 0 ms ago.)
        at java.util.concurrent.FutureTask.report(Unknown Source)
        at java.util.concurrent.FutureTask.get(Unknown Source)
        at com.fr.dav.LocalEnv.testConnection(Unknown Source)
        at com.fr.design.data.datapane.connect.DatabaseConnectionPane$1$1.doInBackground(Unknown Source)
        at javax.swing.SwingWorker$1.call(Unknown Source)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at javax.swing.SwingWorker.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
2016-06-21 16:14:38
严重:com.fr.third.org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Illegal connection port value 'yannytest')
        at java.util.concurrent.FutureTask.report(Unknown Source)
        at java.util.concurrent.FutureTask.get(Unknown Source)
        at com.fr.dav.LocalEnv.testConnection(Unknown Source)
        at com.fr.design.data.datapane.connect.DatabaseConnectionPane$1$1.doInBackground(Unknown Source)
        at javax.swing.SwingWorker$1.call(Unknown Source)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at javax.swing.SwingWorker.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
2016-06-21 16:14:41
严重:com.fr.third.org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Illegal connection port value 'yannytest')
        at java.util.concurrent.FutureTask.report(Unknown Source)
        at java.util.concurrent.FutureTask.get(Unknown Source)
        at com.fr.dav.LocalEnv.testConnection(Unknown Source)
        at com.fr.design.data.datapane.connect.DatabaseConnectionPane$1$1.doInBackground(Unknown Source)
        at javax.swing.SwingWorker$1.call(Unknown Source)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at javax.swing.SwingWorker.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
2016-06-21 16:17:34
严重:null
        at java.util.concurrent.FutureTask.awaitDone(Unknown Source)
        at java.util.concurrent.FutureTask.get(Unknown Source)
        at com.fr.dav.LocalEnv.testConnection(Unknown Source)
        at com.fr.design.gui.ilist.TableViewList$3.doInBackground(Unknown Source)
        at com.fr.design.gui.ilist.TableViewList$3.doInBackground(Unknown Source)
        at javax.swing.SwingWorker$1.call(Unknown Source)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at javax.swing.SwingWorker.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)


FineReportyanny 发布于 2016-6-21 16:22
悬赏:2 F币 + 添加悬赏
提示:增加悬赏、完善问题、追问等操作,可使您的问题被置顶,并向所有关注者发送通知
共4回答
最佳回答
0
EchoMengjiong发布于2016-6-21 16:22(编辑于 2023-9-6 09:34)
555
  • yanny yanny(提问者)

    数据库是阿里云的RDS,连表结构都读不出来,写查询语句也没用啊
    回复
    2016-06-21 16:45 
最佳回答
0
yanny发布于2016-6-21 16:45(编辑于 2023-9-6 09:34)
555
最佳回答
0
EchoMengjiong发布于2016-6-21 16:54(编辑于 2023-9-6 09:34)
555
最佳回答
0
yanny发布于2016-6-21 17:03(编辑于 2023-9-6 09:34)
555
  • 0关注人数
  • 929浏览人数
  • 最后回答于:2016-6-21 17:03
    活动推荐 更多
    热门课程 更多
    返回顶部