Skip to main content

Hi guys !

 

can you help me if IFS Developer Studio show error like this.

 

 

what should i do?

Hi,

Please click on “Show and Report Problem” and paste the error stack shown in the dialog onto this thread. (top 10 lines should be enough)

Regards,

/Rifki


this error

 

java.lang.NullPointerException
    at org.netbeans.api.db.explorer.DatabaseConnection.create(DatabaseConnection.java:181)
    at org.netbeans.api.db.explorer.DatabaseConnection.create(DatabaseConnection.java:153)
    at ifs.dev.nb.project.properties.DatabaseConnectionLoader.loadConnection(DatabaseConnectionLoader.java:57)
    at ifs.dev.nb.project.properties.DBConnectionSerializer.loadConnectionString(DBConnectionSerializer.java:42)
    at ifs.dev.nb.project.properties.DatabasePropertiesPersister.loadProperties(DatabasePropertiesPersister.java:35)
    at ifs.dev.nb.project.properties.AbstractPropertiesPersister.<init>(AbstractPropertiesPersister.java:22)
    at ifs.dev.nb.project.properties.DatabasePropertiesPersister.<init>(DatabasePropertiesPersister.java:22)
    at ifs.dev.nb.project.AbstractIFSProject.<init>(AbstractIFSProject.java:157)
    at ifs.dev.nb.project.extension.ExtensionProject.<init>(ExtensionProject.java:44)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    at org.netbeans.modules.project.ant.AntBasedGenericType.createProject(AntBasedGenericType.java:131)
    at org.netbeans.modules.project.ant.AntBasedProjectFactorySingleton.loadProject(AntBasedProjectFactorySingleton.java:264)
    at org.netbeans.modules.projectapi.nb.NbProjectManager.createProject(NbProjectManager.java:401)
    at org.netbeans.modules.projectapi.nb.NbProjectManager.access$300(NbProjectManager.java:94)
    at org.netbeans.modules.projectapi.nb.NbProjectManager$2.run(NbProjectManager.java:314)
    at org.netbeans.modules.projectapi.nb.NbProjectManager$2.run(NbProjectManager.java:243)
    at org.netbeans.modules.openide.util.DefaultMutexImplementation.readAccess(DefaultMutexImplementation.java:209)
    at org.openide.util.Mutex.readAccess(Mutex.java:250)
    at org.netbeans.modules.projectapi.nb.NbProjectManager.findProject(NbProjectManager.java:243)
    at org.netbeans.api.project.ProjectManager.findProject(ProjectManager.java:167)
    at org.netbeans.modules.project.ui.ProjectsRootNode$BadgingNode.replaceProject(ProjectsRootNode.java:680)
    at org.netbeans.modules.project.ui.ProjectsRootNode$BadgingNode.access$300(ProjectsRootNode.java:580)
    at org.netbeans.modules.project.ui.ProjectsRootNode.checkNoLazyNode(ProjectsRootNode.java:241)
    at org.netbeans.modules.project.ui.ProjectsRootNode.checkNoLazyNode(ProjectsRootNode.java:234)
    at org.netbeans.modules.project.ui.OpenProjectList$LoadOpenProjects.run(OpenProjectList.java:399)
    at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443)
    at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68)
    at org.openide.util.lookup.Lookups.executeWith(Lookups.java:303)
ucatch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2058)
 


Looks like a problem with your DB connection, were you able to test the DB connection successfully when setting up your project? Try creating another project and ensure your DB connection is good.