Windows error 0x80000002, -2147483646

Detailed Error Information

E_OUTOFMEMORY[1]

MessageRan out of memory
Declared inwinerror.h

HRESULT analysis[2]

FlagsSeverityFailure
Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode0 (0x000)
NameFACILITY_NULL[2][1]
DescriptionThe default facility code.[2][1]
Error Code2 (0x0002)

Questions

10votes
1answer

papi_avail: No events available

I want to get into PAPI. I have Version 5.3.2.0 on Debian GNU/Linux. papi_avail just tells me that no hardware events are available: $ papi_avail Available events and hardware information. -------------------------------------------------------------------------------- PAPI Version : 5.3.2.0 Vendor string and code : GenuineIntel (1) Model string and code : Intel(R) Core(TM) i3-5010U [...] read more
papi
5votes
1answer

From Raku/Perl6, how to read this registry key?

Windows With Raku/Perl6, how do I use NativeCall to read the value of [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\ "EnableLUA"] with RegQueryValueExW? https://docs.microsoft.com/en-us/windows/win32/api/winreg/nf-winreg-regqueryvalueexw Many thanks, -T edit 12-27-2019 #1: removing bad code and inserting new code This is how far I have gotten. Test run string: K:\Windows\NtUtil>perl6 -I. -e "use WinMount :GetLUA; say GetLUA();" RegOpenKeyExW [...] read more
winapi
raku
5votes
1answer

Spring Boot web application running on Google App Engine - throws jetty exception

When I execute gradlew appengineRun, I consistently get: Starting a Gradle Daemon (subsequent builds will be faster) Mar 26, 2018 5:47:48 PM java.util.prefs.WindowsPreferences <init> WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5. 2018-03-26 17:47:51.665:INFO::main: Logging initialized @3872ms 2018-03-26 17:47:53.727:INFO:oejs.Server:main: jetty-9.3.18.v20170406 2018-03-26 [...] read more
google-app-engine
spring-boot
spring-boot-gradle-plugin
4votes
4answers

Java could not open/create prefs error

