This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 127830

Summary: 6.0.1 (platform independent on linux/ppc) does not import settings from 5.0
Product: ide Reporter: eppesuigoccas <eppesuigoccas>
Component: Import SettingsAssignee: rmatous <rmatous>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: Macintosh   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description eppesuigoccas 2008-02-20 10:12:04 UTC
I just downloaded and installed java 1.6 from IBM and netbeans 6.0.1 (the platform independent version) on linux/ppc.
After setting the jdk path in etc/netbeans.conf, I run bin/netbeans and get a window for the "license agreement" that I
accept. Then I get a second window for importing my settings from $HOME/.netbeans/5.0, that I accept again. Then nothing
happens. I get back my prompt in the terminal where I run bin/netbeans.

My ~/.netbeans/6.0/var/log/messages.log says nothing special as shown here:

-------------------------------------------------------------------------------
>Log Session: Wednesday, February 20, 2008 11:05:34 AM CET
>System Info: 
  Product Version         = NetBeans IDE 6.0.1 (Build 200801291616)
  Operating System        = Linux version 2.6.22-3-powerpc running on ppc
  Java; VM; Vendor        = 1.6.0; IBM J9 VM 2.4; IBM Corporation
  Java Home               = /usr/lib/j2sdk1.6-ibm/jre
  System Locale; Encoding = it_IT (nb); ISO-8859-1
  Home Directory          = /home/giuseppe
  Current Directory       = /home/giuseppe
  User Directory          = /home/giuseppe/.netbeans/6.0
  Installation            = /opt/netbeans-6.0.1/nb6.0
                            /opt/netbeans-6.0.1/ide8
                            /opt/netbeans-6.0.1/java1
                            /opt/netbeans-6.0.1/apisupport1
                            /opt/netbeans-6.0.1/profiler2
                            /opt/netbeans-6.0.1/harness
                            /opt/netbeans-6.0.1/platform7
  Boot & Ext. Classpath   =
/usr/lib/j2sdk1.6-ibm/jre/lib/vm.jar:/usr/lib/j2sdk1.6-ibm/jre/lib/facilitators.jar:/usr/lib/j2sdk1.6-ibm/jre/lib/annotation.jar:/usr/lib/j2sdk1.6-ibm/jre/lib/beans.jar:/usr/lib/j2sdk1.6-ibm/jre/lib/java.util.jar:/usr/lib/j2sdk1.6-ibm/jre/lib/jndi.jar:/usr/lib/j2sdk1.6-ibm/jre/lib/logging.jar:/usr/lib/j2sdk1.6-ibm/jre/lib/security.jar:/usr/lib/j2sdk1.6-ibm/jre/lib/sql.jar:/usr/lib/j2sdk1.6-ibm/jre/lib/ibmorb.jar:/usr/lib/j2sdk1.6-ibm/jre/lib/ibmorbapi.jar:/usr/lib/j2sdk1.6-ibm/jre/lib/ibmcfw.jar:/usr/lib/j2sdk1.6-ibm/jre/lib/rt.jar:/usr/lib/j2sdk1.6-ibm/jre/lib/charsets.jar:/usr/lib/j2sdk1.6-ibm/jre/lib/resources.jar:/usr/lib/j2sdk1.6-ibm/jre/lib/ibmpkcs.jar:/usr/lib/j2sdk1.6-ibm/jre/lib/ibmcertpathfw.jar:/usr/lib/j2sdk1.6-ibm/jre/lib/ibmjgssfw.jar:/usr/lib/j2sdk1.6-ibm/jre/lib/ibmjssefw.jar:/usr/lib/j2sdk1.6-ibm/jre/lib/ibmsaslfw.jar:/usr/lib/j2sdk1.6-ibm/jre/lib/ibmjcefw.jar:/usr/lib/j2sdk1.6-ibm/jre/lib/ibmjgssprovider.jar:/usr/lib/j2sdk1.6-ibm/jre/lib/ibmjsseprovider2.jar:/usr/lib/j2sdk1.6-ibm/jre/lib/ibmcertpathprovider.jar:/usr/lib/j2sdk1.6-ibm/jre/lib/ibmxmlcrypto.jar:/usr/lib/j2sdk1.6-ibm/jre/lib/management-agent.jar:/usr/lib/j2sdk1.6-ibm/jre/lib/xml.jar:/usr/lib/j2sdk1.6-ibm/jre/lib/jlm.jar:/usr/lib/j2sdk1.6-ibm/jre/lib/javascript.jar:/usr/lib/j2sdk1.6-ibm/jre/lib/RACF.jar:/usr/lib/j2sdk1.6-ibm/jre/lib/ext/jaccess.jar:/usr/lib/j2sdk1.6-ibm/jre/lib/ext/xmlencfw.jar:/usr/lib/j2sdk1.6-ibm/jre/lib/ext/dtfj-interface.jar:/usr/lib/j2sdk1.6-ibm/jre/lib/ext/localedata.jar:/usr/lib/j2sdk1.6-ibm/jre/lib/ext/ibmpkcs11impl.jar:/usr/lib/j2sdk1.6-ibm/jre/lib/ext/CmpCrmf.jar:/usr/lib/j2sdk1.6-ibm/jre/lib/ext/gskikm.jar:/usr/lib/j2sdk1.6-ibm/jre/lib/ext/ibmkeycert.jar:/usr/lib/j2sdk1.6-ibm/jre/lib/ext/ibmxmlencprovider.jar:/usr/lib/j2sdk1.6-ibm/jre/lib/ext/dtfjview.jar:/usr/lib/j2sdk1.6-ibm/jre/lib/ext/ibmcmsprovider.jar:/usr/lib/j2sdk1.6-ibm/jre/lib/ext/ibmjceprovider.jar:/usr/lib/j2sdk1.6-ibm/jre/lib/ext/IBMKeyManagementServer.jar:/usr/lib/j2sdk1.6-ibm/jre/lib/ext/jdmpview.jar:/usr/lib/j2sdk1.6-ibm/jre/lib/ext/ibmsaslprovider.jar:/usr/lib/j2sdk1.6-ibm/jre/lib/ext/dtfj.jar:/usr/lib/j2sdk1.6-ibm/jre/lib/ext/dnsns.jar:/usr/lib/j2sdk1.6-ibm/jre/lib/ext/ibmjcefips.jar
  Application Classpath   =
