Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate the stability of build #200

Closed
tngan opened this issue Aug 13, 2018 · 2 comments
Closed

Investigate the stability of build #200

tngan opened this issue Aug 13, 2018 · 2 comments
Assignees
Labels
bug enhancement rc Release candidate

Comments

@tngan
Copy link
Owner

tngan commented Aug 13, 2018

image

It sometimes doesn't pass through the build because of the failure in schema validation.

@tngan
Copy link
Owner Author

tngan commented Sep 25, 2018

Error: A JNI error has occurred, please check your installation and try again
Exception 
in thread "main" 
Error: A JNI error has occurred, please check your installation and try again
Exception 
in thread "main" 
java.lang.ClassFormatError: Truncated class file
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
java.lang.ClassFormatError: Truncated class file
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
	at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:495)

@tngan
Copy link
Owner Author

tngan commented Oct 6, 2018

I have figured out why it happens. The validator library is not shipped with compiled class file, and the tests are running concurrently with ava. When yarn test is running, there is no compiled class file initially, therefore, for each test, it will spawn a javac support/XMLValidator.java command inside that library, so that the validator won't work at all.

@tngan tngan self-assigned this Oct 6, 2018
@tngan tngan added the rc Release candidate label Oct 6, 2018
tngan added a commit that referenced this issue Oct 6, 2018
@tngan tngan closed this as completed Oct 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug enhancement rc Release candidate
Projects
None yet
Development

No branches or pull requests

1 participant