Error when installing SQL developer

This is my own experience,

Installing SQL developer is so easy. You just need to download the SQL package on http://www.oracle.com/technetwork/developer-tools/sql-developer/downloads/index.html . Unzip, and if you already have java runtime environment you just need double click .exe on that unzip folder. But what I want to share this is not how to install SQL developer. You can find that on Installation procedure document which is already provided by Oracle.

I do that procedure SQL and I read FAQ on oracle website, but my SQL Developer still can’t run without any message, without any log. If this case happen to you. Try the first step.

Execute sqldeveloper.exe on folder bin. (sqldeveloper/bin/sqldeveloper.exe). If you execute this one you can see error log.

And I find this error log :

java.lang.NullPointerException
at com.sun.java.swing.plaf.windows.XPStyle.getString(XPStyle.java:135)
at com.sun.java.swing.plaf.windows.XPStyle.getString(XPStyle.java:115)
at com.sun.java.swing.plaf.windows.XPStyle.getBoolean(XPStyle.java:891)
at com.sun.java.swing.plaf.windows.XPStyle.access$100(XPStyle.java:45)
at com.sun.java.swing.plaf.windows.XPStyle$Skin.(XPStyle.java:491)

at com.sun.java.swing.plaf.windows.XPStyle$Skin.(XPStyle.java:434)

at com.sun.java.swing.plaf.windows.XPStyle.getSkin(XPStyle.java:424)
at com.sun.java.swing.plaf.windows.WindowsTreeUI$ExpandedIcon.(Win
dowsTreeUI.java:104)
at com.sun.java.swing.plaf.windows.WindowsTreeUI$ExpandedIcon.createExpa
ndedIcon(WindowsTreeUI.java:107)
at com.sun.java.swing.plaf.windows.WindowsLookAndFeel.initComponentDefau
lts(WindowsLookAndFeel.java:313)
at javax.swing.plaf.basic.BasicLookAndFeel.getDefaults(BasicLookAndFeel.
java:97)
at oracle.javatools.ui.internal.theme.SkyBluer.getDefaultFont(SkyBluer.j
ava:171)
at oracle.javatools.ui.internal.theme.SkyBluer.getUserTextFont(SkyBluer.
java:82)
at javax.swing.plaf.metal.MetalLookAndFeel$FontActiveValue.createValue(M
etalLookAndFeel.java:1684)
at javax.swing.UIDefaults.getFromHashtable(UIDefaults.java:200)
at javax.swing.UIDefaults.get(UIDefaults.java:130)
at javax.swing.UIDefaults.getFont(UIDefaults.java:350)
at com.jgoodies.looks.plastic.PlasticLookAndFeel.initComponentDefaults(P
lasticLookAndFeel.java:366)
at com.jgoodies.looks.plastic.Plastic3DLookAndFeel.initComponentDefaults
(Plastic3DLookAndFeel.java:75)
at com.jgoodies.looks.plastic.PlasticXPLookAndFeel.initComponentDefaults
(PlasticXPLookAndFeel.java:106)
at oracle.bali.ewt.olaf2.OracleLookAndFeel.initComponentDefaults(Unknown
Source)
at javax.swing.plaf.basic.BasicLookAndFeel.getDefaults(BasicLookAndFeel.
java:97)
at javax.swing.plaf.metal.MetalLookAndFeel.getDefaults(MetalLookAndFeel.
java:1392)
at javax.swing.UIManager.setLookAndFeel(UIManager.java:441)
at javax.swing.UIManager.setLookAndFeel(UIManager.java:481)
at oracle.ideimpl.IdeUIManagerImpl._setLookAndFeel(IdeUIManagerImpl.java
:518)
at oracle.ideimpl.IdeUIManagerImpl._setDefaultLookAndFeel(IdeUIManagerIm
pl.java:465)
at oracle.ideimpl.IdeUIManagerImpl.setLookAndFeel(IdeUIManagerImpl.java:
243)
at oracle.ideimpl.DefaultIdeCore.initializeLookAndFeel(DefaultIdeCore.ja
va:86)
at oracle.ide.IdeCore.startupImpl(IdeCore.java:1447)
at oracle.ide.Ide.startup(Ide.java:662)
at oracle.ideimpl.DefaultIdeStarter.startIde(DefaultIdeStarter.java:35)
at oracle.ideimpl.Main.start(Main.java:110)
at oracle.ideimpl.Main.main(Main.java:72)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at oracle.ide.boot.PCLMain.callMain(PCLMain.java:66)
at oracle.ide.boot.PCLMain.main(PCLMain.java:58)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at oracle.classloader.util.MainClass.invoke(MainClass.java:128)
at oracle.ide.boot.IdeLauncher.bootClassLoadersAndMain(IdeLauncher.java:
190)
at oracle.ide.boot.IdeLauncher.launchImpl(IdeLauncher.java:90)
at oracle.ide.boot.IdeLauncher.launch(IdeLauncher.java:66)
at oracle.ide.boot.IdeLauncher.main(IdeLauncher.java:55)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at oracle.ide.boot.Launcher.invokeMain(Launcher.java:729)
at oracle.ide.boot.Launcher.launchImpl(Launcher.java:115)
at oracle.ide.boot.Launcher.launch(Launcher.java:68)
at oracle.ide.boot.Launcher.main(Launcher.java:57)
UIDefaults.getUI() failed: no ComponentUI class for: oracle.ide.controls.StatusB
arControl$JDevStatusBar[,0,0,0x0,invalid,alignmentX=0.0,alignmentY=0.0,border=,f
lags=0,maximumSize=,minimumSize=,preferredSize=]
java.lang.Error
at javax.swing.UIDefaults.getUIError(UIDefaults.java:691)
at javax.swing.MultiUIDefaults.getUIError(MultiUIDefaults.java:117)
at javax.swing.UIDefaults.getUI(UIDefaults.java:721)
at javax.swing.UIManager.getUI(UIManager.java:860)
at oracle.bali.ewt.statusBar.StatusBar.updateUI(Unknown Source)
at oracle.bali.ewt.statusBar.StatusBar.(Unknown Source)
at oracle.ide.controls.StatusBarControl$JDevStatusBar.(StatusBarCo
ntrol.java:274)
at oracle.ide.controls.StatusBarControl.$init$(StatusBarControl.java:48)

