> Bug Fixes
> --------
> - Fixed NullPointerException thrown by the Syntax plugin.
I am still getting NPE's when using the Syntax plugin (0.11)
The stack trace from the NPE's is at the end of this message. The NPE
is happening because the
_session.getProperties().getFontInfo()
call is returning null;
Does anybody have any suggestions as to the correct way to fix this? I
can make the NPE go away by not running the code that depends on the
FontInfo object, but I've no idea what that will break.
...Joseph Boyd
Lead Application Developer
accessIndiana..."linking hoosiers to government"
http://www.IN.gov
10 West Market St., Suite 600
Indianapolis, IN 46204
java.lang.NullPointerException
at
net.sourceforge.squirrel_sql.plugins.syntax.oster.OsterTextControl.initStyles(OsterTextControl.java:289)
at
net.sourceforge.squirrel_sql.plugins.syntax.oster.OsterTextControl.<init>(OsterTextControl.java:125)
at
net.sourceforge.squirrel_sql.plugins.syntax.oster.OsterSQLEntryPanel.<init>(OsterSQLEntryPanel.java:76)
at
net.sourceforge.squirrel_sql.plugins.syntax.oster.OsterSQLEntryAreaFactory.createSQLEntryPanel(OsterSQLEntryAreaFactory.java:74)
at
net.sourceforge.squirrel_sql.client.session.mainpanel.SQLPanel.createGUI(SQLPanel.java:1010)
at
net.sourceforge.squirrel_sql.client.session.mainpanel.SQLPanel.<init>(SQLPanel.java:173)
at
net.sourceforge.squirrel_sql.client.session.mainpanel.SQLTab.getComponent(SQLTab.java:78)
at
net.sourceforge.squirrel_sql.client.session.mainpanel.SQLTab.getSQLPanel(SQLTab.java:128)
at
net.sourceforge.squirrel_sql.client.session.mainpanel.SQLTab.setSession(SQLTab.java:89)
at
net.sourceforge.squirrel_sql.client.session.mainpanel.SQLTab.<init>(SQLTab.java:50)
at
net.sourceforge.squirrel_sql.client.session.MainPanel.<init>(MainPanel.java:109)
at
net.sourceforge.squirrel_sql.client.session.SessionSheet.createGUI(SessionSheet.java:346)
at
net.sourceforge.squirrel_sql.client.session.SessionSheet.<init>(SessionSheet.java:104)
at
net.sourceforge.squirrel_sql.client.session.SessionInternalFrame.createGUI(SessionInternalFrame.java:130)
at
net.sourceforge.squirrel_sql.client.session.SessionInternalFrame.<init>(SessionInternalFrame.java:57)
at
net.sourceforge.squirrel_sql.client.session.SessionWindowManager.createInternalFrame(SessionWindowManager.java:105)
at
net.sourceforge.squirrel_sql.client.mainframe.action.ConnectToAliasCommand$Runner.run(ConnectToAliasCommand.java:453)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
|