We are using Safenet PTK 4.2
Recently we are encountering this error intermittently:
Caused by: java.security.InvalidKeyException: CryptokiError: 0x60 key handle invalid at au.com.safenet.crypto.provider.BlockCipher.rekey(BlockCipher.java:446) at au.com.safenet.crypto.provider.BlockCipher.engineInit(BlockCipher.java:287)
Appreciate if anyone with similar issue to share the solution / experience. TQ
Related
I'm new to MVTec Halcon Deep Learning, I labelled my images and exported a hdict. file with MVTec Deep Learning Tool, then I tried to change some code of "classify_pill_defects_deep_learning_1_preprocess" Halcon example code, when it reached "preprocess_dl_dataset (DLDataset, DataDirectory, DLPreprocessParam, GenParam, DLDatasetFileName)" , there's error that display :
Unhandled program exception:
User defined exception ('throw') (HDevelop error code: 21001)
while calling 'throw' in procedure 'gen_dl_samples' line: 169.
User data:
['For image_id 1 the key \'image_label_id\' is missing. Missing keys can be ignored using the GenParam ignore_missing_labels.']
it says missing labels? but I checked that all images are labelled accordingly. Additionally, is ignoring missing keys ok? if yes how?
Thanks in advance !
I tried to understand how the code works but I'm new to it and the resources on internet is not that much. I'm expecting to know how to change the code and train my own deep learning model.
I am trying to train a model using pycaffe. I use Adam Optimizer
The forward and backward codes work fine:
solver.net.forward()
solver.net.backward()
However on the update step (solver.update()) it fails with the following error:
AttributeError: 'AdamSolver' object has no attribute 'update'
F1102 12:14:25.689537 24420 benchmark.cpp:18] Check failed: error == cudaSuccess (10 vs. 0) invalid device ordinal
When I try the solver.step(1) I gives me:
solver.step(1) failed to work with the following error:
F1101 19:28:43.213888 5038 benchmark.cpp:30] Check failed: error == cudaSuccess (71 vs. 0) operation not supported
*** Check failure stack trace: ***
Aborted (core dumped)
I suspect that there is an installation issue, actually I had few test cases that fails in my runtest, is that related and what I would need to fix if I need to rebuild?
EDIT 1:
I fixed all the issues I have in the runtest, but still having the same problem.
Placecaffe.set_mode_gpu() and caffe.set_device(0) before the caffe.get_solver(solver_path) solved the issue.
I run HBase cluster and see in the log file every 10 seconds this exception:
2015-12-30 20:18:10,160 ERROR org.apache.hadoop.hbase.regionserver.HRegionServer$PeriodicMemstoreFlusher: Caught exception java.util.NoSuchElementException
at java.util.concurrent.ConcurrentHashMap$ValueIterator.next(ConcurrentHashMap.java:3436)
at java.util.Collections.min(Collections.java:596)
at org.apache.hadoop.hbase.regionserver.HRegion.getEarliestFlushTimeForAllStores(HRegion.java:1572)
at org.apache.hadoop.hbase.regionserver.HRegion.shouldFlush(HRegion.java:1904)
at org.apache.hadoop.hbase.regionserver.HRegionServer$PeriodicMemstoreFlusher.chore(HRegionServer.java:1509)
at org.apache.hadoop.hbase.Chore.run(Chore.java:87)
at java.lang.Thread.run(Thread.java:745)
Maybe someone knows what does it mean?
Looks like HBase bug.
Can you point me to the bug fix?
HBase version is 1.0.0-cdh5.4.8
thanks.
PeriodicMemstoreFlusher will run into the following exception. lastStoreFlushTimeMap is populated for families, if there is no family in the table or there is no entry in lastStoreFlushTimeMap.
Hope this helps!!
I made some research and i found a guy who have the same problem below(Its is in portugueshttps://groups.google.com/forum/#!topic/javasf/OBPyBP6Sfjs) but the site that he gave dont exist anymore and he don't answer my email for 2 days so...
Problem is: whenever i use an composite component i got that exception (even if they are empty just for test):
javax.servlet.ServletException: javax.faces.component.UIPanel cannot
be cast to javax.faces.component.html.HtmlPanelGroup
javax.faces.webapp.FacesServlet.service(FacesServlet.java:606)
org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerInViewFilter.java:147)
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
root cause
java.lang.ClassCastException: javax.faces.component.UIPanel cannot be
cast to javax.faces.component.html.HtmlPanelGroup
org.apache.myfaces.shared.renderkit.html.HtmlGroupRendererBase.encodeEnd(HtmlGroupRendererBase.java:65)
javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:875)
javax.faces.component.UIComponent.encodeAll(UIComponent.java:1786)
org.apache.myfaces.renderkit.html.HtmlCompositeComponentRenderer.encodeEnd(HtmlCompositeComponentRenderer.java:71)
javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:875)
javax.faces.component.UIComponent.encodeAll(UIComponent.java:1786)
javax.faces.component.UIComponent.encodeAll(UIComponent.java:1782)
javax.faces.component.UIComponent.encodeAll(UIComponent.java:1782)
com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:402)
org.apache.myfaces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:285)
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:121)
com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:594)
org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerInViewFilter.java:147)
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
For me look likes that when you use an composite, myfaces try to generate an panel and for some reason the exception is throwed, and just to remember that i made this test with the body having only the composite and composite itself is empty(with interface and implementation sections).
I am using Myfaces 2.1.11, tomcat 7(pluging for maven), jsf 2.0, hibernate.
I'm running a spring/hibernate java app on tomcat and I'm seeing this funky error on update:
JDBC driver did not return the expected number of row counts
Caused by: java.lang.NullPointerException
at org.hibernate.jdbc.BatchingBatcher.checkRowCounts(BatchingBatcher.java:90)
at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:70)
at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:268)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:262)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:179)
I recently updated my mysql connector to version 5.1.15.
Has anyone seen anything like this?
I think I encountered this once and fixed it by implementing hashCode and Equals methods for the object type returned by the query.