SQLViewer 1.0.3 Available 关注
SQLViewer 1.0.3 is available for download at http://sqlviewer.sf.net.
This release offers several bug fixes and a few enhancements. It has been
tested with build #650, and will
not work with prior builds. IntelliJ changed a few method calls between 648
and 650.
Jim
请先登录再写评论。
Jim,
Herez the stack trace i get after i create a datasource and double-click on
the newly created DS
=================
net.plugin.sql.util.DataSourceException: SQLException - No suitable driver
at
net.plugin.sql.util.JDBCConnectionManager.getConnection(JDBCConnectio
nManager.java:37)
at
net.plugin.sql.gui.SQLDataPanel.buildSchemaList(SQLDataPanel.java:90)
at net.plugin.sql.gui.SQLDataPanel.(SQLDataPanel.java:48) at net.plugin.sql.gui.SQLFrame.]]>(SQLFrame.java:57)
at
net.plugin.sql.gui.SQLWindowManager.createFrame(SQLWindowManager.java
:38)
at
net.plugin.sql.gui.MainSQLView.dataSourceSelected(MainSQLView.java:53
)
at
net.plugin.sql.gui.SQLConnectionTree.notifyDatasourceListeners(SQLCon
nectionTree.java:102)
at
net.plugin.sql.gui.SQLConnectionTree.mouseClicked(SQLConnectionTree.j
ava:64)
at
java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:20
8)
at java.awt.Component.processMouseEvent(Component.java:5024)
at java.awt.Component.processEvent(Component.java:4818)
at java.awt.Container.processEvent(Container.java:1525)
at java.awt.Component.dispatchEventImpl(Component.java:3526)
at java.awt.Container.dispatchEventImpl(Container.java:1582)
at java.awt.Component.dispatchEvent(Component.java:3367)
at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3359
)
at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:3083)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3004)
at java.awt.Container.dispatchEventImpl(Container.java:1568)
at java.awt.Window.dispatchEventImpl(Window.java:1581)
at java.awt.Component.dispatchEvent(Component.java:3367)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
at com.intellij.ide.p.a(p.java:61)
at com.intellij.ide.p.dispatchEvent(p.java:44)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:191)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:144)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
ERROR - com.intellij.ide.p - Error during dispatching
of
java.awt.event.MouseEvent[MOUSE_CLICKED,(82,546),button=1,modifiers=Button1,
clic
kCount=2] on frame0
ERROR - com.intellij.ide.p - IntelliJ IDEA (Ariadna)
3.0
Build #650
ERROR - com.intellij.ide.p - JDK: 1.4.0_01
ERROR - com.intellij.ide.p - VM: Java HotSpot(TM)
Client
VM
ERROR - com.intellij.ide.p - Vendor: Sun Microsystems
Inc
.
ERROR - com.intellij.ide.p - OS: Windows 2000
ERROR - com.intellij.ide.p -
java.lang.NullPointerException
at
net.plugin.sql.gui.SQLDataPanel.buildSchemaList(SQLDataPanel.java:102
)
at net.plugin.sql.gui.SQLDataPanel.(SQLDataPanel.java:48) at net.plugin.sql.gui.SQLFrame.(SQLFrame.java:57) at net.plugin.sql.gui.SQLWindowManager.createFrame(SQLWindowManager.java :38) at net.plugin.sql.gui.MainSQLView.dataSourceSelected(MainSQLView.java:53 ) at net.plugin.sql.gui.SQLConnectionTree.notifyDatasourceListeners(SQLCon nectionTree.java:102) at net.plugin.sql.gui.SQLConnectionTree.mouseClicked(SQLConnectionTree.j ava:64) at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:20 8) at java.awt.Component.processMouseEvent(Component.java:5024) at java.awt.Component.processEvent(Component.java:4818) at java.awt.Container.processEvent(Container.java:1525) at java.awt.Component.dispatchEventImpl(Component.java:3526) at java.awt.Container.dispatchEventImpl(Container.java:1582) at java.awt.Component.dispatchEvent(Component.java:3367) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3359 ) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3083) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3004) at java.awt.Container.dispatchEventImpl(Container.java:1568) at java.awt.Window.dispatchEventImpl(Window.java:1581) at java.awt.Component.dispatchEvent(Component.java:3367) at java.awt.EventQueue.dispatchEvent(EventQueue.java:445) at com.intellij.ide.p.a(p.java:61) at com.intellij.ide.p.dispatchEvent(p.java:44) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh read.java:191) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre ad.java:144) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130) at java.awt.EventDispatchThread.run(EventDispatchThread.java:98) SQLPlugin.writeExternal writing dataSource = TestDB ================ "James Birchfield" ]]> wrote in message
news:an018s$bgj$1@is.intellij.net...
>
648
>
>
>
Hmmm..sounds like the jdbc drivers are not in your classpath, which probably
isn't the case because it checks to see if the class exisits before it will
create your datasource. I suspect it is an impoperly formed JDBC url.
Please post it and double check it. Look in the project file for the actual
string. The checking of the datasource needs to be beefed up. It should
check not only the driver class, but the actual connecting to the database
using the url, user and pass.
Please submit a feature request at http://sqlviewer.sf.net.
Jim
"Samanth Athrey" <samantha@coreobjects.com> wrote in message
news:an0l0h$u9s$1@is.intellij.net...
>
on
>
>
>
java.awt.LightweightDispatcher.dispatchEvent(Container.java:3004)
>
>
dispatching
>
java.awt.event.MouseEvent[MOUSE_CLICKED,(82,546),button=1,modifiers=Button1,
(Ariadna)
Microsystems
>
java.awt.LightweightDispatcher.dispatchEvent(Container.java:3004)
>
>
>
>
been
>
>
Jim,
I checked everything, the first release was working with same URL, User and
Pass. This URL is used in our application too.
Samanth
"IDEA" <jim@bnainc.net> wrote in message
news:an19v2$kou$1@is.intellij.net...
probably
will
actual
>
>
driver
>
java.awt.event.MouseEvent[MOUSE_CLICKED,(82,546),button=1,modifiers=Button1,
between
>
>
Hmm...the same URL's I was using are fine too. Not sure what the problem
would be. I have updated the dataosurce checking to make sur ethe
connection can be made before adding it. Will be coming in another release.
Perhaps you could build from source and see if it helps.
Please post the URL, and any stacktraces please.
Jim
"Samanth Athrey" <samantha@coreobjects.com> wrote in message
news:an277v$8tr$1@is.intellij.net...
>
and
>
>
should
database
double-click
net.plugin.sql.gui.SQLDataPanel.]]>(SQLDataPanel.java:48)
java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
>
java.awt.event.MouseEvent[MOUSE_CLICKED,(82,546),button=1,modifiers=Button1,
HotSpot(TM)
net.plugin.sql.gui.SQLDataPanel.]]>(SQLDataPanel.java:48)
java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
http://sqlviewer.sf.net.
has
>
>
check the message board at the sourceforge site for this plugin, it
discribes the solution to this problem. In a nut shell the problem is that
the plugin uses the classpath from idea not the project classpath (I don't
know if this could be fixed). Anyways, hope that helps.
Barranger
"James Birchfield" <jim.birchfield@genscape.com> wrote in message
news:an28ju$al2$1@is.intellij.net...
release.
>
>
>
>
>
net.plugin.sql.util.JDBCConnectionManager.getConnection(JDBCConnectio
net.plugin.sql.gui.SQLDataPanel.buildSchemaList(SQLDataPanel.java:90)
net.plugin.sql.gui.SQLWindowManager.createFrame(SQLWindowManager.java
net.plugin.sql.gui.MainSQLView.dataSourceSelected(MainSQLView.java:53
net.plugin.sql.gui.SQLConnectionTree.notifyDatasourceListeners(SQLCon
net.plugin.sql.gui.SQLConnectionTree.mouseClicked(SQLConnectionTree.j
java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:20
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3359
java.awt.LightweightDispatcher.processMouseEvent(Container.java:3083)
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
>
java.awt.event.MouseEvent[MOUSE_CLICKED,(82,546),button=1,modifiers=Button1,
net.plugin.sql.gui.SQLDataPanel.buildSchemaList(SQLDataPanel.java:102
net.plugin.sql.gui.SQLWindowManager.createFrame(SQLWindowManager.java
net.plugin.sql.gui.MainSQLView.dataSourceSelected(MainSQLView.java:53
net.plugin.sql.gui.SQLConnectionTree.notifyDatasourceListeners(SQLCon
net.plugin.sql.gui.SQLConnectionTree.mouseClicked(SQLConnectionTree.j
java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:20
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3359
java.awt.LightweightDispatcher.processMouseEvent(Container.java:3083)
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
>
>