1 Reply Latest reply on Jul 22, 2019 9:58 AM by ManPau

    Sqldeveloper on Xming fails to start with java null pointer Exception

    3854963

      Hi,

       

      when firing sqldeveloper from the terminal in oracle linux 6.7 virtual machine I see following messege

       

      Oracle SQL Developer

      Copyright (c) 2005, 2018, Oracle and/or its affiliates. All rights reserved.

       

       

      java.lang.NullPointerException

              at org.netbeans.core.netigso.Netigso.findResources(Netigso.java:380)

              at org.netbeans.NetigsoModule.findResources(NetigsoModule.java:177)

              at org.netbeans.core.startup.NbInstaller.loadLayers(NbInstaller.java:626                                                                                        )

              at org.netbeans.core.startup.NbInstaller.loadImpl(NbInstaller.java:353)

              at org.netbeans.core.startup.NbInstaller.access$000(NbInstaller.java:102                                                                                        )

              at org.netbeans.core.startup.NbInstaller$1.run(NbInstaller.java:343)

              at org.openide.filesystems.FileUtil$2.run(FileUtil.java:436)

              at org.openide.filesystems.EventControl.runAtomicAction(EventControl.jav                                                                                        a:127)

              at org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:51                                                                                        9)

              at org.openide.filesystems.FileUtil.runAtomicAction(FileUtil.java:420)

              at org.openide.filesystems.FileUtil.runAtomicAction(FileUtil.java:440)

              at org.netbeans.core.startup.NbInstaller.load(NbInstaller.java:340)

              at org.netbeans.ModuleManager.enable(ModuleManager.java:1365)

              at org.netbeans.ModuleManager.enable(ModuleManager.java:1170)

              at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:340)

              at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:276)

              at org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:301)

              at org.netbeans.core.startup.Main.getModuleSystem(Main.java:181)

              at org.netbeans.core.startup.Main.getModuleSystem(Main.java:150)

              at org.netbeans.core.startup.Main.start(Main.java:307)

              at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:123)

              atjava.lang.Thread.run(Thread.java:748)

       

      what am i missing?

       

      follwoing is the content of ~/.bash_profile -

       

      PATH=$PATH:$HOME/bin

      export ORACLE_SID=orcl

      export JAVA_HOME=/usr/java/jdk1.8.0_221-amd64

      export ORACLE_UNQNAME=orcl

      export ORACLE_BASE=/u01/app/oracle

      export ORACLE_HOME=/u01/app/oracle/product/11.2.0

      export PATH=$ORACLE_HOME/bin:$PATH