[Bug 234894] New: Surefire - Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002

  • From:
  • To:
  • Subject: [Bug 234894] New: Surefire - Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002
  • Date: Fri, 23 Aug 2013 15:54:14 +0000
  • Auto-submitted: auto-generated

https://netbeans.org/bugzilla/show_bug.cgi?id=234894

            Bug ID: 234894
        Issue Type: DEFECT
           Summary: Surefire - Could not open/create prefs root node
                    Software\JavaSoft\Prefs at root 0x80000002
           Product: apisupport
           Version: 7.4
          Hardware: PC
                OS: Windows 7
            Status: NEW
          Priority: P3
         Component: Maven
          Assignee: 

          Reporter: 

        QA Contact: 


I've created a default maven netbeans application and the build fails with
activated tests. 

I get this error message:

-------------------------------------------------------------------------------
Test set: de.sepix.demo.app.brdemo.ApplicationTest
-------------------------------------------------------------------------------
Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.107 sec <<<
FAILURE!
testApplication(de.sepix.demo.app.brdemo.ApplicationTest)  Time elapsed: 0.011
sec  <<< FAILURE!
junit.framework.AssertionFailedError: NbModuleSuite has been started with
failOnMessage(WARNING) and failOnException(INFO). The following failures have
been captured:
[java.util.prefs] THREAD: main MSG: Could not open/create prefs root node
Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...)
returned error code 5.

    at
org.netbeans.junit.internal.NbModuleLogHandler.checkFailures(NbModuleLogHandler.java:218)
    at
org.netbeans.junit.NbModuleSuite$NbTestSuiteLogCheck.runTest(NbModuleSuite.java:1604)
    at junit.framework.TestSuite.run(TestSuite.java:238)
    at junit.framework.TestSuite.runTest(TestSuite.java:243)
    at junit.framework.TestSuite.run(TestSuite.java:238)
    at
org.netbeans.junit.NbModuleSuite$S.runInRuntimeContainer(NbModuleSuite.java:944)
    at org.netbeans.junit.NbModuleSuite$S.access$100(NbModuleSuite.java:667)
    at org.netbeans.junit.NbModuleSuite$S$1.protect(NbModuleSuite.java:688)
    at junit.framework.TestResult.runProtected(TestResult.java:128)
    at org.netbeans.junit.NbModuleSuite$S.run(NbModuleSuite.java:684)
    at
org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
    at
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
    at
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
    at
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:491)
    at
org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
    at
org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
    at
org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
    at
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:113)
    at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)

I've no "Prefs"-entry under LOCAL_MACHINE/Software/JavaSoft. IMHO it's an
access denied error. The Prefs section is under CURRENT_USER/...


----
Product Version = NetBeans IDE Dev (Build 201308222300)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.8.0-ea
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.0-b45

-- 
You are receiving this mail because:
You are the QA Contact for the bug.


[Bug 234894] New: Surefire - Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002

arittner 08/23/2013

[Bug 234894] Surefire - Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002

arittner 08/23/2013

[Bug 234894] Surefire - Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002

arittner 08/23/2013

[Bug 234894] Surefire - Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002

mkleint 08/26/2013

Project Features

About this Project

APIsupport was started in November 2009, is owned by Antonin Nebuzelsky, and has 43 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20140418.2d69abc). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close