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

NPE on W3C validator #351

Closed
karoldrazek opened this issue Sep 4, 2018 · 0 comments
Closed

NPE on W3C validator #351

karoldrazek opened this issue Sep 4, 2018 · 0 comments
Labels

Comments

@karoldrazek
Copy link
Contributor

Version used

  • AET 2.1.7-SNAPSHOT (the one embedded in aet-docker 0.3.0)

Context of the issue/feature

When I opened the report on one of the tests of W3C validation it shown Null Pointer Exception.

Screenshot

aet_report

Error log

2018-09-04T08:06:38,206 | ERROR | com.cognifide.aet.worker | ComparatorDispatcherImpl 68 | Comparator{type=source, filters=[Operation{type=w3c-filter, parameters={message=Bad value ...noopener noreferrer... for attribute ...rel.
com.cognifide.aet.job.api.exceptions.ProcessingException: null
at com.cognifide.aet.job.common.comparators.w3chtml5.W3cHtml5Comparator.compare(W3cHtml5Comparator.java:75) ~[?:?]
at com.cognifide.aet.worker.impl.ComparatorDispatcherImpl.run(ComparatorDispatcherImpl.java:66) [193:com.cognifide.aet.worker:2.1.7.SNAPSHOT]
at com.cognifide.aet.worker.listeners.ComparatorMessageListenerImpl.onMessage(ComparatorMessageListenerImpl.java:95) [193:com.cognifide.aet.worker:2.1.7.SNAPSHOT]
at org.apache.activemq.ActiveMQMessageConsumer.dispatch(ActiveMQMessageConsumer.java:1404) [64:org.apache.activemq.activemq-osgi:5.15.2]
at org.apache.activemq.ActiveMQSessionExecutor.dispatch(ActiveMQSessionExecutor.java:131) [64:org.apache.activemq.activemq-osgi:5.15.2]
at org.apache.activemq.ActiveMQSessionExecutor.iterate(ActiveMQSessionExecutor.java:202) [64:org.apache.activemq.activemq-osgi:5.15.2]
at org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:133) [64:org.apache.activemq.activemq-osgi:5.15.2]
at org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:48) [64:org.apache.activemq.activemq-osgi:5.15.2]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
at java.lang.Thread.run(Thread.java:748) [?:?]
Caused by: java.lang.NullPointerException

@malaskowski malaskowski added the bug label Sep 4, 2018
@tkaik tkaik closed this as completed in bce9b62 Sep 19, 2018
tkaik added a commit that referenced this issue Sep 19, 2018
[#351] Disable nu.validator language detection to fix random NPE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants