[jboss-cvs] jbosside/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console ...
Max Rydahl Andersen
mandersen at jboss.com
Sat Dec 9 20:59:03 EST 2006
User: mandersen
Date: 06/12/09 20:59:03
Modified: hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console
EclipseConsoleConfigurationPreferences.java
Log:
HBX-834 NullPointerException in EclipseConsoleConfigurationPreferences
Revision Changes Path
1.10 +1 -1 jbosside/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/EclipseConsoleConfigurationPreferences.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: EclipseConsoleConfigurationPreferences.java
===================================================================
RCS file: /cvsroot/jboss/jbosside/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/EclipseConsoleConfigurationPreferences.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- EclipseConsoleConfigurationPreferences.java 15 Nov 2006 16:12:09 -0000 1.9
+++ EclipseConsoleConfigurationPreferences.java 10 Dec 2006 01:59:03 -0000 1.10
@@ -104,7 +104,7 @@
try {
IJavaProject project = ProjectUtils.findJavaProject( getProjectName() );
String[] additonal = new String[0];
- if(useProjectClasspath() && project.exists()) {
+ if(project != null && useProjectClasspath() && project.exists()) {
try {
additonal = JavaRuntime.computeDefaultRuntimeClassPath(project);
}
More information about the jboss-cvs-commits
mailing list