Koen Aers created FORGE-1585:
--------------------------------
Summary: NPE when creating ConnectionProfile
Key: FORGE-1585
URL:
https://issues.jboss.org/browse/FORGE-1585
Project: Forge
Issue Type: Bug
Components: Builtin Plugins
Affects Versions: 2.0.0.Final
Reporter: Koen Aers
When creating a new connection profile, I get the following stack trace:
java.lang.NullPointerException
at
org.jboss.tools.forge.ui.ext.database.ConnectionProfileManagerImpl.createProperties(ConnectionProfileManagerImpl.java:160)
at
org.jboss.tools.forge.ui.ext.database.ConnectionProfileManagerImpl.saveExistingProfile(ConnectionProfileManagerImpl.java:73)
at
org.jboss.tools.forge.ui.ext.database.ConnectionProfileManagerImpl.saveConnectionProfile(ConnectionProfileManagerImpl.java:65)
at
org.jboss.tools.forge.ui.ext.database.ConnectionProfileManagerImpl.saveConnectionProfiles(ConnectionProfileManagerImpl.java:130)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback$1.call(ClassLoaderAdapterCallback.java:101)
at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34)
at
org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.invoke(ClassLoaderAdapterCallback.java:74)
at
org.jboss.forge.addon.database.tools.connections.ConnectionProfileManager_$$_javassist_18b68e88-2ac3-4416-9bb7-d5f443805201.saveConnectionProfiles(ConnectionProfileManager_$$_javassist_18b68e88-2ac3-4416-9bb7-d5f443805201.java)
at
org.jboss.forge.addon.database.tools.connections.CreateConnectionProfileCommand.execute(CreateConnectionProfileCommand.java:67)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:59)
at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34)
at
org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:75)
at
org.jboss.forge.addon.database.tools.connections.CreateConnectionProfileCommand_$$_javassist_fe829c68-b03b-49e0-82ab-3702b548355c.execute(CreateConnectionProfileCommand_$$_javassist_fe829c68-b03b-49e0-82ab-3702b548355c.java)
at
org.jboss.forge.addon.ui.impl.controller.SingleCommandControllerImpl.execute(SingleCommandControllerImpl.java:88)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback$1.call(ClassLoaderAdapterCallback.java:101)
at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34)
at
org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.invoke(ClassLoaderAdapterCallback.java:74)
at
org.jboss.forge.addon.ui.controller.CommandController_$$_javassist_0a236872-8975-4b42-8b27-76e9882b76e5.execute(CommandController_$$_javassist_0a236872-8975-4b42-8b27-76e9882b76e5.java)
at org.jboss.tools.forge.ui.ext.wizards.ForgeWizard$1.run(ForgeWizard.java:87)
at
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira