|
|
|
|
|
|
|
|
|
Re: Null Pointer Exception when accessing the properties of AbstractMySqlSqlService [message #985909 is a reply to message #985895] |
Fri, 16 November 2012 11:03  |
Eclipse User |
|
|
|
Ken Lee wrote on Fri, 16 November 2012 16:30I provided a new build of the JDBC driver at the Eclipse Marketplace that includes the source features and bundles.
To update to the latest build, click on the menu [Help]->[Check for Update] or [Help]->[Install New Software...] and add the URL http://tools.bsiag.com/marketplace/jdbc
I installed the new version (see screenshot) and it works now with Juno-SR1. Thanks a lot.
-> That is my first point in #msg_985681
For the second point, I added a patch and a comment in bug 394374. For me getSource() can be null. Here the javadoc:
/**
* Returns the source code associated with this element.
* This extracts the substring from the source buffer containing this source
* element. This corresponds to the source range that would be returned by
* <code>getSourceRange</code>.
* <p>
* For class files, this returns the source of the entire compilation unit
* associated with the class file (if there is one).
* </p>
*
* @return the source code, or <code>null</code> if this element has no
* associated source code
* @exception JavaModelException if an exception occurs while accessing its corresponding resource
*/
String getSource() throws JavaModelException;
My 4 lines patch add the null check. (This could be fixed in Juno).
.
[Updated on: Fri, 16 November 2012 11:06] by Moderator
|
|
|
Powered by
FUDForum. Page generated in 0.04771 seconds