Griaule Biometrics

Principal » Forums » GENERAL » Fingerprint Images » Unable to Extract the image
naveenc
Offline
Joined: 2010-06-28
Rate this post:
0
No votes yet
Unable to Extract the image

Hi
I am running the Sample Applet Application

While Extracting the Template it is throwing this exception

Exception in thread "AWT-EventQueue-1" java.lang.NullPointerException
at Util.extract(Util.java:616)
at FormMain$8.actionPerformed(FormMain.java:369)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:6263)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6028)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4630)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
com.griaule.grfingerjava.GrFingerJavaException: GrFinger Java isn't initialized
at com.griaule.grfingerjava.GrFingerJava.finalizeCapture(GrFingerJava.java:140)
at Util.destroyFingerprintSDK(Util.java:138)
at Util.destroy(Util.java:111)
at FormMain.destroy(FormMain.java:151)
at sun.applet.AppletPanel.run(AppletPanel.java:547)
at java.lang.Thread.run(Thread.java:619)
java.lang.NullPointerException
at Util.destroyDB(Util.java:483)
at Util.destroy(Util.java:112)
at FormMain.destroy(FormMain.java:151)
at sun.applet.AppletPanel.run(AppletPanel.java:547)
at java.lang.Thread.run(Thread.java:619)
BUILD SUCCESSFUL (total time: 16 seconds)

Thanks & Regards
Naveen.C

webmast
Offline
Joined: 2006-10-26
Rate this post:
0
No votes yet

Dear Naveen,
it seems that you found a bug on our Java sample. Is it possible for you to describe exactly what you did to produce this error?
Cordially,
Griaule Support Team

daanesh
Offline
Joined: 2011-03-21
Rate this post:
0
No votes yet

Hi sir,

     i am getting this error when i run your code given in the sample file. please help me to solve the problem the problem as soon as possible.

Regards,

Daanesh

 

 

 

com.griaule.grfingerjava.GrFingerJavaException: GrFinger Java isn't initialized
    at com.griaule.grfingerjava.GrFingerJava.finalizeCapture(GrFingerJava.java:140)
    at sample.FingerprintOPFormAuth.destroy(FingerprintOPFormAuth.java:26)
    at sample.FormAuth$3.actionPerformed(FormAuth.java:80)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)

JB
Offline
Joined: 2010-09-15
Rate this post:
0
No votes yet

Dear customer,

Make sure that you call the function finalize when you initialize, another possibility could be that you are initializing more than once.

If you have more questions, let us know.

 

Jan Beeck

Griaule Support Team