I am trying to get MIDI audio to play, but when ever I do this it keeps returning the error ` May 18, 2014 10:23:29 AM java.util.prefs.WindowsPreferences <init> WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5. I have gone into regedit [...] read more
java
4votes
2answers

Android Mediarecorder setNextOutputFile IllegalStateException

I am trying to split my audio recording with android mediarecorder into multiple files, but whenever I set the next output file, I got an illegalstate exception. Here's the code: private void getMediaRecorderReady(String filePath, FileDescriptor nextFile) { bufferSize = 88200; recorder = new MediaRecorder(); recorder.setAudioSource(MediaRecorder.AudioSource.MIC); recorder.setOutputFormat(MediaRecorder.OutputFormat.AAC_ADTS); recorder.setAudioEncoder(MediaRecorder.AudioEncoder.AAC); recorder.setAudioEncodingBitRate(64000); recorder.setAudioSamplingRate(44100); recorder.setAudioChannels(1); [...] read more
android
mediarecorder
3votes
3answers

How to get CPU brand information in ARM64?

In Windows X86, the CPU brand can be queried with cpuid intrinsic function. Here is a sample of the code: #include <stdio.h> #include <intrin.h> int main(void) { int cpubrand[4 * 3]; __cpuid(&cpubrand[0], 0x80000002); __cpuid(&cpubrand[4], 0x80000003); __cpuid(&cpubrand[8], 0x80000004); char str[48]; memset(str, 0, sizeof str); memcpy(str, cpubrand, sizeof cpubrand); printf("%s\n", str); } [...] read more
c
windows
intrinsics
arm64
3votes
1answer

Broken CPUID brand string?

I am printing some information about CPU in my OS using CPUID instruction. Reading and printing vendor string(GenuineIntel) works well, but reading brand string gives me little strange string. ok cpu-info <= Run command CPU Vendor name: GenuineIntel <= Vendor string is good CPU Brand: D: l(R) Core(TMD: CPU MD: [...] read more
c++
assembly
x86-64
masm
uefi
3votes
1answer

Read windows registry info from remote system using Jacob

Im trying to run some WMI queries using JACOB, and so far i've been successfull in getting the services and processes however i need to query the registry to see if a certain key is there i've stummbled across this link but i dont understand how to implement it in [...] read more
java
wmi
wmic
wmi-query
jacob
3votes
1answer

Using grub in floppy image file to start your own kernel inside bochs

Basically I've followed the instructions here http://sig9.com/bochs-grub to create a bare image file which does nothing but lets the BIOS start GRUB. The problems are: * The kernel I am writing will be 32-bit, using http://www.jamesmolloy.co.uk/tutorial_html/index.html for a start, but my host (physical) machine is x86_64 with bochs configured like [...] read more
assembly
x86
osdev
grub
bochs
3votes
1answer

GWT Sample Application not working in IntelliJ IDEA

I've been trying to get started using GWT however I didn't want to switch over to Eclipse from my students IntelliJ IDEA Ultimate License, which is the IDE used in the gwtproject.org tutorial. In this tutorial they first want you to create a Sample Web App using webAppCreator, which I [...] read more
java
intellij-idea
gwt
3votes
1answer

error when trying to launch simulator on codenameone

I just installed codenameone on my eclipse IDE and I get this error whenever I launch the simulator. Version:Eclipse Oxygen Release (4.7.3) Build: 20180308-1800 . WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5. java.io.IOException: /theme.res not found at com.codename1.ui.util.Resources.open(Resources.java:740) at com.codename1.ui.util.Resources.openLayered(Resources.java:704) [...] read more
eclipse
codenameone
3votes
1answer

Second stage bootLoader not loading in bochs, LINUX (ubuntu 16.04), Brokenthorn osdev series

I am following brokenthorn OS development series, until now I am able sucessfully run bootloader stage1 but there is some issue with loading second stage bootloader from FAT12 floppy in bochs emulator on linux machine(ubuntu 16.04) (It works fine in virtual box though). Here is my stage1 boot loader: bits [...] read more
assembly
x86
bootloader
osdev
bochs
2votes
1answer

Why is paging not working and getting physical address not available error on Bochs

I have the following assembly code to set up paging for long mode. org 0x7e00 bits 32 mov eax, 0x08000008 mov cr3, eax pml4t: mov dword [0x8000], 0x0900000f mov dword [0x8004], 0x0 pdpt: mov dword [0x9000], 0x0a00000f mov dword [0x9004], 0x0 pdt: mov dword [0xa000], 0x0b00000f mov dword [0xa004], 0x0 [...] read more
assembly
x86
paging
bootloader
2votes
3answers

NullPointer Exception in readStringValues method in WinRegistry class

Here is the WinRegistry class I am using to readStringValues for a Key and am getting NullPointerException: public class WinRegistry { public static final int HKEY_CURRENT_USER = 0x80000001; public static final int HKEY_LOCAL_MACHINE = 0x80000002; public static final int REG_SUCCESS = 0; public static final int REG_NOTFOUND = 2; public [...] read more
java
2votes
0answers

Eclipse Vaadin Widgetset compile heap size problem

While compiling vaadin widgetset on my eclipse, i get this error. i see some posts that say we can change heap space size in vaadin plugin but there is no settings like this on my eclipse. (My plugin settings)(Related Post) while compiling widgetset, vaadin plugin runs a command and it [...] read more
eclipse
vaadin8
2votes
1answer

Getting the name of the installed program, its version and installation date WMI C#

I'm trying to get information about the programs installed on remote devices. At the moment, I found a way to output all installed programs. Is there a way to get the version and date of installation? List<string> programs = new List<string>(); ConnectionOptions connectionOptions = new ConnectionOptions(); connectionOptions.Username = "USERNAME"; connectionOptions.Password [...] read more
c#
wmi
2votes
0answers

Findbugs maven strange warning

I am using maven 3.5.2 and the following configuration of findbugs maven plugin: <!-- Findbugs checks --> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>findbugs-maven-plugin</artifactId> <version>${findbugs.maven.version}</version> <configuration> <effort>Max</effort> <excludeFilterFile>findbugs-filter.xml</excludeFilterFile> </configuration> <executions> <execution> <goals> <goal>check</goal> </goals> </execution> </executions> </plugin> Where findbugs-filter.xml contains: <FindBugsFilter> <Match> <Bug code="" category="EXPERIMENTAL" /> </Match> </FindBugsFilter> and I am getting the following [...] read more
java
maven
findbugs
spotbugs
2votes
1answer

Vaadin Custom Components/Widgets with Maven and Spring Boot

I am relatively new to vaadin and started out with a spring boot application and the vaadin spring boot plugin. Everything worked fine until I got to the point where I tried to create my own components/widgets. Unfortunately I didn't find any "official" example/documentation how to set up custom components [...] read more
maven
gwt
spring-boot
vaadin7
2votes
0answers

I am trying to deploy my project to Google app engine but I'm getting an error message

I am trying to deploy my project to Google appengine. I get error message as shown below. Project name: u3eproject Project ID : uthreee3 Here is my Appengine-web.xml <?xml version="1.0" encoding="utf-8"?> <appengine-web-app xmlns="http://appengine.google.com/ns/1.0"> <application>uthreee3</application> <version>1</version> <!-- Allows App Engine to send multiple requests to one instance in parallel: --> <threadsafe>true</threadsafe> [...] read more
java
google-app-engine
2votes
0answers

Android app using firebase and google app engine

I did exactly as described in this document to connect android app with firebase and app engine, till the connection of app module with the firebase everything is okay but the servlet part connection with firebase is not working and after calling the servlet from the browser I am getting [...] read more
java
android
google-app-engine
firebase
firebase-realtime-database
2votes
1answer

Cannot deploy HelloWorld App to Appspot

I have been following this Udacity tutorial on how to deploy to Appspot from Eclipse EE. https://classroom.udacity.com/courses/ud859/lessons/1215898636/concepts/14551185740923# here are the instructions written out... https://docs.google.com/document/d/1EO3pQ53DQP3SW4LCnOLiUtgAKCWbqXVprBWj0TOlRUM/pub I believe I have followed it to the letter, but when I try to update the application it insists that the project does not exist and [...] read more
eclipse
maven
google-app-engine
google-cloud-platform
2votes
1answer

API Explorer gives error - Failed to retrieve API configs with status: 500

I have been building a backend for my Android App using GAE and I am using Endpoints API. I have been able to deploy the backend successfully until now on the dev server. Today, out of the blue I am getting this exception while deploying the backend. I haven't changed [...] read more
google-app-engine
objectify
1vote
1answer

C# WMI Registry GetStringValue returning null when string is there

I am using the following code that I have put together reading other questions here: ConnectionOptions oConn = new ConnectionOptions(); System.Management.ManagementScope scope = new System.Management.ManagementScope(@"\\" + "compname" + @"\root\cimv2", oConn); scope.Connect(); MessageBox.Show(""); ManagementClass registry = new ManagementClass(scope, new ManagementPath("StdRegProv"), null); ManagementBaseObject inParams = registry.GetMethodParameters("GetStringValue"); inParams["hDefKey"] = 0x80000002;// HKEY_LOCAL_MACHINE; inParams["sSubKeyName"] = [...] read more
c#
string
registry
wmi
1vote
4answers

Not able to run .jmx file from command prompt

I am running the JMeter script through cmd[non-gui mode] but unfortunately, I am unable to run the same. can you please help me ? D:\Jmeter\apache-jmeter-5.1.1\bin>jmeter -n -t Regular_Expression_Practice.jmx Nov 13, 2019 5:19:42 PM java.util.prefs.WindowsPreferences <init> WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error [...] read more
cmd
jmeter
load-testing
1vote
1answer

JAVA : ERROR Java.util.prefs.WindowsPreferences.WindowsRegOpenKey

I have to work on an app. This app uses regedit to save preferences. This application must read a file and if it does not exist must write it to the Regedit. Everything has already worked, it is an already existing project. I'm just getting back to work to do [...] read more
java
regedit
1vote
1answer

How to get physical and virtual address bits with C/C++ by CPUID command

I'm getting physical and virtual address bits size with C by using CPUID command in windows. I can get the processor information this way, but I'm confused by getting the address bits. Looks like I should you the 80000008 instruction but I do this way, only 7-8 digits change continuously [...] read more
visual-c++
x86
operating-system
bit
cpuid
1vote
0answers

Why does Bochs crash on simple mov instruction

I'm building a small operating system and was using Qemu before which was working properly. Now I'm stuck on a Windows 10 machine and Qemu doesn't work well with GDB on this machine. I thought I'd try Bochs or Virtual box instead. The problem is that with both of these [...] read more
assembly
x86
qemu
bootloader
bochs
1vote
1answer

Registry value returns null when key has spaces uwing WMI

When trying to retrieve the value of a registry key from a remote machine for a key that has spaces using WMI in C# (Reason for using WMI: Authentication and Impersonation needed), the GetStringValue returns null but when the key doesn't have spaces, it works perfectly. Using either the @ [...] read more
c#
wmi
1vote
1answer

Disable parallel execution in maven testng selenium java (using the surefire plugin - it does not run according to the order in the testng.xml)

I'm working on a Maven TestNG Selenium Java project and trying to run my tests by calling my testng.xml from my pom.xml. the project itself works correctly in the non-maven version of it, but when I run it trough the pom.xml file, it just runs all tests in parallel, opens [...] read more
java
selenium
maven
testng
maven-surefire-plugin
1vote
3answers

WebServlet annotations are in use but GAE is trying to find web.xml

AFAIK if I use WebServlet annotation I should not need web.xml. I'm trying Google App Engine Standard local server with gradle but it fails trying to find web.xml. > C:\Projects\x\x\Research\testeng>gradle appengineRun > Mar 28, 2018 1:17:18 PM java.util.prefs.WindowsPreferences > WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root > [...] read more
java
google-app-engine
servlets
google-cloud-platform
build.gradle
1vote
1answer

Can't write Java preferences in Windows 10

I'm trying to run a program that looks for Java preferences in Windows 10 using JDK 10.0.2. If it finds them under the system node, it tries to copy them to the user's own node and then the user can change them to their liking. I'm not having any luck [...] read more
java
windows-10
1vote
1answer

ERROR : appengine-maven-plugin:1.3.2:run failed: Non zero exit: 1

I have recently picked up a former employee's unfinished java appengine project. I have been trying to launch the app since this morning but i don't seem to be able to figure out what the problem is. I'm using java 8. I did an mvn clean package through terminal and [...] read more
java
maven
google-app-engine
1vote
1answer

Passing path variable from powershell x86 to python doesn't work

I have been routinely running a python script using Windows PowerShell. I have recently made changes to the code and now it doesn't seem to work. To elaborate, there is an issue with the variable 'root_dir_path' being passed from powershell to python. In powershell I run the following which should [...] read more
python-3.x
powershell
powershell-2.0
1vote
1answer

Selenide opens IE but can't select element by ID

we are just starting with selenide frontend tests. I wrote tests for our first workflow using the defaults and everything works just fine (in Chrome). Now i would like to run the test in the 3 major browser: IE, chrome and firefox. Again, everything works fine for chrome and firefox. [...] read more
java
selenium
internet-explorer
selenium-iedriver
selenide
1vote
1answer

Google Cloud End Point Error: Process exited before success message

I am facing this error when I run the appengineStart task. print of the error The error says: “com.google.cloud.tools.appengine.cloudsdk.internal.process.ProcessRunnerException: Process exited before success message” I searched on Google, but wasn’t able to find a solution. Here is the full error log: 10:33:08: Executing task 'appengineStart'... Executing tasks: [appengineStart] Configuration on [...] read more
android
google-cloud-endpoints-v2
1vote
1answer

Condition Code---CF and OF

I read the book CS:APP(Third Edition) and in Section 3.6.1 Condition Code. It says: > CF: Carry flag. The most recent operation generated a carry out of the most > significant bit. Used to detect overflow for unsigned operations. > > OF: Overflow flag. The most recent operation caused a [...] read more
c
assembly
x86
flags
1vote
0answers

Required privilege not held returned by CreateFile

While trying to open a file on Samba from a Win32 application running on Windows Server the function CreateFiles returns an invalid handle and the error code is 0x522 (ERROR_PRIVILEGE_NOT_HELD) is there a way to inquiry the system on which provilege is missing for that particular file? I've enabled some [...] read more
windows
winapi
1vote
1answer

Jdbc - can't connect to MySQL db on localhost

I am a beginner in Java and I am trying to run a GWT app, which was not written by me, but I know the code should be working. When starting development server with gwt:run, everything seems to work but there is no DB connection and I am getting JDBC [...] read more
java
mysql
jdbc
gwt
1vote
1answer

JMeter save results to file

In the JMeter GUI it is easy to add a listener such as 'View Results Tree' or 'View Results in Table' and add a file name enter image description here [https://i.stack.imgur.com/l04RF.png] I have a method that creates and runs a test plan that looks like this //JMeter Engine StandardJMeterEngine jmeter [...] read more
java
jmeter
1vote
1answer

Add components in on Top side menu

I've added component in onTop side menu with a button which is lead component of the container. But clicking either button or other component has no effect. How can I make it work? Moreover I've gone through a blog for south component in onTop side menu. I've updated the cn1 [...] read more
codenameone
1vote
0answers

Using JDO 3.0 with App Engine and Gradle

I am trying to migrate to JDO 3.0 in a cloud endpoint Framework 2.0 and Guice environment. I am using the datanucleus Eclipse plugin. I checked the following documentation: Using JDO 3.0 with App Engine There is only a Ant or Maven docu. In my Gradle env, when starting the [...] read more
google-app-engine
gradle
guice
jdo
datanucleus
1vote
0answers

GWT migration from 2.6.1 to 2.7 compilation error at asm library

I am currently migrating GWT to higher version (from 2.6.1 to 2.7). My app is a mutlimodule maven build on top of stack like: hibernate, spring, gwt. I've done already a lot of stuff to make it work. Now I struggle with asm library, base on error: [INFO] [ERROR] Unexpected [...] read more
java
spring
gwt
migration
1vote
1answer

error exception in .Net CF 3.5 framework using windows ce and vs 2008

I'm working with windows CE on VS 2008 coding with C# on a windows form application. When I try to send my parameters to the electronic device through my serial connection suddenly it appears a strange popup on my windows CE device with: > exception code: 0x80000002 address code: 0x40caff30 [...] read more
c#
exception
embedded
.net-3.5
windows-ce
1vote
1answer

import java.util.Scanner not working with codenameone

I try looking online for solution, but couldn't find one. It my first time using codenameone , why does import java.util.Scanner doesn't work with codenameone project in eclipse? I know the JAVA_HOME path is good and everything is updated. WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. [...] read more
java
codenameone
1vote
3answers

GWT compile error: Rebind result cannot be abstract

When i try to compile GWT i receive an error that com.allen_sauer.gwt.log.client.util.impl.DOMUtilImpl cannot be abstract. How to solve this error? I am using GWT 2.6. Nov 24, 2014 3:29:42 PM java.util.prefs.WindowsPreferences <init> WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5. Compiling [...] read more
gwt
compiler-errors
1vote
0answers

Servlet Class not found

1st I have created a dynamic web application which has pom.xml, rest, soap, hibernate, servlets and a html file. Now I am trying to deploy it to a Google App Engine (GAE). What I have done so far is that I created a new Google > Web Application Project. Then [...] read more
java
hibernate
maven
google-app-engine
servlets
1vote
1answer

Setting up PITest for Guava

I'm trying to set up PIT for Guava (http://pitest.org/) to do mutation adequecy testing, but I am getting the following error when trying to run it. This is the error that I get : 12:19:47 PM PIT >> INFO : Sending 32 test classes to minion 12:19:47 PM PIT >> [...] read more
java
junit
guava
mutation-testing
pitest
0votes
1answer

DX12 Games Crash, DDU in Safe Mode, OS reinstalled, BIOS updated Still no fix

PC Specs: * Ryzen 5 5600x * 16gb Trident Z Neo @ 3600mhz * B550 Aorus Pro AC Wireless (Bios Version 13h) * EVGA - SUPER XC ULTRA GAMING NVIDIA GeForce RTX 2070 Super 8GB GDDR6 * 700w EVGA PSU I've been trying to get DX12 games to run for [...] read more
windows-10
drivers
graphics-card
crash
directx
0votes
1answer

OSPF - default-information originate : multiple routers

basic network [https://i.stack.imgur.com/ibFOc.gif] I receive a default route via iBGP from R1. On both R2 and R3 I have default-information originate configured. On R4 I only see one default route in the OSPF database; either to R2 or R3. When I shutdown one of the links from R2 / R3 [...] read more
networking
cisco
0votes
2answers

GPO error 0x80070547 with Server 2008 R2 and XP SP3, but not Win7

I have a Windows 2008 R2 server managing XP SP3 and Windows 7 SP1 clients. There are no issues with the Windows 7 clients. However, on the Windows XP clients, I get errors for power options, scheduled tasks, and shortcuts policies in the "Computer configuration" section of group policy. The [...] read more
windows-server-2008
windows-server-2008-r2
windows-xp
group-policy
0votes
1answer

How can I reset the path of FFMPEG in the VideoExport library in Processing?

Note: This question was originally titled "How can I reset the path of FFMPEG in Java?" but, as it has been pointed out in the comments and the answer, the issue is not with Java, so I've changed the title to make it easier to find for others with the [...] read more
java
video
ffmpeg
processing
0votes
2answers

RegGetValueA hard crashing application using luajit ffi

I am trying to use the RegGetValueA() from the Windows API , but so far I've been unable to get any results from it. At best, I get a "file not found" error, and at worst it crashes hard without any error messages at all. Below is the current code [...] read more
winapi
lua
ffi
love2d
luajit
0votes
0answers

Fast and Reliable Search of Windows network for all systems IPv4 and IPv6?

The various Windows API for searching the network such as WNetEnumResource is dog slow and unreliable. With IPv4 the suggestion is you can loop through the subnet and send an ARP or PING request to find live systems (without firewall blocking) and from there query them for Windows specific resources. [...] read more
sockets
winapi
winsock
arp
0votes
1answer

Java runtime error

I'm making a Xj3D test file in java and I have a file that works with one X3D and X3DV file called test.x3d and test.x3dv which is the same file just in two different formats and it's a red square. However, when I try and put my own X3D files [...] read more
java
0votes
1answer

Execution failed for task ':compileGroovy'. org.springframework.security.authentication.encoding.PasswordEncoder

I have an issue with starting my project after the upgrade of IDEA. Current error is the following: CONFIGURE SUCCESSFUL in 2s |Running application... > Task :compileJava NO-SOURCE startup failed: General error during semantic analysis: java.lang.NoClassDefFoundError: org.springframework.security.authentication.encoding.PasswordEncoder java.lang.RuntimeException: java.lang.NoClassDefFoundError: org.springframework.security.authentication.encoding.PasswordEncoder at org.codehaus.groovy.control.CompilationUnit.convertUncaughtExceptionToCompilationError(CompilationUnit.java:1118) at org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.java:1098) at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:645) 1 error FAILURE: Build [...] read more
java
spring-boot
gradle
grails
groovy
0votes
1answer

Jmeter _ Input file path setup in batch file

I tried to set input file path as below. But getting error as "WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.". Can some one help me. This is how I've configured: cd D:\Automation\Jmeter_Param\apache-jmeter-4.0\apache-jmeter-4.0\bin\ set my_dataset=D:\Automation\Jmeter_Param\apache-jmeter-4.0\apache-jmeter-4.0\bin\Deactivate.csv set my_txnset=D:\Automation\Jmeter_Param\apache-jmeter-4.0\apache-jmeter-4.0\bin\Deactivate\credentials_prod.csv jmeter -n -t D:\Automation\Jmeter_Param\apache-jmeter-4.0\apache-jmeter-4.0\bin\Deactivate\Deactivate.jmx [...] read more
jmeter
0votes
1answer

I need a list of registry predefined key values

Google is failing me. I need a list of the values that go with these predefined keys: https://docs.microsoft.com/en-us/windows/win32/sysinfo/predefined-keys I got this one: HKEY_LOCAL_MACHINE => 0x80000002; But don't know the rest :'( -T read more
registry
0votes
0answers

Why get error 404 if app starts and not get errors to console?

I develop web app via IntelliJ Idea. Web App base on Google App Engine, Ktor, Kotlin. App starts, but when I go to localhost:8080, then get: > This localhost page can’t be found > No webpage was found for the web address: http://localhost:8080/ > HTTP ERROR 404 In console not [...] read more
google-app-engine
kotlin
intellij-idea
ktor
0votes
0answers

papi_avail shows event's, can't access in C

I'm trying to run PAPI on an Odroid-XU4, I've installed PAPI and when I run papi_avail -a I can see 16 events available. I've set perf_event_paranoidto -1. When I try to call PAPI using C, it always says: > Event doesn't exist even though I know the hardware has 16 [...] read more
kernel
perf
papi
0votes
1answer

Error in creating remedy ticket using java

i need a Java class to submit tickets to BMC Remedy's but i was getting error could anyone please help me how to resolve that error. Find the below code: public class RemedyCreateTicket { public static void main(String args[]) { ARServerUser arsServer = new ARServerUser(); Entry args1 = new Entry(); [...] read more
java
remedy
0votes
1answer

the windows API does not work with python3 but works with python 2

I have a python script that I'm trying to convert from python 2.7 to python 3.7. The script includes windows API to read the system registry. In python 2.7 it works correctly. In python 3.7 it does not return the correct result. I try to run the script python 3 [...] read more
python-3.x
windows
0votes
1answer

Enum.values() not working in GWT throws compilation error

I'm using an enum class in my GWT class.I'm using enum.values() in order to iterate through the enum class. this throws error during complilation. the GXT version i'm using is 2.2.5. gwt-dev jar version is 2.4.0 Tried using EnumSet.allOf(DaysOfWeekEnum.class) still getting same error This article -> https://github.com/gwtproject/gwt/issues/7065 says that it [...] read more
gwt
enums
gxt
0votes
1answer

Impossible to store boolean preferences to Windows 10 registry from Java, while integer and String are correctly stored

I'm using the example from https://www.vogella.com/tutorials/JavaPreferences/article.html with the following code: import java.util.prefs.Preferences; public class PreferenceTest { private Preferences prefs; public void setPreference() { // This will define a node in which the preferences can be stored prefs = Preferences.userRoot().node(this.getClass().getName()); String ID1 = "Test1"; String ID2 = "Test2"; String ID3 = [...] read more
java
registry
preferences
0votes
0answers

GWT Compiler error missing core libraries of java

I am trying to compile my libgdx project with the gwt plugin inside of eclipse. The compiler gives the following message: Apr 11, 2019 10:42:09 AM java.util.prefs.WindowsPreferences <init> WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5. Public resources found in... Unexpected [...] read more
java
eclipse
gwt
libgdx
0votes
0answers

For certain registry path/key, I'm not getting data

I am using below code and for SOFTWARE\\Intel\\Bluetooth\\Metrics and Version I'm NOT getting data. What's the reason? enter image description here [https://i.stack.imgur.com/pRA9s.png] ConnectionOptions oConn = new ConnectionOptions(); ManagementScope scope = new ManagementScope("\\\\.\\root\\default", oConn); scope.Connect(); ManagementClass registry = new ManagementClass(scope, new ManagementPath("StdRegProv"), null); ManagementBaseObject inParams = registry.GetMethodParameters("GetStringValue"); inParams["sSubKeyName"] = "SOFTWARE\\Intel\\Bluetooth\\Metrics"; inParams["hDefKey"] [...] read more
c#
registry
0votes
1answer

ServiceConfigException When Api Management is Added

I started to get error, ServiceConfigException, after I've tried to add Api Management to my project just as explained here. Commenting out ServiceManagementConfigFilter lines from web.xml lines as told here solves my problem but leaves my project without API support. I'd love to get some help. Thanks in advance. -------------------------------------------------------------------------------------------------------------------------- [...] read more
java
google-app-engine
google-cloud-endpoints-v2
0votes
1answer

How to ensure cli arguments work with Web Driver Manager on Windows?

I'm using selenium with the chromedriver (gotten via webdrivermanager in maven), the cli arguments I pass via ChromeOptions aren't applied when on windows. However on MacOS it works fine, and on linux it partly works (as in it loads, but some debugs show) whilst on windows everything shows. I've tried [...] read more
java
selenium
selenium-chromedriver
webdrivermanager-java
0votes
0answers

PAPI_num_counters() shows the system doesn't have available counters

I have a question regarding PAPI (Performance Application Programming Interface). I downloaded and installed PAPI library. Still not sure how to use it correctly and what additional things I need, to make it work. I am trying to use it in C. I have this simple program: int retval; retval [...] read more
c
caching
x86
papi
0votes
1answer

How do I compile this assembly file with GCC or others?

I copied a sample assembly code from wiki: .section .data s0 : .asciz "Processor Brand String: %.48s\n" err : .asciz "Feature unsupported.\n" .section .text .global main .type main,@function .align 32 main: pushq %rbp movq %rsp, %rbp subq $48, %rsp pushq %rbx movl $0x80000000, %eax cpuid cmpl $0x80000004, %eax jl error [...] read more
linux
gcc
assembly
0votes
0answers

How to Fix : 403 Forbidden You do not have permission to modify this app (app_id=u'b~con-cen-225506')

I am following the instruction on https://classroom.udacity.com/courses/ud859/lessons/1215898636/concepts/14522086170923 Since I am in learning phase now and already google for solution but nothing worked . appengine:devserver work fine But it shows error message when I run appengine:update . [INFO] Scanning for projects... [WARNING] The project com.example.helloendpoints:helloendpoints:war:1.0-SNAPSHOT uses prerequisites which is only intended [...] read more
java
eclipse
maven
google-app-engine
google-cloud-platform
0votes
1answer

How to save JMeter Report with Timestamp added in ReportName

I am generating JMeter HTML report through command prompt. I want to save the report with Timestamp, so that in future i can compare these reports. Without clearing the report folder if i am trying to execute i am getting below error message, WARNING: Could not open/create prefs root node [...] read more
jmeter
jmeter-plugins
jmeter-4.0
0votes
2answers

BottomNavigation Activity crash in Android device

Home activity fail to launch in device after successful login and app would crash. I am able to launch other activities perfectly well. So I believe the problem here lies with my Home activity (and all other activities that contains BottomNavigation). Can someone point out my mistake? Thanks! Home.java public [...] read more
android
bottomnavigationview
0votes
2answers

Unable to query value of CSDVersion

I followed this C# example and am able to query some registry values, but not all of them: How to obtain a registry value from a remote machine if I don't know its type? (C#) I can reliably get registry keys such as the CurrentVersion, the ProductName, etc. But when [...] read more
c#
0votes
0answers

How to delete registry Key value Using java

I need to delete a registry key value under HKLM\SOFTWARE\Policies\Google\Chrome\ExtensionInstallForcelist, "3". I need to delete key value. I found a code on http://www.rgagnon.com/javadetails/java-0630.html but when i'm trying to run it it's showing me Exception: Exception in thread "main" java.lang.IllegalArgumentException: rc=5 key=SOFTWARE\Policies\Google\Chrome\ExtensionInstallForcelist value=3 at Forcast_DataFetch.WinRegistry.deleteValue(WinRegistry.java:253) at Forcast_DataFetch.WinRegistryTest.main(WinRegistryTest.java:12) Code for reference: import [...] read more
java
0votes
2answers

open JMeter in distributed mode

Bug Description Unable to open JMeter in non GUI mode. Steps to reproduce: 1.open cmd . 2.To open JMeter in server mode, run the bat file bin\jmeter-server.bat. Expected result: JMeter Starts in cmd. Actualresult: Problem URL: ... Trying JMETER_HOME=.. Found ApacheJMeter_core.jar Sep 12, 2018 1:33:34 PM java.util.prefs.WindowsPreferences <init> WARNING: Could [...] read more
jmeter
0votes
1answer

How to use this in ffi

std::string __cpuid() { char VendorName[49] = {0}; char VendorID[13] = {0}; unsigned int a, b, c, d; __asm xor EBX, EBX; __asm xor ECX, ECX; __asm xor EDX, EDX; __asm mov EAX, 0x80000002; __asm cpuid; __asm mov a, EAX; __asm mov b, EBX; __asm mov c, ECX; __asm mov d, [...] read more
assembly
lua
jit
luajit
0votes
2answers

Java check if flags are set in integer

I've got a feeling the answer to this is to bit shift, but I can't quite get my brain to grasp it. I've got some integer values being read, always different, and I need to check if some flags are set by looking at their bit pattern, for example. Flags: [...] read more
java
binary
hex
bit-shift
0votes
1answer

error while saving aggregate report response in csv

While running the below command I am getting the log4j error. I need to save the aggregate report output in CSV format PS C:\JMeter\bin> java -jar "C:\JMeter\lib\cmdrunner-2.0.jar" --tool Reporter --generate-csv "D:\Automation\Aggt_rpt.csv" --input-jtl "D:\Automation\output.jtl" --plugin-type AggregateReport ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the [...] read more
jmeter
log4j
jmeter-plugins
0votes
0answers

unable to find the soln: cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'tx:annotation-driven'

Using Sprint 4.2.2.RELEASE+Hibernate+Maven 3.1.0+Eclipse Kepler. I found multiple blogs related to this issues and tried all the different solutions, but that didn't help me. Tried with * Removing all the versions from all the xsd paths. * Adding the 4.2 version to all the xsds * Adding the 4.2, 3.0, [...] read more
spring
eclipse
hibernate
maven
0votes
0answers

Code for accessing windows registry throwing error

I have a chunk of code which is called at my application startup to find the ProgramData folder of the users PC and to create the application.log file for my app. Problem is that in one of the users PC having windows 7, its throwing nullpoint error in the Java [...] read more
java
0votes
1answer

jxbrowser WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs

I am a new JxBrowser user who is experimenting with replacing the UI in a portion of an existing Swing application with modern web-based UI technology. I am able to get a basic "Hello World" message display in a window within this application. All looks fine, except that I notice [...] read more
java
swing
jxbrowser
0votes
0answers

CryptoJS is not defined at

I am trying to use DES encryption/decryption on Google chrome. In my folder I have three files. 1. tripledes.js 2. mode-ecb.js 3. CryptoJS-DES.html The scripts in my html file is defined as follows :- <script type="text/javascript" src="tripledes.js"></script> <script type="text/javascript" src="mode-ecb.js"></script> and another script file which is :- function encryptByDES(message, key) [...] read more
javascript
html
node.js
cryptojs
0votes
1answer

InputStream is null in IntelliJ but not in Eclipse

I'm switching from Eclipse to IntelliJ. But I can't start my project with IntelliJ. I have no problems with Eclipse. Is it a configuration error? String path = "/fxml/scene.fxml"; InputStream fxmlStream = AppController.getInstance().getClass().getResourceAsStream(path); FXMLLoader loader = new FXMLLoader(); loader.setBuilderFactory(new JavaFXBuilderFactory()); loader.setLocation(AppController.getInstance().getClass().getResource(path)); loader.setController(AppController.getInstance()); Parent pane = (Parent) loader.load(fxmlStream); // this is [...] read more
java
eclipse
intellij-idea
javafx
0votes
0answers

Gradle with GWT2.8, error: Execution failed for task ':compileGwt'

Trying to compile my GWT code using Gradle using the link: Changes incorporated in the build.gradle file to work for gwt. apply plugin: 'gwt' gwt { gwtVersion='2.8.0' modules 'com.idc.facade.IdcFacade' maxHeapSize = "1024M" superDev { noPrecompile=true } } buildscript { repositories { maven { url 'http://artifactory.wellsfargo.com/artifactory/idc_maven_deploy_virtual' credentials { username = "${artifactory_user}" [...] read more
java
eclipse
gradle
gwt
0votes
2answers

I'm trying to use Java Preferences from XML WITHOUT using Windows registry, but I see a Registry-related message

I have a simplified program that produces the following output, in which the lines starting with ^ are generated by my code. Note that I deliberately deleted the Prefs key in HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft. ^ A preferences file was found Aug 09, 2013 2:45:23 PM java.util.prefs.WindowsPreferences <init> WARNING: Could not open/create prefs [...] read more
java
registry
preferences
0votes
1answer

gwt-maven-plugin : compilation error

I upgraded my gwt from 2.5 to 2.8 after the upgrade am getting the below error gwt-maven-plugin:2.8.0:compile (default) @ SeviS4Web [ERROR] Jun 22, 2017 1:16:06 PM java.util.prefs.WindowsPreferences <init> [ERROR] WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5. [INFO] Loading inherited module [...] read more
java
maven
gwt
gwt-maven-plugin
0votes
1answer

Why do I need to run an application as a root for the PAPI library to work?

I just upgraded to Ubuntu 16.04 LTS. In my C++ applications I use the PAPI library, so I installed it from http://icl.utk.edu/papi/. However for some reason I can not run my applications anymore without having to type sudo in the beginning. Even just typing papi_avail on the terminal to see [...] read more
c++
ubuntu-16.04
papi
0votes
1answer

Get the list of ODBC Data Sources using PHP from windows PC

How to get the list of all ODBC data sources available in my windows pc using PHP. I have tried using the below code. But getting empty. Could you please help. define('HKEY_LOCAL_MACHINE', 0x80000002); $computer = '.'; $reg = new COM("winmgmts:{impersonationLevel=impersonate}\\\\" . $computer . "\\root\\default:StdRegProv"); $key_path = 'SOFTWARE\ODBC\ODBCINST.INI\ODBC Drivers'; $sub_keys = [...] read more
php
odbc
0votes
0answers

Errors 0xC0000005 and 0x80000002 in Windows CE in pure managed code

I have a Windows CE application that uses WinForms and has worked fine until now. It suddenly, while I was testing, stopped working, and I can't get it to work any more, I get one of those two errors. I have not changed anything that I can see causing them. [...] read more
c#
.net
windows-ce
0votes
1answer

Access System32\config\SYSTEM hive in C#

I'm writing a utility to try and retrieve the computer name of a device when booted in WinPE and can't seem to find a native way in C# to read an offline hive. I have the following code to retrieve it and I get an ERROR_BADDB error: ERROR_BADDB 1009 (0x3F1) [...] read more
c#
registry
0votes
0answers

Sometimes getting null value for windows version and processor type

For the most part, the function below works but in rare cases returns a null value: DWORD WinVerMinor() { OSVERSIONINFO osvi; ZeroMemory(&osvi, sizeof(OSVERSIONINFO)); osvi.dwOSVersionInfoSize = sizeof(OSVERSIONINFO); GetVersionEx(&osvi); return osvi.dwMinorVersion; } Also cpustr below sometimes ends up being null. For example, from an executable app cpustr stores the correct string while [...] read more
c++
c
windows
version
processor
0votes
1answer

Create JDBC connection pool in glassfish 4

I want to create a JDBC Connection Pool in glassfish 4. I run my application server in eclipse Mars, and I access to the administration page of glassfish. Then, I go to JDBC -> JDBC CONNECTION POOL -> NEW... In the form, I informs following information: enter image description here [...] read more
java
jdbc
glassfish
connection-pooling
-2votes
1answer

Unable to Run Jmeter in my windows system

I am getting the below error while launching Jmeter java.util.prefs.WindowsPreferences WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5. Server failed to start: java.rmi.server.ExportException: Listen failed on port: 0; nested exception is: java.io.FileNotFoundException: rmi_keystore.jks (The system cannot find the file specified) An [...] read more
jmeter
-3votes
1answer

Detect SMB1 version via powershell for all OSes

My workflow: * check if server is pingable * find if they are domain connected or not and perform a task accordingly. if Operating system 2012 and/or R2 ,2016 or 2019 newer OSes then I will run Get-SmbServerConfiguration cmdlet. if machine is not a part of default domain then else [...] read more
powershell

Comments

Leave a comment

(plain text only)

Sources

  1. winerror.h from Windows SDK 10.0.14393.0
  2. https://msdn.microsoft.com/en-us/library/cc231198.aspx

User contributions licensed under CC BY-SA 3.0