Sun Studio And netbeans

Hello.
I'm a new user in Solaris and SUSE Linux. I like programming and have been looking for development enviroments like Sun Studio for both OS's. Sun Studio 12 is available for both and it comes with Netbeans 5.5. Is it possible to install the latest version of Netbeans without losing performance, or its capability to develop projects in C, C++ and fortran?
Thank you very much.

Hello
Please try latest Sun Studio Express which is based on NB 6.5.
You can find it on download page.

Similar Messages

  • Why does Sun Studio need NetBeans?

    Hi!
    Why does Sun Studio need a NetBeans installation for running successfully? If I am not too wrong, I believe Sun Studio has the same relation to the NetBeans project as Star Office has to OpenOffice.org?
    Now, coming to the solution. I am using Sun Studio 12 on Solaris:
    amit@opensolaris:~$ sunstudio --netbeanshome /export/home/amit/netbeans-6.5beta/bin/
    Validating NetBeans IDE at: "/export/home/amit/netbeans-6.5beta/bin/"
    Sun Studio is unable to find a supported version of the NetBeans IDE at the specified location.
    Sun Studio requires a NetBeans IDE version 5.5.1 with NetBeans C/C++ Development Pack version 5.5.1
    installed. Sun Studio looks for a valid NetBeans IDE installation in the following order:
    1) Location specified with --netbeanshome command line option
    2) At /opt/netbeans-5.5.1 location, if exists
    3) At /opt/SUNWspro/../netbeans-5.5.1 location, if exists
    4) At /opt/SUNWspro/../../netbeans-5.5.1 location, if exists
    Please run the System Preparation Tool (prepare_system), if available, to set up your environment.
    As is apparent, I have a NetBeans 6.5 Beta build.
    What is the solution?
    Thanks,
    Amit

    The realtionship from SunStudio to NetBEans is more than a line from A to B.
    Ideally SunStudio releases would track NetBeans releases.
    However, NetBeans evolves at a rather fast pace. At the same time SunStudio
    also contains compilers which have their own products to coordinate with ...
    OS releases, new SPARC chips and Sun system releases.
    These releases never coincide so SunStudio tends to lag in it's dependencies
    on NetBeans and as a result ships with it's own copy.
    We used to actually build our own, sometimes tweaked, NetBeans for SunStudio.
    Weve made some progress in that we just pick released NetBeans bits and re-ship them.
    We're working on the ability for SunStudio to use NetBeanses which are already
    installed.
    To make older SunStudios use newer NetBeans is a tougher proposition but
    we're dedicating grey cells to that matter as well.
    If you really want a NB 6.5 based SunStudio wait a bit. We'll be releasing
    SunStudio SX based on NB 6.5 shortly.

  • Sun studio and VCS integration?

    Hi,
    I can't find any information about what VCS, Sun studio can work with, I know netbeans provide CVS, SVN and Mercurial support, is it the same for Sun studio? Is there a documentation page about that, is there plugins, will netbeans plugins work with sun studio ?
    Thanx

    Yes, you are right, Netbeans provides CVS, SVN and Mercurial support (and probably
    some other VCS, like ClearCase), and Sun Studio IDE provides the same support.
    The Netbeans plugins will work with Sun Studio IDE.
    Thanks,
    Nik

  • Sun Studio and ANSI C compilation

    Hello, I have a program developed by a third party and it says i need to have a ANSI C99 compatible complier. Does Sun Studio have ANSI C compilation capabilities? If yes, what is the minimum version on Sun Studio that I should have, inorder to have this compiled. I am new to this OS and C programming. Please help.

    Assuming you are using Sun Studio 12, full C99 compliance is the default when running on Solaris 10.
    The basic flags you care about most often are about the same as any Unix or Linux compiler:
    -c compile only
    -g compile for debug
    -O moderate optimization
    -I<dir> add <dir> to the list of directories searched for header files
    -L<dir> add <dir> to the list of directories searched for shared (dynamic) libraries
    The C++ Users Guide appendix on compiler options describes all options in detail. You can find it via the "docs" directory in the compiler installation, or you can go here directly:
    http://docs.sun.com/app/docs/doc/819-5265/bjapp?a=view

  • Sun Studio & NetBeans not working

    Hi,
    I'm using Solaris Express CE b60 and some days ago Sun Studio and NetBeans is refusing to start.
    When run from a terminal Sun Studio writes this messages:
    "Warning: Missing charsets in String to FontSet conversion
    Warning: Cannot convert string "-monotype-arial-regular-r-normal---140---p--iso8859-1" to type FontStruct
    Warning: Unable to load any usable ISO8859-1 font
    Warning:
    Name: FONTLIST_DEFAULT_TAG_STRING
    Class: XmRendition
    Conversion failed. Cannot load font.
    Warning: Cannot convert string "-monotype-arial-regular-r-normal---140---p--iso8859-2" to type FontStruct
    Warning: Unable to load any usable ISO8859-1 font
    Warning:
    Name: FONTLIST_DEFAULT_TAG_STRING
    Class: XmRendition
    Conversion failed. Cannot load font."
    I haven't installed or removed nothing.
    Has someone an idea?
    Andrew

    Andrew,
    What java is in your path? (Use java -version to determine this). If you use java 1.4 that might be the reason. Please try java 1.5 or 1.6.
    Vladimir

  • Sun Studio (12,1) is unable to find a supported version of the Netbeans IDE

    Hi all,
    We're working on upgrading both the hardware and software on our application currently, and part of this involves upgrading our compiler to Sun Studio 12.1. I downloaded
    SunStudio12u1-SunOS-SPARC-pkgs-ML.tar.bz2
    from the Sun website and we installed it into the following location on our server:
    /opt/compiler/sunstudio12.1
    I successfully compiled all my code using the compiler, however, when I try to launch the debugger by typing ./sunstudio in the 'bin' directory, I get the following error:
    {opt/compiler/sunstudio12.1/bin}./sunstudio
    Sun Studio is unable to find a supported version of the NetBeans IDE.
    Sun Studio requires a NetBeans IDE version 6.5.1 with NetBeans C/C++ module (cnd
    2) enabled.
    Sun Studio looks for a valid NetBeans IDE installation in the following order:
    1) Location specified with --netbeanshome command line option
    2) At /opt/compiler/sunstudio12.1/netbeans
    I have seen references to executing 'prepare_system' on forums while I was trying to investigate this, but when our sys admin folks try to execute the command, it does not work (command not found). They've mentioned that they expected a prepare_system script in the directory where we untarred the downloaded sun studio tarfile, but it is not there:
    drwxrwxr-x 4 59001 staff 1024 Aug 20 2009 .
    drwxr-xr-x 3 yu12 lifecad 1024 Jul 2 09:48 ..
    drwxrwxr-x 4 59001 staff 1024 Aug 17 2009 LEGAL
    -rw-rw-r-- 1 59001 staff 3985 Aug 19 2009 SS12u1_README-pkgs.txt
    -rw-r--r-- 1 59001 staff 5598 Aug 20 2009 SS12u1_README-pkgs_ja.html
    -rw-r--r-- 1 59001 staff 4155 Aug 20 2009 SS12u1_README-pkgs_zh.html
    -rwxrwxr-x 1 59001 staff 517979136 Aug 6 2009 SunStudio12u1-SunOS-SPARC-pkgs.sh
    -rwxrwxr-x 1 59001 staff 11814 Aug 6 2009 install_patches.sh
    drwxrwxr-x 5 59001 staff 96 Aug 17 2009 patches
    I can see a netbeans directory was created as part of the install, but I'm not sure why sun studio thinks netbeans is not available (afraid my knowledge about netbeans is practically non existent):
    {opt/compiler/sunstudio12.1/netbeans}ls -l
    total 6062
    drwxr-x--- 2 root root 512 Apr 5 11:14 bin
    drwxr-x--- 7 root root 512 Apr 5 11:14 cnd2
    -rw-rw-r-- 1 root root 5254 Mar 5 2009 CREDITS_ja.html
    -rw-rw-r-- 1 root root 5175 Mar 5 2009 CREDITS_pt_BR.html
    -rw-rw-r-- 1 root root 4908 Mar 5 2009 CREDITS_zh_CN.html
    -rw-rw-r-- 1 root root 5434 Mar 5 2009 CREDITS.html
    -rw-rw-r-- 1 root root 1717 Mar 5 2009 DISTRIBUTION.txt
    -rw-rw-r-- 1 root root 0 Aug 6 2009 dummy
    drwxr-x--- 2 root root 512 Apr 5 11:14 etc
    drwxr-x--- 7 root root 512 Apr 5 11:14 gsf1
    drwxr-x--- 6 root root 512 Apr 5 11:14 ide10
    -rw-rw-r-- 1 root root 1845 Mar 5 2009 LEGALNOTICE.txt
    -rw-rw-r-- 1 root root 64275 Mar 5 2009 LICENSE.txt
    -rw-rw-r-- 1 root root 37141 Mar 5 2009 moduleCluster.properties
    drwxr-x--- 7 root root 512 Apr 5 11:14 nb6.5
    -rw-rw-r-- 1 root root 15822 Mar 5 2009 netbeans.css
    drwxr-x--- 8 root root 512 Apr 5 11:14 platform9
    -rw-rw-r-- 1 root root 6141 Mar 5 2009 README_ja.html
    -rw-rw-r-- 1 root root 5692 Mar 5 2009 README_pt_BR.html
    -rw-rw-r-- 1 root root 5122 Mar 5 2009 README_zh_CN.html
    -rw-rw-r-- 1 root root 5155 Mar 5 2009 README.html
    -rw-rw-r-- 1 root root 2913280 Mar 5 2009 THIRDPARTYLICENSE.txt
    drwxr-x--- 5 root root 512 Apr 5 11:14 websvccommon1
    Our server details are:
    {opt/compiler}uname -a
    SunOS a03714 5.10 Generic_142900-03 sun4v sparc SUNW,T5440
    Any advice appreciated on how to get the debugger working. Ideally, I'd prefer not to uninstall / reinstall if at all possible as we're about to start system testing our executables, and I think a reinstall would require more unit teting and delays to our project (yikes!). But any input would be appreciated here.
    Thanks,
    Brendan.

    Hi David,
    First off - thanks for the response. I do have some follow up questions if you don't mind though:
    1. When you say the install is corrupted, do you suspect
    - the file I downloaded from the website either was corrupted, or was not the correct file for my platform
    - the procedure used to install the software was incorrect
    - something else
    2. Is there a logfile that the sun studio install creates which would indicate an error during the installation procedure? I'm sure our admins who performed the install would have shouted if an error was logged... but on the offchance that the installation does not 'shout loudly' for some errors, I'd like to see a log of the error. At a minimum, I'd expect it to say why the install failed, and what we need to modify to ensure a successful install next time 'round.
    3. I successfully compiled my code using the C compiler from the install. My unit tests also look good... does this suggest that the install was at least a partial success, and would you suspect that my recompiled executables are reliable, despite the fact that I cannot launch the IDE?
    4. Today, one of our admins telnetted to our unix server - not via exceed by the way, but he did try the following test:
    - set his display env variable (he knew he would not get a display however)
    - executed the sunstudio script
    He did not get the netbeans error, and the process appeared to be running (as I mentioned, without a display) until he killed it. I've asked if they can repeat the test using an exceed session. I thought there may be something on his $PATH that I did not have - unfortunately this was not the case (although, he may have access as 'root' to something that I require to launch the IDE). My question is, would you expect this behaviour if the install was corrupted?
    Let me know what you think.
    Thanks,
    Brendan.

  • Sun Studio 12 startup exception

    Hi,
    Below was the exception I got when I started Sun Studio, it was running fine until I installed glib from pkgutil and it was still running fine when I was in the IDE. The error only happened after I quit Sun Studio and go back in. Any idea?
    java.lang.NullPointerException
    at org.netbeans.core.windows.persistence.TCRefParser$PropertyHandler.startElement(TCRefParser.java:250)
    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:533)
    at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.startElement(XMLDTDValidator.java:798)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:878)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$ContentDispatcher.scanRootElementHook(XMLDocumentScannerImpl.java:1157)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1794)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
    at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
    at org.netbeans.core.windows.persistence.TCRefParser$PropertyHandler.readData(TCRefParser.java:220)
    at org.netbeans.core.windows.persistence.TCRefParser.load(TCRefParser.java:79)
    at org.netbeans.core.windows.persistence.ModeParser.readTCRefs(ModeParser.java:293)
    at org.netbeans.core.windows.persistence.ModeParser.load(ModeParser.java:120)
    at org.netbeans.core.windows.persistence.WindowManagerParser.readModes(WindowManagerParser.java:408)
    at org.netbeans.core.windows.persistence.WindowManagerParser.load(WindowManagerParser.java:87)
    at org.netbeans.core.windows.persistence.PersistenceManager.loadWindowSystem(PersistenceManager.java:1015)
    at org.netbeans.core.windows.PersistenceHandler.load(PersistenceHandler.java:83)
    at org.netbeans.core.windows.WindowSystemImpl.load(WindowSystemImpl.java:45)
    [catch] at org.netbeans.core.NonGui$3.run(NonGui.java:224)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

    Are you saying that "sunstudio" does not run anymore on this system?
    Can you try to start it with empty userdir?
    % rm -rf /tmp/newdir
    % sunstudio --userdir  /tmp/newdir
    BTW, what OS do you use? I guess it is Linux, correct?
    Thanks,
    Nik

  • Problems with sun studio 12 in suse linux 11

    Hi.
    I installed Sun Studio 12 suse linux with no problems. However, the debugging modules (DBX) are not working any more. When I started Sun Studio, it gave a message about modules that could not be loaded in tha moment. I did not pay attention. But I noticed that all debugging options were disabled.
    Using the module manager, I saw the DBX module was not checked, and I could not change it. I was marked with a red X. So I thought to reinstall the application. However, the uninstall utility doesn't work either.
    According with the documentation, running ./uninstaller does it, but I get the following error message instead
    Exception in thread "main" java.lang.NoClassDefFoundError: uninstall_Sun_Studio_12/class
    Caused by: java.lang.ClassNotFoundException: uninstall_Sun_Studio_12.class
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    I tried to uninstall manually, and then execute installer, by using first the software manager in linux and deleting the producregistry file manually. It worked because I executed the installer. However, in Sun Studio IDE, debugging options are still not available despite I "reinstalled" the application. I checked the log files and they say the file uninstall_Sun_Studio_12.class could not be written.
    So my questions are:
    1. Is there any other way to repair Sun Studio? What could be the possible for this module to stop working?
    2. Does anyone have an idea of why the installer cannot write the uninstaller class?
    I found that perhaps problems regarding Java / Netbeans versions could be the problem, but the ones I have installed are those packages that were installed along with Sun Studio, and both are valid.
    Thank you very much.

    Perhaps you can simply delete the Sun Studio 12 installation tree, because it will not work on SUSE Linux 11.
    This OS is not supported, so any problems you see with SS12 on SUSE 11 will not be fixed.
    But we have a newer version, that should work better.
    You can try to download and install Sun Studio Express 2008/11 (extract pre-installed image from tar.bz2 file).
    Here is a pointer to the web page:
    http://developers.sun.com/sunstudio/downloads/express
    All you need is to provide a email address, and press "Download Now" button.
    You will see a page, that gives you 2 options to download Sun Studio Express 2008/11.
    Use "Option 2": Download Tarfile Installer
    Thanks,
    Nik

  • Sun studio 12: java exception on load

    I frequently get the following error when starting the sun studio 12 netbeans ui on Solaris 10 on Intel:
    *********** Exception occurred ************ at 12:45 PM on Jul 3, 2007
    java.lang.UnsatisfiedLinkError: no base in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
    at java.lang.Runtime.loadLibrary0(Runtime.java:822)
    at java.lang.System.loadLibrary(System.java:992)
    at com.sun.tools.swdev.toolscommon.base.InstallDir.loadLibrary(InstallDi
    r.java:85)
    at com.sun.tools.swdev.toolscommon.base.Stat.<clinit>(Stat.java:201)
    and this prevents the UI from working properly. I have to retry a few times and sometimes it starts up without any issues. Any idea what can cause this and how to prevent it from happening?

    It seems to depend on what directory I am in when I try and launch sunstudio. Sometimes it only works when I am in the root folder, sometimes it works when I am in the folder that contains my project.
    This is the only message on the console where i run it from:
    Warning: Cannot convert string "-monotype-arial-regular-r-normal--*-140-*-*-p-*-iso8859-1" to type FontStruct
    Here are the full traces:
    java.lang.NoClassDefFoundError
         at com.sun.tools.swdev.sunstudio.redirect.CESRedirector.getBestPath(CESRedirector.java:103)
         at com.sun.tools.swdev.sunstudio.redirect.CESRedirector.redirect(CESRedirector.java:66)
         at org.openide.text.CloneableEditorSupportRedirector.findRedirect(CloneableEditorSupportRedirector.java:50)
         at org.openide.text.CloneableEditorSupport.getLineSet(CloneableEditorSupport.java:932)
         at com.sun.tools.debugger.dbxgui.utils.IpeUtils.lineNumberToLine(IpeUtils.java:96)
         at com.sun.tools.debugger.dbxgui.debugger.EditorBridge.getLine(EditorBridge.java:277)
         at com.sun.tools.debugger.dbxgui.debugger.breakpoints.NativeBreakpoint.addAnnotation(NativeBreakpoint.java:1516)
         at com.sun.tools.debugger.dbxgui.debugger.breakpoints.BreakpointXMLCodec.startElement(BreakpointXMLCodec.java:161)
         at org.netbeans.modules.cnd.api.xml.XMLDecoder._startElement(XMLDecoder.java:87)
         at org.netbeans.modules.cnd.api.xml.XMLDecoder.checkStartRecursion(XMLDecoder.java:104)
         at org.netbeans.modules.cnd.api.xml.XMLDecoder._startElement(XMLDecoder.java:84)
         at org.netbeans.modules.cnd.api.xml.XMLDecoder.checkStartRecursion(XMLDecoder.java:104)
         at org.netbeans.modules.cnd.api.xml.XMLDecoder._startElement(XMLDecoder.java:84)
         at org.netbeans.modules.cnd.api.xml.XMLDocReader$Parser.startElement(XMLDocReader.java:233)
         at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:533)
         at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:220)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:872)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1693)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
         at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
         at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
         at org.netbeans.modules.cnd.api.xml.XMLDocReader.read(XMLDocReader.java:111)
         at com.sun.tools.debugger.dbxgui.debugger.breakpoints.BreakpointXMLReader.readFrom(BreakpointXMLReader.java:36)
         at com.sun.tools.debugger.dbxgui.debugger.UserdirFile.read(UserdirFile.java:105)
         at com.sun.tools.debugger.dbxgui.debugger.breakpoints.BreakpointXMLReader.read(BreakpointXMLReader.java:30)
         at com.sun.tools.debugger.dbxgui.debugger.breakpoints.BreakpointBag.restore(BreakpointBag.java:322)
         at com.sun.tools.debugger.dbxgui.debugger.DbxDebuggerManager.breakpointBag(DbxDebuggerManager.java:878)
         at com.sun.tools.debugger.dbxgui.DbxGuiModule.restored(DbxGuiModule.java:137)
         at org.netbeans.core.startup.NbInstaller.loadCode(NbInstaller.java:366)
         at org.netbeans.core.startup.NbInstaller.load(NbInstaller.java:282)
         at org.netbeans.ModuleManager.enable(ModuleManager.java:904)
         at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:383)
         at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:317)
         at org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:250)
         at org.netbeans.core.startup.Main.getModuleSystem(Main.java:210)
         at org.netbeans.core.startup.Main.start(Main.java:381)
         at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:96)
    [catch] at java.lang.Thread.run(Thread.java:595)
    and
    java.lang.UnsatisfiedLinkError: no base in java.library.path
         at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
         at java.lang.Runtime.loadLibrary0(Runtime.java:822)
         at java.lang.System.loadLibrary(System.java:993)
         at com.sun.tools.swdev.toolscommon.base.InstallDir.loadLibrary(InstallDir.java:85)
         at com.sun.tools.swdev.toolscommon.base.Stat.<clinit>(Stat.java:201)
         at com.sun.tools.swdev.sunstudio.redirect.CESRedirector.getBestPath(CESRedirector.java:103)
         at com.sun.tools.swdev.sunstudio.redirect.CESRedirector.redirect(CESRedirector.java:66)
         at org.openide.text.CloneableEditorSupportRedirector.findRedirect(CloneableEditorSupportRedirector.java:50)
         at org.openide.text.CloneableEditorSupport.setMIMEType(CloneableEditorSupport.java:1190)
         at org.apache.tools.ant.module.loader.AntProjectDataEditor.<init>(AntProjectDataEditor.java:52)
         at org.apache.tools.ant.module.loader.AntProjectDataObject.<init>(AntProjectDataObject.java:43)
         at org.apache.tools.ant.module.loader.AntProjectDataLoader.createMultiObject(AntProjectDataLoader.java:66)
         at org.openide.loaders.MultiFileLoader.handleFindDataObject(MultiFileLoader.java:83)
         at org.openide.loaders.DataObjectPool.handleFindDataObject(DataObjectPool.java:129)
         at org.openide.loaders.DataLoader.findDataObject(DataLoader.java:364)
         at org.openide.loaders.DataLoaderPool.findDataObject(DataLoaderPool.java:408)
         at org.openide.loaders.DataLoaderPool.findDataObject(DataLoaderPool.java:368)
         at org.openide.loaders.DataObject.find(DataObject.java:465)
         at org.netbeans.modules.cnd.makeproject.api.configurations.Item.getDataObject(Item.java:246)
         at org.netbeans.modules.cnd.makeproject.api.configurations.Item.addPropertyChangeListener(Item.java:157)
         at org.netbeans.modules.cnd.makeproject.api.configurations.Item.setFolder(Item.java:152)
         at org.netbeans.modules.cnd.makeproject.api.configurations.Folder.addItem(Folder.java:183)
         at org.netbeans.modules.cnd.makeproject.configurations.ConfigurationXMLCodec.endElement(ConfigurationXMLCodec.java:340)
         at org.netbeans.modules.cnd.api.xml.XMLDecoder.checkEndRecursion(XMLDecoder.java:133)
         at org.netbeans.modules.cnd.api.xml.XMLDecoder._endElement(XMLDecoder.java:92)
         at org.netbeans.modules.cnd.api.xml.XMLDocReader$Parser.endElement(XMLDocReader.java:245)
         at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:633)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1241)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1685)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
         at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
         at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
         at org.netbeans.modules.cnd.api.xml.XMLDocReader.read(XMLDocReader.java:111)
         at org.netbeans.modules.cnd.makeproject.configurations.ConfigurationXMLReader.read(ConfigurationXMLReader.java:86)
         at org.netbeans.modules.cnd.makeproject.api.configurations.ConfigurationDescriptorProvider.getConfigurationDescriptor(ConfigurationDescriptorProvider.java:62)
         at org.netbeans.modules.cnd.makeproject.MakeProject$ProjectOpenedHookImpl.projectOpened(MakeProject.java:496)
         at org.netbeans.spi.project.ui.ProjectOpenedHook$1.projectOpened(ProjectOpenedHook.java:56)
         at org.netbeans.modules.project.ui.OpenProjectList.notifyOpened(OpenProjectList.java:593)
         at org.netbeans.modules.project.ui.OpenProjectList.getDefault(OpenProjectList.java:154)
         at org.netbeans.modules.project.ui.OpenProjectsTrampolineImpl.getOpenProjectsAPI(OpenProjectsTrampolineImpl.java:45)
         at org.netbeans.api.project.ui.OpenProjects.getOpenProjects(OpenProjects.java:81)
         at org.netbeans.modules.cnd.modelimpl.platform.ModelSupport.init(ModelSupport.java:108)
         at org.netbeans.modules.cnd.modelimpl.csm.core.ModelImpl.<init>(ModelImpl.java:57)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
         at java.lang.Class.newInstance0(Class.java:350)
         at java.lang.Class.newInstance(Class.java:303)
         at org.openide.util.lookup.MetaInfServicesLookup$P.getInstance(MetaInfServicesLookup.java:412)
         at org.openide.util.lookup.AbstractLookup.lookup(AbstractLookup.java:342)
         at org.openide.util.lookup.ProxyLookup.lookup(ProxyLookup.java:188)
         at org.netbeans.modules.cnd.api.model.CsmModelAccessor.getModel(CsmModelAccessor.java:139)
         at org.netbeans.modules.cnd.highlight.HighlightProvider.<init>(HighlightProvider.java:69)
         at org.netbeans.modules.cnd.highlight.HighlightProvider.<clinit>(HighlightProvider.java:59)
         at org.netbeans.modules.cnd.highlight.HighlightInstaller.restored(HighlightInstaller.java:32)
         at org.netbeans.core.startup.NbInstaller.loadCode(NbInstaller.java:366)
         at org.netbeans.core.startup.NbInstaller.load(NbInstaller.java:282)
         at org.netbeans.ModuleManager.enable(ModuleManager.java:904)
         at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:383)
         at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:317)
         at org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:250)
         at org.netbeans.core.startup.Main.getModuleSystem(Main.java:210)
         at org.netbeans.core.startup.Main.start(Main.java:381)
         at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:96)
    [catch] at java.lang.Thread.run(Thread.java:595)

  • What happened to GUI development in Sun Studio 12

    Sun Studio 11 had xdesigner more/less integrated with it so you could develop windows (gui) apps. I cannot find anything in SunStudio 12 to enable me to develop C++ gui apps. Even netbeans doesn't seem to be integrated with sunstudio and has to launched/run separately. Am I missing something? Can I no longer create/maintain xwindow apps when using sunstudio 12?

    The X-designer that shipped with Studio 11 was already quite old and out-of-date, so we stopped shipping it as of Studio 12. (It's hard to justify paying for new 3rd-party software to ship with a free product.) Design tools are available from various other sources.
    Current versions of Sun Studio require a special version of NetBeans -- you can't use the generic NB that you get from netbeans.org with the compilers and debugger. You can of course install the generic NB in addition to the one that comes with Sun Studio, and use it for other purposes. For example, on my system I installed the current NB in a directory parallel to the one used by Sun Studio.
    Future versions of Sun Studio will use a generic NetBeans, eliminating this particular inconvenience.

  • Compiling iperf on Solaris 10 8/07 w/ Sun Studio 12 -- Errors

    /var/tmp/iperf-2.0.2 (nocc-testjump) #> /usr/local/bin/make
    /usr/local/bin/make  all-recursive
    make[1]: Entering directory `/var/tmp/iperf-2.0.2'
    Making all in compat
    make[2]: Entering directory `/var/tmp/iperf-2.0.2/compat'
    if g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../include -I../include    -O2  -MT delay.o -MD -MP -MF ".deps/delay.Tpo" -c -o delay.o delay.cpp; \
            then mv -f ".deps/delay.Tpo" ".deps/delay.Po"; else rm -f ".deps/delay.Tpo"; exit 1; fi
    In file included from /usr/include/sys/wait.h:24,
                     from /usr/include/stdlib.h:22,
                     from ../include/headers.h:78,
                     from ../include/Timestamp.hpp:63,
                     from delay.cpp:53:
    /usr/include/sys/siginfo.h:259: 'ctid_t' is used as a type, but is not defined
       as a type.
    /usr/include/sys/siginfo.h:260: 'zoneid_t' is used as a type, but is not
       defined as a type.
    /usr/include/sys/siginfo.h:390: 'ctid_t' is used as a type, but is not defined
       as a type.
    /usr/include/sys/siginfo.h:391: 'zoneid_t' is used as a type, but is not
       defined as a type.
    make[2]: *** [delay.o] Error 1
    make[2]: Leaving directory `/var/tmp/iperf-2.0.2/compat'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/var/tmp/iperf-2.0.2'
    make: *** [all] Error 2
    /var/tmp/iperf-2.0.2 (nocc-testjump) #> Any ideas why I'm getting this problem?

    In general, if you are having a problem compiling Open Source code with Sun Studio, you need to try the community support portal for that code.
    Start with the Iperf home page
    [http://starplane.org/tooldoc/iperf/]
    Often, Open Source code has been tried only with gcc, and won't build with other compilers without some effort.
    If nobody else has tried using Sun Studio, you might need to do some debugging of configuration scripts and even source code.
    The Iperf home page provides an address where you can report such problems.
    In addition, older versions of autoconf and libtool don't work with Sun Studio, and can generate invalid makefiles. Be sure you have the current versions of both, if they are used by Iperf.

  • Volunteer needed to help debug a Boost library in Sun Studio

    Hello,
    I've recently added a new Boost library called Boost.Flyweight to this project's
    internal repository
    [http://svn.boost.org/svn/boost/trunk/libs/flyweight/doc/index.html]
    and found out that Sun Studio (versions 5.7 thru 5.9) have runtime problems with
    a particular library test, as described in
    [http://lists.boost.org/boost-testing/2008/12/6048.php]
    My requests for help at the Boost mailing lists have met no response, so I'm
    looking here for volunteers to help debug this problem. Basically I need someone
    with access to Sun Studio and some C++ fluency (and familiarity with
    Boost is a plus, too). I'd be trying to provide as much support as possible
    during the process. In return the kind volunteer will receive my eternal gratitude
    and an entry in the lib's acknowledgements section.
    If you're interested please drop me an email to joaquin at tid.es
    Thank you very much,
    Joaquín M López Muñoz
    Telefónica, Investigación y Desarrollo

    The problem has been identified as a compiler bug, and bug number 6782987 has been filed for it.
    The bug report will be visible at bugs.sun.com in a day or two.
    Compiler versions earlier than 5.9 (Sun Studio 12) are not very good a compiling BOOST, but this particular bug exists in the latest development compiler. One of our engineers is looking for a workaround, and he will post something here if he finds one.
    A fix for this bug should show up in a future patch to Sun Studio 12. If you have a service contract with Sun, you can escalate this bug for faster service, and get a pre-release version of the compiler patch.

  • Reset to the default windows in Sun Studio 10

    Hi,
    I have messed around with the window layout in sun studio and I cannot find an option to restore the layout to the default. Can anyone help me?
    Thanks

    Yes I had thought of that, but that will delete all the projects I have set up. I was hoping there was less sledgehammery approach.
    But thanks for the suggestion.

  • How to generate gdb compatible .o for CMT using Sun Studio C compiler?

    Hello,
    we've been working on a joint project for telco bearer plane applications on CMT.
    We started the project using gcc for Sparc and we switched to Sun Studio compiler when we hit some bugs in gcc (optimized mode was not completely stable). The switch took a few weeks due to syntax differences and toolchain option changes.
    With Sun Studio we got a double digit percent performance improvement, so Sun Studio proved more stable and faster than gcc.
    To debug programs we require gdb, because the Telco customers are more familiar with it. The problem is that Sun Studio generates object files which are not compatible with gdb.
    Our main requirement is to be able to generate gdb compatible object files using Sun Studio compiler.
    We checked this link:
    http://cooltools.sunsource.net/gcc/ReleaseNotes.html
    but this seems to be a variant of gcc. At this point we cannot switch compiler because of the performance and stability issues mentioned above and because it will take a few weeks to months to switch.
    We have two questions:
    1) Is there a way to generate gdb compatible object files using Sun Studio 11?
    2) If not, is this funcionality going to be available in a future release of Sun Studio and what is the time frame?
    Thanks for your help.
    Marco Zandonadi
    Teja Technologies

    The undefined symbol is in the C++ runtime support library that is part of Solaris. Probably you have an out-fo-date version of the libraries.
    You can get current patches from the Sun Studio patch page:
    http://developers.sun.com/prodtech/cc/downloads/patches/index.html
    From the page for your version of WorkShop or Sun Studio, select the C++ Runtime Library patch for the version of Solaris that your are running. While you are at it, you can get the current compiler patches as well.
    If patching the runtime libraries does not fix the problem, let me know, and also show the exact command lines that you use for compiling and linking the program.

  • How to report bugs for Sun Studio 12 update 1?

    I want to report a bug for the Sun Studio 12u1 C compiler, but bugreport.sun.com doesn't know about Sun Studio 12u1. The latest release know is SS12.
    Furthermore, the form doesn't allow to attach additional files, e.g. sources and other information needed to reproduce the problem.
    Since we have a valid service support contract with Sun, I used the official channel via the member support center, on January 15. Now, one month later, there is still no answer - and searching the databases both on sunsolve and bugreport.sun.com show, that my report hasn't gotten that far, yet.
    I really like Sun Studio, and I use it both for research and education, but reporting issues is really a problem. This somehow spoils the fun, both for the end users and the developers of a really great product!
    So the big question is: What is the best and quickest way to get bugs reported?
    Regards,
    Bernd

    If you have a support contract, the best way is to report via official channel; this is the only way to ensure that the bug is fixed in a patch for already released product. The fact that you can't find your report on sunsolve and bugreport.sun.com does not mean anything: not all bugs are public for obvious reasons.
    I think you should request an update via the same official channel; if you get nothing in a reasonable time (a day, I think), please report back here, we'll try to find out what's going on.

Maybe you are looking for