Jmeter 4.0 unable to access menus - jmeter

I have downloaded a fresh copy of JMeter 4.0 a couple of times and everytime it opens it throws a Java.lang.exceptionInInitializerError. When I look at the log it mentions the following. I have not installed any third party libraries. Any ideas on how I resolve this would be appreciated. Thanks
Error initializing menus, check configuration if using 3rd party libraries
java.lang.NullPointerException: null
at javax.swing.plaf.metal.MetalFileChooserUI$IndentIcon.getIconWidth(Unknown Source) ~[?:1.8.0_51]
at javax.swing.SwingUtilities.layoutCompoundLabelImpl(Unknown Source) ~[?:1.8.0_51]
at

I have removed Dracula.jar from lib, then no such issue reoccured.

Related

Added external library can't be seen - NetBeans

I downloaded SocketTest project and made some changes to read data from MS SQL database. Added external library:
But I'm getting java.sql.SQLException: No suitable driver found... when I run the project.
I'm sure there is no mistake in my source code. Because I tested my class on alternate project. It's running smoothly. But I wonder why MS SQL library can't be seen even after I add that.
I also tried to use the newest version of MS SQL library but still no success.
I also tried to analyze project.xml file. But I guess solution is not there.
Please help me to solve this issue.
Thanks in advance.
Solution has been found. build.xml file has been cleared and copied from newly created NetBeans project.

i cannot run any gradle projects

this is the minecraft forges default gradle
i also search but didnt find any answers
C:\Users\masiha.DESKTOP-VBVOMDJ\.gradle\wrapper\dists\gradle-4.10.3-bin\31t79e2qsceia4mkbojplrgx
Exception in thread "main" java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.zip.ZipFile.<init>(Unknown Source)
at org.gradle.wrapper.Install.unzip(Install.java:215)
at org.gradle.wrapper.Install.access$600(Install.java:27)
at org.gradle.wrapper.Install$1.call(Install.java:75)
at org.gradle.wrapper.Install$1.call(Install.java:48)
at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:69)
at org.gradle.wrapper.Install.createDist(Install.java:48)
at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:107)
at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
pleas help :)
This problem accrued to me yesterday as well, so I thought I might share my fix to this problem if this is still relevant.
While I am not familiar with Forge at all (I started using Fabric just a few days ago), how I fixed my problem was to change the settings in either the gradle.properties or build.gradle according to your mod's correct settings.
Most likely your problem occurs in gradle.properties. It might be the version number that isn't correct, and a quick research of the current Forge or Minecraft version you're planning on using would help. The same applies to build.gradle.
In the crash log you've provided, most of the errors are coming from the class org.gradle.wrapper.*, so it's likely to assume that it is something in one of the 2 files.
If neither of that worked, it might be because you've entered an incorrect path to your main class in the forge.mod.json file.
For example, if your classpath is hi.mashia.main, then you'll have to enter it in the 'main' field there as well. This could've happen if you've changed your classpath or name lately, or just installed a new Forge environment and didn't set this thing up.
Again, I'm not using Forge, and I'm just telling my own experience with things.
So if this doesn't help, just try to look for common Gradle errors in the Gradle User Manual, or if this doesn't help, then you might want to look into the Forge Docs or something similar to that. Google search or YouTube might help with that too.
A video that I think you could potentially find helpful is this one by TechnoVision.
It might be outdated, but not too outdated.
Really hope this helps!
Happy Coding!

Genexus 15 upgrade 11 Webnotifications throw java.lang.ClassNotFoundException: com.genexus.internet.websocket.GXWebSocket

I have a project made on genexus 15 from start and working fine until upgrade 11.
As soon as I upgraded to U11 all my webnotifications stoped working and throws:
java.lang.ClassNotFoundException: com.genexus.internet.websocket.GXWebSocket
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1308)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1136)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.genexus.internet.GXWebNotification.<init>(Unknown Source)
at com.genexuscore.genexus.web.notifications.SdtWebNotification.notify(SdtWebNotification.java:56)
I made a full rebuild and I even deleted .ari from state to force a full generation, used the new GxClassR installed on my pc and the class is still missing.
I have also made clean deploys, and it still gives the same error.
Does anyone knows the "new" Jar i'm missing?
Thanks
I managed to find the solution:
Somehow since U11 the deploy feature and the generation and compile doesn't add the GXWebSocket.jar (under the genexus instalation) file by default, I had to put it on the .war file under lib and it works, the same for all the Applications.

How do I interact with Apache Jena locally? - MacOS

I may just be going at this wrong, but I am not sure how to interact with Apache Jena on my computer. I think my main question revolves around where I store files and how I run them.
I use Atom editor and work in Python and Javascript normally. My goal here is to get a handle of how Jena and Fuseki work then potentially using Fuseki for the backend of a web app.
The tutorial, An Introduction to RDF and the Jena RDF API, links to Java files. Where do I store this file on my desktop and how can I run it?
While my question is about setting up my workspace/environment, I would appreciate feedback on more appropriate technologies.
Based on this tutorial I've gotten my workspace set up. I've removed the package identifier from my code.
Now I get this error:
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/jena/rdf/model/ModelFactory at
Tutorial01.main(Tutorial01.java:34)
Caused by: java.lang.ClassNotFoundException:
org.apache.jena.rdf.model.ModelFactory
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
I think it's a JENAROOT Issue. I think I'm setting it and adding it to the path correctly. It's also mentioned here, but I haven't been able to troubleshoot it yet.
Anybody can point me in the right direction?
I got help of this via the Apache Jena support email. I think I must have caused an issue by changing the environmental variables for Jena upon first use.
Based on a script I received from a community member I ran a script named jenaJarsScript.sh in terminal:
unset JARS
for f in $JENA_HOME/lib/*.jar
do
JARS=$JARS:$f
export JARS
done
I then added $JARS to my classpath - now I can compile and run code without an issue.
Note: I'm not sure if this is the best way to set this up, but it works for me.

i am getting error when i try to create web service client in Spring STS

i am getting this error when try to create new web service client.
IWAB0503E Unable to update Java build path. Please check your system environment.
Some web searching uncovered that what this error really means is “The Web Services generation tool detected multiple versions of the javax.xml.soap plug-in installed. Resolve this error by removing the conflicting plug-in.”
Sure enough, when I checked in Eclipse there were two versions.
WebService
I encountered two speed bumps when testing this theory:
There’s no easy way to uninstall a plug-in within the Eclipse UI, so I had to resort to removing the directory from eclipse\plugins directly from Windows Explorer.
Which version should I remove? It took me two tries to figure out which version was causing the error. Turns out that newer is not always better…in this case 1.3 was at fault and 1.2 (javax.xml.soap_1.2.0.v200905122109) was the version to keep.
This is old but, in my case the details of the error were:
IWAB0503E Unable to update Java build path. Please check your system environment.
java.io.FileNotFoundException: /lib/saaj.jar
So \lib\saaj.jar was not found in folder
C:\sts-4.8.0\sts-4.8.0.RELEASE\plugins\javax.xml.soap_1.3.0.v201105210645\
I created the folder lib and copied saaj.jar in it from another STS instance that I had and then it worked.

Resources