System.ComponentModel.Win32Exception was unhandled - hadoop

While running process to Hadoop automated build from source in visual studio I am facing this error
Exception: An unhandled exception of type 'System.ComponentModel.Win32Exception' occurred in System.dll
An unhandled exception of type 'System.InvalidOperationException' occurred in System.dll
Please help me to resolve this.
Thanks in advance.

Related

Error: AVD can not be created in Qt Creator

I'm trying to create an AVD for my QT Creator, I keep getting this error and now I don't know what to do.
Is there anything I can do to fix this?
Error Creating AVD - Qt Creator
Exception in thread "main" java.lang.NoClassDetFoundError: Javax/xml/bind/annotation/ XmlSchema
at
com.android.repository.api.SchemaModule$SchemaModuleVersion.<init (SchemaModule.java: 156)
at com.android.repository.apl.SchemaModule.<init (SchemaModule.java:75)
at
com.android.sdiklib.repository.Android5dkHandler.«clinit>(AndroidSdkHandier.java:81) at com.android.sdiklib.tool.AvdManagerCli.run(AvdManagerCl.java:213) at com.android.sdklib.tool.AvdManagerCll.main(AvdManagerCli.java:200) Caused by: java.lang. Class NotFoundException: javax.xml.bind.annotation.XmlSchema at java.base/
jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
at java.base/
jdk.internal.loader.ClassLoadersSAppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:322)
...5 more

How to downgrade/configure elder Mono in Visual Studio For Mac?

I am trying to build old code with Visual Studio For Mac and getting the following error:
Target XamlC:
Compiling Xaml
Assembly: obj/Debug/OxyPlot.Xamarin.Forms.dll
...
/Users/.../MyProject/packages/Xamarin.Forms.2.3.3.193/build/portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20/Xamarin.Forms.targets(62,3): error MSB4018: The "XamlCTask" task failed unexpectedly.
/Users/.../MyProject/packages/Xamarin.Forms.2.3.3.193/build/portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20/Xamarin.Forms.targets(62,3): error MSB4018: System.IO.FileNotFoundException: Could not find file "/Users/.../MyProject/OxyPlot/OxyPlot.Xamarin.Forms/obj/Debug/OxyPlot.Xamarin.Forms.dll.mdb"
/Users/.../MyProject/packages/Xamarin.Forms.2.3.3.193/build/portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20/Xamarin.Forms.targets(62,3): error MSB4018: File name: '/Users/.../MyProject/OxyPlot/OxyPlot.Xamarin.Forms/obj/Debug/OxyPlot.Xamarin.Forms.dll.mdb'
/Users/.../MyProject/packages/Xamarin.Forms.2.3.3.193/build/portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20/Xamarin.Forms.targets(62,3): error MSB4018:
/Users/.../MyProject/packages/Xamarin.Forms.2.3.3.193/build/portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20/Xamarin.Forms.targets(62,3): error MSB4018:
/Users/.../MyProject/packages/Xamarin.Forms.2.3.3.193/build/portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20/Xamarin.Forms.targets(62,3): error MSB4018: Server stack trace:
...
I read here, that it is possible to use elder Mono (4.8) to build project. How to do this?

Fody - System.Security.SecurityException: Invalid assembly public key

I just tried adding a Fody NuGet package to my C# project and now anytime I try to build I get the following error.
error MSB4018: The "ResolveAssemblyReference" task failed unexpectedly.
error MSB4018: System.Security.SecurityException: Invalid assembly public key. (Exception from HRESULT: 0x8013141E)
error MSB4018: at System.Reflection.AssemblyName.nToString()
error MSB4018: at System.Reflection.AssemblyName.get_FullName()
error MSB4018: at Microsoft.Build.Tasks.ReferenceTable.MarkReferencesForExclusion(Dictionary`2 exclusionList)
error MSB4018: at Microsoft.Build.Tasks.ResolveAssemblyReference.Execute(FileExists fileExists, DirectoryExists directoryExists, GetDirectories getDirectories, GetAssemblyName getAssemblyName, GetAssemblyMetadata getAssemblyMetadata, GetRegistrySubKeyNames getRegistrySubKeyNames, GetRegistrySubKeyDefaultValue getRegistrySubKeyDefaultValue, GetLastWriteTime getLastWriteTime, GetAssemblyRuntimeVersion getRuntimeVersion, OpenBaseKey openBaseKey, GetAssemblyPathInGac getAssemblyPathInGac, IsWinMDFile isWinMDFile, ReadMachineTypeFromPEHeader readMachineTypeFromPEHeader)
error MSB4018: at Microsoft.Build.Tasks.ResolveAssemblyReference.Execute()
error MSB4018: at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
error MSB4018: at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext()
error MSB4018: The Zone of the assembly that failed was:
error MSB4018: MyComputer
I've tried uninstalling and re-installing, different add-ins/weavers. It always ends up with the same result. My solution has two projects, a .NET Standard 2.0 library and a .NET Framework 4.6.1 class library containing unit tests. The Standard library builds but the unit test project is the one failing.

Error in NonGUIDriver java.lang.IllegalArgumentException in JMeter

I am getting the following error, after trying to run JMeter on the console. It is working fine in GUI mode.
Error in NonGUIDriver java.lang.IllegalArgumentException: Problem loading XML from:'/Users/omaroof/Desktop/Mywork/apache-jmeter-3.0/bin/SocketTestingCoApp.jmx', missing class com.thoughtworks.xstream.converters.ConversionException: JMeter.plugins.functional.samplers.websocket.WebSocketSampler : JMeter.plugins.functional.samplers.websocket.WebSocketSampler
--

How to compile h2.jar?

I am trying to compile h2.jar. Getting following error -
Downloading http://repo1.maven.org/maven2/javax/servlet/servlet-api/2.4/servlet-api-2.4.jar
Exception in thread "main" java.lang.RuntimeException: Error downloading...
Any idea?
Thanks a lot,
Anuprit

Resources