at oracle.ide.controls.StatusBarControl.(StatusBarControl.java:61)

at oracle.ide.IdeMainWindow.createStatusBar(IdeMainWindow.java:546)
at oracle.ideimpl.MainWindowImpl.createStatusBar(MainWindowImpl.java:670
)
at oracle.ide.IdeMainWindow.getStatusBar(IdeMainWindow.java:522)
at oracle.ideimpl.MainWindowImpl.(MainWindowImpl.java:189)
at oracle.ideimpl.DefaultIdeCore.createMainWindow(DefaultIdeCore.java:36
7)
at oracle.ideimpl.DefaultIdeCore.createCoreModules(DefaultIdeCore.java:1
17)
at oracle.ideimpl.DefaultIdeCore.createCoreModules(DefaultIdeCore.java:1
07)
at oracle.ide.IdeCore.startupImpl(IdeCore.java:1461)
at oracle.ide.Ide.startup(Ide.java:662)
at oracle.ideimpl.DefaultIdeStarter.startIde(DefaultIdeStarter.java:35)
at oracle.ideimpl.Main.start(Main.java:110)
at oracle.ideimpl.Main.main(Main.java:72)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at oracle.ide.boot.PCLMain.callMain(PCLMain.java:66)
at oracle.ide.boot.PCLMain.main(PCLMain.java:58)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at oracle.classloader.util.MainClass.invoke(MainClass.java:128)
at oracle.ide.boot.IdeLauncher.bootClassLoadersAndMain(IdeLauncher.java:
190)
at oracle.ide.boot.IdeLauncher.launchImpl(IdeLauncher.java:90)
at oracle.ide.boot.IdeLauncher.launch(IdeLauncher.java:66)
at oracle.ide.boot.IdeLauncher.main(IdeLauncher.java:55)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at oracle.ide.boot.Launcher.invokeMain(Launcher.java:729)
at oracle.ide.boot.Launcher.launchImpl(Launcher.java:115)
at oracle.ide.boot.Launcher.launch(Launcher.java:68)
at oracle.ide.boot.Launcher.main(Launcher.java:57)
java.lang.NullPointerException
at oracle.bali.ewt.statusBar.StatusBar._getSplitterWidth(Unknown Source)

