Forum Stats

  • 3,733,138 Users
  • 2,246,703 Discussions
  • 7,856,530 Comments

Discussions

Beta 12.4 (Jul 2014) SolStudio Debugger on Solaris Sparc 64 broken by latest C/C++ plugin update?

Stopped working after latest update (C/C++ plugin):

java.lang.NoSuchMethodError: org.netbeans.modules.cnd.makeproject.api.configurations.MakeConfigurationDescriptor.getMakeConfigurationDescriptor(Lorg/netbeans/api/project/Project;)Lorg/netbeans/modules/cnd/makeproject/api/configurations/MakeConfigurationDescriptor;

    at org.netbeans.modules.cnd.tha.support.THAProjectSupport.getInstrumentationSupport(THAProjectSupport.java:460)

    at org.netbeans.modules.cnd.tha.support.THAProjectSupport.isConfiguredForInstrumentation(THAProjectSupport.java:144)

    at org.netbeans.modules.cnd.tha.support.InstrumentationControllerStepProvider$1.validate(InstrumentationControllerStepProvider.java:32)

    at org.netbeans.modules.cnd.makeproject.MakeActionProvider.validateStep(MakeActionProvider.java:1485)

    at org.netbeans.modules.cnd.makeproject.MakeActionProvider.addAction(MakeActionProvider.java:456)

    at org.netbeans.modules.cnd.makeproject.MakeActionProvider.access$100(MakeActionProvider.java:163)

    at org.netbeans.modules.cnd.makeproject.MakeActionProvider$1.runImpl(MakeActionProvider.java:335)

    at org.netbeans.modules.cnd.makeproject.MakeActionProvider$CancellableTask.run(MakeActionProvider.java:1836)

    at org.netbeans.modules.cnd.utils.ui.ModalMessageDlg$LongWorkerImpl.doWork(ModalMessageDlg.java:200)

    at org.netbeans.modules.cnd.utils.ui.ModalMessageDlg$Worker.run(ModalMessageDlg.java:149)

    at org.netbeans.modules.progress.ui.RunOffEDTImpl$3.run(RunOffEDTImpl.java:275)

    at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1423)

[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)

Notes:

   * Beta 12.4 (Jul 2014) SolStudio on Solaris Sparc 64 does not work with anything else than jdk1.8_x (_20/_25)

   * Beta 12.4 (Jul 2014) SolStudio on Solaris Sparc 64 crashes from the outset with:

$ [...]/SOLSTUDIO-12.4/SolarisStudio12.4-beta_jul14-solaris-sparc/bin/solstudio --jdkhome [...]/jdk1.7.0_71/

#

# A fatal error has been detected by the Java Runtime Environment:

#

#  SIGSEGV (0xb) at pc=0xfe25d924, pid=15466, tid=2

#

# JRE version: Java(TM) SE Runtime Environment (7.0_71-b14) (build 1.7.0_71-b14)

# Java VM: Java HotSpot(TM) Server VM (24.71-b01 mixed mode solaris-sparc )

# Problematic frame:

# V  [libjvm.so+0x25d924]  jni_GetMethodID+0x204

#

# Core dump written. Default location: /home/vamiot/SandBox/core or core.15466

#

# An error report file with more information is saved as:

# /home/vamiot/SandBox/hs_err_pid15466.log

#

# If you would like to submit a bug report, please visit:

#   http://bugreport.sun.com/bugreport/crash.jsp

#

   * the built-in reporting tool is broken: complains about misconfigured proxy (even thought tools->options->general->Test Connection reports the connection works fine)

Answers

  • 880985
    880985 Member Posts: 2

    I guess that's C/C++ plugin update, which broke IDE.

    This will be fixed in release version, but the problem stil exists in beta.

    The workaround depends on where you installed this update.

    By default it is installed in your user dir (~/.solstudio/$version).

    (If you installed Studio as root that's the only way)

    If that's the case, then exit IDE, clean user dir, restart IDE, and do not agree to upgrade after that. Please note that if you modified options in Tools > Options, these changes will be gone after cleaning user dir.

    Otherwise you'll have to reinstall beta

This discussion has been closed.