Ron McLeod

+ Follow
since Feb 12, 2013
Ron likes ...
Android Angular Framework Eclipse IDE Java Linux MySQL Database Redhat TypeScript
Richmond, BC, Canada
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Rancher Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Ron McLeod

tangara goh wrote:I was trying to fix an error and then I changed something in my.ini in MYSQL 5.7.

What did you change?  Can you share the contents of the config file?

tangara goh wrote:I have further investigated the problem and went into C:\ProgramData\MySQL\MySQL Server 5.7\Data
and I see there is a DESK-TOP-1KGG0277.err but I do not know how to make the error goes away.

If that is a file, did you look at the contents to see if it would provide any clues?

tangara goh wrote:Right now, I have problem in getting data transfer between different DAO implementation class

What is the problem that you are encountering?
1 day ago
You can use reflection to inspect the fields for their type:

1 week ago
You could get rid of the intermediate arrays:

If you wanted to see the data as it was transformed in the pipeline, you could add peeks
1 week ago
Do you want to know what type of object was passed to your method?

1 week ago
You're welcome - glad I was able to help
1 week ago
Try adding the hamcrest-core to your libraries. See my screen cap.
1 week ago
I don't see a package statement for PrintGrades2Test - is it in the default package?

I installed NetBeans to try your code and it did work for me.  Since I don't use NetBeans, I'm not familiar with what output you should expect when compiling and running.

1 week ago

Zulfi Khan wrote:Exception in thread "main" java.lang.RuntimeException: Uncompilable source code - Erroneous tree type: <any>
at javajunitexample8_2.JavaJUNITExample8_2.main(
C:\Users\HP\AppData\Local\NetBeans\Cache\8.2\executor-snippets\run.xml:53: Java returned: 1
BUILD FAILED (total time: 2 seconds)

I don't use NetBeans, but to me this looks like a run-time problem, not a compile-time issue.

Do you see any errors if you just perform a Clean-and-Build (can use the hammer and brush icon)  without trying to run anything?

Also, what does your PrintGrades2Test class look like?
1 week ago

Zulfi Khan wrote:1st approach


Can you share a screen capture of the Projects tab in NetBeans so that we can see what the IDE shows as the project structure?
1 week ago

Zulfi Khan wrote:I tried to remove the error by attaching the package name but still I am getting error:

This won't work because PrintGrades2Test is not actually in the JavaJUNITExample8_2 package.

See my last comment (which I was writing at the same time as you) and put all classes in proper packages.
1 week ago
First, try putting PrintGrades2 and PrintGrades2Test in to proper packages (don't use default package).

Next, import PrintGrades2Test with its fully qualified package name in to your NetBeansTestExample2 class.
1 week ago
JUnitCore.runClasses is expecting Class<?>... so you should be specifying PrintGrades2Test.class
1 week ago

Tim Holloway wrote:And no, the CA does NOT have a copy of the private key. If you don't have it, you're out of luck.

Unless you have access to the server currently using the certificate and can grab the private key from there.
1 week ago
Which version of Tomcat will you be using, and will the connector be NIO or APR based?
1 week ago