at oracle.bali.ewt.statusBar.StatusBar.updateUI(Unknown Source)
at oracle.bali.ewt.statusBar.StatusBar.(Unknown Source)
at oracle.ide.controls.StatusBarControl$JDevStatusBar.(StatusBarCo
ntrol.java:274)
at oracle.ide.controls.StatusBarControl.$init$(StatusBarControl.java:48)

at oracle.ide.controls.StatusBarControl.(StatusBarControl.java:61)

at oracle.ide.IdeMainWindow.createStatusBar(IdeMainWindow.java:546)
at oracle.ideimpl.MainWindowImpl.createStatusBar(MainWindowImpl.java:670
)
at oracle.ide.IdeMainWindow.getStatusBar(IdeMainWindow.java:522)
at oracle.ideimpl.MainWindowImpl.(MainWindowImpl.java:189)
at oracle.ideimpl.DefaultIdeCore.createMainWindow(DefaultIdeCore.java:36
7)
at oracle.ideimpl.DefaultIdeCore.createCoreModules(DefaultIdeCore.java:1
17)
at oracle.ideimpl.DefaultIdeCore.createCoreModules(DefaultIdeCore.java:1
07)
at oracle.ide.IdeCore.startupImpl(IdeCore.java:1461)
at oracle.ide.Ide.startup(Ide.java:662)
at oracle.ideimpl.DefaultIdeStarter.startIde(DefaultIdeStarter.java:35)
at oracle.ideimpl.Main.start(Main.java:110)
at oracle.ideimpl.Main.main(Main.java:72)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at oracle.ide.boot.PCLMain.callMain(PCLMain.java:66)
at oracle.ide.boot.PCLMain.main(PCLMain.java:58)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at oracle.classloader.util.MainClass.invoke(MainClass.java:128)
at oracle.ide.boot.IdeLauncher.bootClassLoadersAndMain(IdeLauncher.java:
190)
at oracle.ide.boot.IdeLauncher.launchImpl(IdeLauncher.java:90)
at oracle.ide.boot.IdeLauncher.launch(IdeLauncher.java:66)
at oracle.ide.boot.IdeLauncher.main(IdeLauncher.java:55)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at oracle.ide.boot.Launcher.invokeMain(Launcher.java:729)
at oracle.ide.boot.Launcher.launchImpl(Launcher.java:115)
at oracle.ide.boot.Launcher.launch(Launcher.java:68)
at oracle.ide.boot.Launcher.main(Launcher.java:57)
IDE boot startup failed.
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at oracle.classloader.util.MainClass.invoke(MainClass.java:128)
at oracle.ide.boot.IdeLauncher.bootClassLoadersAndMain(IdeLauncher.java:
190)
at oracle.ide.boot.IdeLauncher.launchImpl(IdeLauncher.java:90)
at oracle.ide.boot.IdeLauncher.launch(IdeLauncher.java:66)
at oracle.ide.boot.IdeLauncher.main(IdeLauncher.java:55)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at oracle.ide.boot.Launcher.invokeMain(Launcher.java:729)
at oracle.ide.boot.Launcher.launchImpl(Launcher.java:115)
at oracle.ide.boot.Launcher.launch(Launcher.java:68)
at oracle.ide.boot.Launcher.main(Launcher.java:57)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at oracle.ide.boot.PCLMain.callMain(PCLMain.java:66)
at oracle.ide.boot.PCLMain.main(PCLMain.java:58)
… 17 more
Caused by: oracle.ide.ExitNotAllowedException
at oracle.ide.IdeCore$1.checkExit(IdeCore.java:223)
at java.lang.Runtime.exit(Runtime.java:88)
at java.lang.System.exit(System.java:868)
at oracle.ideimpl.Main.start(Main.java:125)
at oracle.ideimpl.Main.main(Main.java:72)
… 23 more
Boot startup failed.
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at oracle.ide.boot.Launcher.invokeMain(Launcher.java:729)
at oracle.ide.boot.Launcher.launchImpl(Launcher.java:115)
at oracle.ide.boot.Launcher.launch(Launcher.java:68)
at oracle.ide.boot.Launcher.main(Launcher.java:57)
Caused by: oracle.ide.ExitNotAllowedException
at oracle.ide.IdeCore$1.checkExit(IdeCore.java:223)
at java.lang.Runtime.exit(Runtime.java:88)
at java.lang.System.exit(System.java:868)
at oracle.ide.boot.IdeLauncher.launch(IdeLauncher.java:72)
at oracle.ide.boot.IdeLauncher.main(IdeLauncher.java:55)
… 8 more