/opt/netbeans-6.0.1/platform7/lib/boot.jar:/opt/netbeans-6.0.1/platform7/lib/org-openide-modules.jar:/opt/netbeans-6.0.1/platform7/lib/org-openide-util.jar:/opt/netbeans-6.0.1/platform7/lib/locale/boot_ja.jar:/opt/netbeans-6.0.1/platform7/lib/locale/boot_pt_BR.jar:/opt/netbeans-6.0.1/platform7/lib/locale/boot_zh_CN.jar:/opt/netbeans-6.0.1/platform7/lib/locale/org-openide-modules_ja.jar:/opt/netbeans-6.0.1/platform7/lib/locale/org-openide-modules_pt_BR.jar:/opt/netbeans-6.0.1/platform7/lib/locale/org-openide-modules_zh_CN.jar:/opt/netbeans-6.0.1/platform7/lib/locale/org-openide-util_ja.jar:/opt/netbeans-6.0.1/platform7/lib/locale/org-openide-util_pt_BR.jar:/opt/netbeans-6.0.1/platform7/lib/locale/org-openide-util_zh_CN.jar:/opt/netbeans-6.0.1/platform7/lib/locale/swing-l10n_pt_BR.jar:/usr/lib/j2sdk1.6-ibm/lib/dt.jar:/usr/lib/j2sdk1.6-ibm/lib/tools.jar
  Startup Classpath       =
