I got orangevolt to run the exists task in my Ant build file, but I get this ugly error:
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x77FCD989
Function=[Unknown.]
Library=C:\WINNT\system32\ntdll.dll
NOTE: We are unable to locate the function name symbol for the error
just occurred. Please refer to release documentation for possible
reason and solutions.
Current Java thread:
at com.roxes.win32.Registry.getValue(Native Method)
at com.roxes.win32.Registry.getValue(Registry.java:464)
at com.orangevolt.tools.ant.Win32RegistryTask$Get.run(Win32RegistryTask.java:172)
at com.orangevolt.tools.ant.Win32RegistryTask.execute(Win32RegistryTask.java:482)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
at org.apache.tools.ant.Main.runBuild(Main.java:668)
at org.apache.tools.ant.Main.startAnt(Main.java:187)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
Heap at VM Abort:
Heap
def new generation total 576K, used 131K [0x10010000, 0x100b0000, 0x104f0000)
eden space 512K, 18% used [0x10010000, 0x100281a8, 0x10090000)
from space 64K, 54% used [0x100a0000, 0x100a8ba0, 0x100b0000)
to space 64K, 0% used [0x10090000, 0x10090000, 0x100a0000)
tenured generation total 1408K, used 720K [0x104f0000, 0x10650000, 0x14010000)
the space 1408K, 51% used [0x104f0000, 0x105a40c8, 0x105a4200, 0x10650000)
compacting perm gen total 4096K, used 3588K [0x14010000, 0x14410000, 0x18010000)
the space 4096K, 87% used [0x14010000, 0x14391258, 0x14391400, 0x14410000)
Local Time = Tue Oct 17 10:11:06 2006
Elapsed Time = 1
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2_03-b02 mixed mode)
#
Help!
Thanks,
Bob
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I got orangevolt to run the exists task in my Ant build file, but I get this ugly error:
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x77FCD989
Function=[Unknown.]
Library=C:\WINNT\system32\ntdll.dll
NOTE: We are unable to locate the function name symbol for the error
just occurred. Please refer to release documentation for possible
reason and solutions.
Current Java thread:
at com.roxes.win32.Registry.getValue(Native Method)
at com.roxes.win32.Registry.getValue(Registry.java:464)
at com.orangevolt.tools.ant.Win32RegistryTask$Get.run(Win32RegistryTask.java:172)
at com.orangevolt.tools.ant.Win32RegistryTask.execute(Win32RegistryTask.java:482)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
at org.apache.tools.ant.Main.runBuild(Main.java:668)
at org.apache.tools.ant.Main.startAnt(Main.java:187)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
Dynamic libraries:
0x00400000 - 0x00406000 C:\j2sdk1.4.2_03\bin\java.exe
0x77F80000 - 0x77FFC000 C:\WINNT\system32\ntdll.dll
0x7C2D0000 - 0x7C335000 C:\WINNT\system32\ADVAPI32.dll
0x7C570000 - 0x7C624000 C:\WINNT\system32\KERNEL32.dll
0x77D30000 - 0x77D9F000 C:\WINNT\system32\RPCRT4.dll
0x78000000 - 0x78045000 C:\WINNT\system32\MSVCRT.dll
0x75030000 - 0x75044000 C:\WINNT\system32\WS2_32.DLL
0x75020000 - 0x75028000 C:\WINNT\system32\WS2HELP.DLL
0x08000000 - 0x08138000 C:\j2sdk1.4.2_03\jre\bin\client\jvm.dll
0x77E10000 - 0x77E79000 C:\WINNT\system32\USER32.dll
0x77F40000 - 0x77F7C000 C:\WINNT\system32\GDI32.dll
0x77570000 - 0x775A0000 C:\WINNT\system32\WINMM.dll
0x10000000 - 0x10007000 C:\j2sdk1.4.2_03\jre\bin\hpi.dll
0x007C0000 - 0x007CE000 C:\j2sdk1.4.2_03\jre\bin\verify.dll
0x007D0000 - 0x007E9000 C:\j2sdk1.4.2_03\jre\bin\java.dll
0x007F0000 - 0x007FD000 C:\j2sdk1.4.2_03\jre\bin\zip.dll
0x65740000 - 0x6574A000 C:\j2sdk1.4.2_03\jre\bin\roxes-registry-1.0.4.dll
0x70A70000 - 0x70AD6000 C:\WINNT\system32\SHLWAPI.DLL
0x690A0000 - 0x690AB000 C:\WINNT\system32\PSAPI.DLL
Heap at VM Abort:
Heap
def new generation total 576K, used 131K [0x10010000, 0x100b0000, 0x104f0000)
eden space 512K, 18% used [0x10010000, 0x100281a8, 0x10090000)
from space 64K, 54% used [0x100a0000, 0x100a8ba0, 0x100b0000)
to space 64K, 0% used [0x10090000, 0x10090000, 0x100a0000)
tenured generation total 1408K, used 720K [0x104f0000, 0x10650000, 0x14010000)
the space 1408K, 51% used [0x104f0000, 0x105a40c8, 0x105a4200, 0x10650000)
compacting perm gen total 4096K, used 3588K [0x14010000, 0x14410000, 0x18010000)
the space 4096K, 87% used [0x14010000, 0x14391258, 0x14391400, 0x14410000)
Local Time = Tue Oct 17 10:11:06 2006
Elapsed Time = 1
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2_03-b02 mixed mode)
#
Help!
Thanks,
Bob
Hi,
does the key/value exists (encoding)?
The best way is to provide a build.xml and a *.reg file to setup the registry.
This will help me to examine your error.
Thanks,
Arne