Look the first line and ignore the other :
“java.lang.NullPointerException
at com.sun.java.swing.plaf.windows.XPStyle.getString(XPStyle.java:135)
at com.sun.java.swing.plaf.windows.XPStyle.getString(XPStyle.java:115)
at com.sun.java.swing.plaf.windows.XPStyle.getBoolean(XPStyle.java:891)
at com.sun.java.swing.plaf.windows.XPStyle.access$100(XPStyle.java:45)
at com.sun.java.swing.plaf.windows.XPStyle$Skin.(XPStyle.java:491)

at com.sun.java.swing.plaf.windows.XPStyle$Skin.(XPStyle.java:434)

After find this error I try to googling, how to solve this error.
From java developer forum I find this error because of broken desktop theme on Win XP. And try to run application again, but set your themes to ‘classic’ Thames. Then TADA..!! its work..

When you find such a problem when install application. Try to set your windows themes with classic one.

Posted in Uncategorized | Leave a comment

How to make your HardDisk External writable in mac OS X

My WD Passport Essential writable with this way : (I try use driver turbo WD that I download in WD support website, and still can’t make it writable disk)

1. First cek your harddisk format, right click > get Info > in format information : display Windows NT File System (NTFS),
its means you need to add plugin to make your disk format compatible for Mac Os X.
2. You just need download from internet software NTFS-3g, let prof. google help you, serarch with keyword : “NTFS 3G for Mac free”, file size is about 6,6Mb.
3. After download complete, instal and restart your mac.
4. tadaaa!! right now your hardisk external will be writable. :D

Posted in Uncategorized | Leave a comment

Found this error? Installation XAMPP -1-

My new project is ebio – it is project from Jabatan Perikanan Malaysia.

For database server we use MySql 5.1.  For database administrator we choose myPhpAdmin.  After instal MySql Server then instal XAMPP.

I access http://localhost/ then homepae xampp appeare. From side bar menu I choose PHPmyadmin for akses administrator for PHP then this error appear :

error : #1045 – Access denied for user ‘root’@'localhost’ (using password: NO)

Sollution : search file config.inc.php in folder that you instal XAMPP, in my case that configuration in default folder :  c/xampp/phpmyadmin
edit in editor txt :

/* Authentication type and info */
$cfg['Servers'][$i]['auth_type'] = ‘config’;
$cfg['Servers'][$i]['user'] = ‘root’;
$cfg['Servers'][$i]['password'] = ”; << this one should be entry with ur MYSQL Password
$cfg['Servers'][$i]['AllowNoPasswordRoot'] = true;

after edit the password, retest your PHPmyadmin.. and.. tadaaaaa.. problem solve.

cheers..

my another blog, about my travelers : ^__^

Posted in PHPMyAdmin, XAMPP | Tagged , , , , | 1 Comment