/opt/netbeans-6.0.1/platform7/core/org-openide-filesystems.jar:/opt/netbeans-6.0.1/platform7/core/core.jar:/opt/netbeans-6.0.1/platform7/core/locale/org-openide-filesystems_zh_CN.jar:/opt/netbeans-6.0.1/platform7/core/locale/core_ja.jar:/opt/netbeans-6.0.1/platform7/core/locale/core_zh_CN.jar:/opt/netbeans-6.0.1/platform7/core/locale/org-openide-filesystems_ja.jar:/opt/netbeans-6.0.1/platform7/core/locale/org-openide-filesystems_pt_BR.jar:/opt/netbeans-6.0.1/platform7/core/locale/core_pt_BR.jar:/opt/netbeans-6.0.1/nb6.0/core/org-netbeans-upgrader.jar:/opt/netbeans-6.0.1/nb6.0/core/locale/org-netbeans-upgrader_zh_CN.jar:/opt/netbeans-6.0.1/nb6.0/core/locale/core_nb_zh_CN.jar:/opt/netbeans-6.0.1/nb6.0/core/locale/core_nb.jar:/opt/netbeans-6.0.1/nb6.0/core/locale/core_nb_ja.jar:/opt/netbeans-6.0.1/nb6.0/core/locale/org-netbeans-upgrader_ja.jar:/opt/netbeans-6.0.1/nb6.0/core/locale/org-netbeans-upgrader_pt_BR.jar:/opt/netbeans-6.0.1/nb6.0/core/locale/core_nb_pt_BR.jar
-------------------------------------------------------------------------------
USER: Import: Old version: 5.0. Importing from /home/giuseppe/.netbeans/5.0 to /home/giuseppe/.netbeans/6.0
USER: Import: Old version: 5.0nonstandard. Importing from /home/giuseppe/.netbeans/5.0 to /home/giuseppe/.netbeans/6.0
Comment 1 eppesuigoccas 2008-02-20 12:09:43 UTC
If I restart netbeans and answer "no" to the "import settings" panel, then the IDE starts up normally and I may
correctly work (at least, I imported a project and rebuilt it without errors).
Comment 2 Peter Pis 2008-02-21 08:20:50 UTC
Reassigning to "core" for evaluation.
Comment 3 rmatous 2008-02-21 09:11:53 UTC
Please, could you test with supported JDK. See release notes (Required Software):
http://www.netbeans.org/community/releases/60/relnotes.html

If this bug is still reproducible, please could you attach your old userdir 5.0 userdir (giuseppe/.netbeans/5.0) and reopen 

Comment 4 eppesuigoccas 2008-02-21 10:12:24 UTC
could you please explain what do you mean by "supported JDK"?
I cannot find any supported JDK for my platform using the link you provided.

Thanks,
Giuseppe
Comment 5 eppesuigoccas 2008-02-21 14:14:20 UTC
Hi rmatous,
as per your request, here is my ~/.netbeans/5.0 directory (it is 18Mb):
http://eppesuigoccas.homedns.org/~giuseppe/debian/DOTnetbeansSLASH5.0.tar.bz2

Bye,
Giuseppe
Comment 6 Lukas Hasik 2008-02-22 10:08:53 UTC
You can download the JDK for your platform from one of the sites listed below:

    * Solaris: http://java.sun.com/j2se/1.5.0/download.html
    * Windows: http://java.sun.com/j2se/1.5.0/download.html
>>>>* Linux: http://java.sun.com/j2se/1.5.0/download.html
>>>>* Mac OS X: http://www.apple.com/support/downloads/javaformacosx104release5.html (Mac OS X 10.4.8 or later). Java
upgrades for Mac OS-X are also available via Apple's Software Update mechanism. 

As you probably know the JDK implementation can differ from version to version. We are not able to assure that the IDE
will run correctly on all the different implementations (SUN x IBM). We are really sorry about it but the list of
supported platforms and jdks is limited.
Comment 7 eppesuigoccas 2008-02-22 10:43:28 UTC
Hi lhasik,
sadly none of the links you reported provide a JDK for my platform: the "linux" link you highlighted only provide JDK
for x86 cpus, while the "macosx" link only provide JDK for apple OSX operating system.
My configuration is: apple powerbook with powerpc processor (not x86) and linux operating system.

So, I may only choice between these JDKs: IBM/ppc or GNU gcj. I know the second one is not enough mature to run
netbeans, while the first one work perfectly. I am using the same IBM JDK on x86 system without problems.

Moreover, netbeans runs very well with IBM JDK. Here the problem is related to settings migration from 5.0 to 6.0, and I
don't think this might be related the the JDK version I am running on.

Bye,
Giuseppe 
Comment 8 rmatous 2008-03-07 14:59:26 UTC
No module name in settings file (acceptable according dtd <!ELEMENT settings      (module?, ..). 

Fixed: not to break import of all other settigs
http://hg.netbeans.org/main/rev/cfdd863bca98