NickHowe
java.lang.ExceptionInInitializerError
    at com.jniwrapper.win32.system.Kernel32.isUnicode(Kernel32.java:74)
    at com.jniwrapper.win32.FunctionName.<clinit>(FunctionName.java:27)
    at com.jniwrapper.win32.io.FileSystem.<clinit>(FileSystem.java:25)
    at com.thebrain.personal.c.b.b.if(Unknown Source)
    at com.thebrain.personal.c.a.if(Unknown Source)
    at com.thebrain.personal.e.a.new(Unknown Source)
    at com.thebrain.personal.controller.App.a(Unknown Source)
    at com.thebrain.personal.controller.App.getUserHome(Unknown Source)
    at com.thebrain.personal.controller.App.getUserPath(Unknown Source)
    at com.thebrain.personal.f.a.c.do(Unknown Source)
    at com.thebrain.personal.f.a.c.new(Unknown Source)
    at com.thebrain.personal.f.a.c.for(Unknown Source)
    at com.thebrain.personal.f.a.c.case(Unknown Source)
    at com.thebrain.personal.controller.App.main(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
    at com.exe4j.runtime.WinLauncher.main(Unknown Source)
Caused by: com.jniwrapper.LibraryNotFoundException: Cannot find JNIWrapper native library (jniwrap.dll) in java.library.path: C:\Program Files\PersonalBrain;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\PROGRA~1\GTK\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\ATI Technologies\ATI Control Panel;C:\Program Files\Common Files\GTK\2.0\bin;C:\Program Files\Support Tools\;C:\Program Files\Common Files\Adobe\AGL;C:\Windows\system32\WindowsPowerShell\v1.0;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\9.0\DLLShared\;c:\program files\java\jre1.6.0_01\bin;c:\program files\java\jre1.6.0_01\bin
    at com.jniwrapper.J.b(SourceFile:51)
    at com.jniwrapper.J.<init>(SourceFile:32)
    at com.jniwrapper.Parameter.<clinit>(SourceFile:22)
    ... 20 more


Quote
Harlan

4068 has been pulled for now. Please reinstall 4067 until we sort out the issues. Thanks.

Regards,
-Harlan
Quote
newguy
I get the following error every time I start Personal Brain for the first time in a Windows session...(regardless of version -- still happened with today's upgrade)  After this first error, everything works fine from there on in.

java.lang.ExceptionInInitializerError
 
 at com.jniwrapper.win32.system.Kernel32.isUnicode(Kernel32.java:74)
 at com.jniwrapper.win32.FunctionName.<clinit>(FunctionName.java:27)
 at com.jniwrapper.win32.io.FileSystem.<clinit>(FileSystem.java:25)
 at com.thebrain.personal.c.b.b.if(WindowsOSHelper.java:480)
 at com.thebrain.personal.c.a.if(OSHelper.java:380)
 at com.thebrain.personal.e.a.new(PathHelper.java:238)
 at com.thebrain.personal.controller.App.do(App.java:188)
 at com.thebrain.personal.controller.App.getUserHome(App.java:179)
 at com.thebrain.personal.controller.App.getUserPath(App.java:205)
 at com.thebrain.personal.f.a.c.do(SerialNumber.java:519)
 at com.thebrain.personal.f.a.c.new(SerialNumber.java:547)
 at com.thebrain.personal.f.a.c.for(SerialNumber.java:500)
 at com.thebrain.personal.f.a.c.case(SerialNumber.java:164)
 at com.thebrain.personal.controller.App.main(App.java:265)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
 at com.exe4j.runtime.WinLauncher.main(Unknown Source)
Caused by: com.jniwrapper.LibraryNotFoundException: Cannot find JNIWrapper native library (jniwrap.dll) in java.library.path: C:\Program Files\PersonalBrain;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Intel\Wireless\Bin\;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;"C:\Program Files\Zone Labs\ZoneAlarm\MailFrontier"
 at com.jniwrapper.J.b(SourceFile:51)
 at com.jniwrapper.J.<init>(SourceFile:32)
 at com.jniwrapper.Parameter.<clinit>(SourceFile:22)
 ... 20 more

Is this a problem with my Java installation??
Quote
NickHowe
Make sure you are on Java 1.6.0.2.  If you already are I think it is over to Harlan and the team.
Quote
newguy
Sorry I got waylaid at work yesterday...

Nope - I am current on my Java installation - on Windows XP with PersonalBrain Pro 4.0.8.5.
The error in my previous post (above) repeats itself, as I mentioned, each time I start PersonalBrain
in a new windows session.  Once that error is out of the way, PB will start without any issues for
 the remainder of the session.  (I'm running it on a VAIO VGN-FS920 laptop.)

Any suggestions? Anyone?
Quote
Harlan
It sounds like there is some sort of initialization problem with the DLL file. No one else has reported this for some reason.

Try copying the file "PersonalBrain\bin\jniwrap.dll" into your "C:\Windows\System32" folder and see if that fixes the problem.
Regards,
-Harlan
Quote
newguy
Harlan -

Just FYI, the .dll trick didn't work - in fact, that produced the same crash EVERY time
& wouldn't allow PB to run at all.  Apparently, this is something in my laptop, because the
PB I have installed on a thumbdrive is not causing this problem on any other computer I work on...

Quote
Harlan
It sounds like the version of the jniwrap.dll file has been corrupted somehow... Maybe another program has updated this file with the wrong version? The file should be dated 12/29/2006 6:51 AM.

Can you do a search on your hard drive for jniwrap.dll and see if you have multiple copies of it? If this is the problem, we'll need to isolate the version that is causing the trouble and make sure PB gets the right version.

Regards,
-Harlan
Quote
newguy
The version I've got in my PersonalBrain\bin\ directory is dated 2/23/2007 9:56PM... is this a problem? (It is the only copy on the hard drive - and I had re-installed Java at the beginning of this)
 
Quote
Harlan
Hmm - no, that's not a problem. After reading your post, I reviewed the DLL again and 2/23/07 is also valid date. Sorry for the confusion on that.

Can you try deleting your Program Files\PersonalBrain folder and then reinstalling the latest version (4088)?

If this does not fix the problem, please post your Program Files\PersonalBrain\output.log file so we can investigate further. Thanks for your help with this.

Regards,
-Harlan
Quote
newguy
Here's the output.log...


PersonalBrain Pro Version 4088
Java 1.6.0_02
Program Location = C:\Program Files\PersonalBrain
Program Settings Location = C:\Documents and Settings\Todd New\Application Data/PersonalBrain
Operating system: Windows XP
winlaf look and feel is off - using custom event queue
Look and feel set to: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Start Thought = Phoenix,1
Text filters are present.
Text filters are present and enabled. Documents will be converted.
HTML filters are not available or are disabled. Documents will not be converted.
Checking registry for shell new commands...
Hotkey set to Alt+Shift+Z
Completed Shell New Search.
Notes menus initialized
This application was created using:
BrainSDK - The Visual Network Interface
----------------------------------------------------------------------------------
(C) 1998-2006 TheBrain Technologies LP.
Email: info@thebrain.com
Phone: 310-751-5000
http://www.thebrain.com
animation set to delay of 20
animation set to delay of 20
Setting default Plex font to system font Dialog.plain
Time to initialized main window: 11859
REQUEST:http://www.thebrain.com/personal/updateCheck?os=Windows+XP&version=4088&edition=2&c=65&a=478&i=50
animation set to delay of 40
Close completed in 0
Initializing Brain stage 1
IO exception while checking for latest version
Database name: C:/Documents and Settings/Todd New/My Documents/ISAC_brain/brain
Attempting to connect to the database directly with exclusive access and normal password...
Database connection successful - normal.
Setting database properties...done
Setting commit state...done
Min database version: 4033
File root: Files
Full file root: C:\Documents and Settings\Todd New\My Documents\ISAC_brain\Files
Database is version 4088
Init database is complete
Initializing Brain stage 2
Initializing Brain stage 3
Initializing Brain stage 4
Initializing Brain stage 5
Initializing Brain stage 7
Initializing Brain stage 8
Completed Initializing Brain
Load completed in 1297
UI initialization stage 1
UI initialization stage 2
UI initialization stage 3
UI initialization stage 4
UI initialization stage 4.1
UI initialization stage 4.2
UI initialization stage 5
UI initialization stage 6
UI initialization complete
There is no entry in HKEY_CURRENT_USER for extention .doc
Looked up icon for .doc and got C:\WINDOWS\Installer\{91E30409-6000-11D3-8CFE-0150048383C9}\wordicon.exe,1
Getting native icon: C:\WINDOWS\Installer\{91E30409-6000-11D3-8CFE-0150048383C9}\wordicon.exe ext: .doc Total native icons retrieved: 1
There is no entry in HKEY_CURRENT_USER for extention .ppt
Looked up icon for .ppt and got C:\WINDOWS\Installer\{91E30409-6000-11D3-8CFE-0150048383C9}\pptico.exe,1
Getting native icon: C:\WINDOWS\Installer\{91E30409-6000-11D3-8CFE-0150048383C9}\pptico.exe ext: .ppt Total native icons retrieved: 2
There is no entry in HKEY_CURRENT_USER for extention .pdf
Exception (The system cannot find the file specified.) caught while retrieving native icon for extension: pdf
Getting native icon: C:\Documents and Settings\Todd New\My Documents\ISAC_brain\Files\838E0F97-B233-016C-F437-BBE025C24935\Organized Crime Overview.pdf ext: .pdf Total native icons retrieved: 3
notes load time for thought Somali Gangs:156 bytes=319

Quote
Harlan
It seems there was no error in the log this time. Does everything seems to be working correctly now?
Regards,
-Harlan
Quote
newguy
Sorry - here's what happens. (my bad)

java.lang.ExceptionInInitializerError
 at com.jniwrapper.win32.system.Kernel32.isUnicode(Kernel32.java:74)
 at com.jniwrapper.win32.FunctionName.<clinit>(FunctionName.java:27)
 at com.jniwrapper.win32.io.FileSystem.<clinit>(FileSystem.java:25)
 at com.thebrain.personal.c.b.b.if(WindowsOSHelper.java:486)
 at com.thebrain.personal.c.a.if(OSHelper.java:380)
 at com.thebrain.personal.e.a.new(PathHelper.java:238)
 at com.thebrain.personal.controller.App.do(App.java:188)
 at com.thebrain.personal.controller.App.isRunningFromRemovable(App.java:172)
 at com.thebrain.personal.f.a.c.else(SerialNumber.java:259)
 at com.thebrain.personal.f.a.c.do(SerialNumber.java:529)
 at com.thebrain.personal.f.a.c.new(SerialNumber.java:557)
 at com.thebrain.personal.f.a.c.for(SerialNumber.java:510)
 at com.thebrain.personal.f.a.c.case(SerialNumber.java:165)
 at com.thebrain.personal.controller.App.main(App.java:265)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
 at com.exe4j.runtime.WinLauncher.main(Unknown Source)
Caused by: com.jniwrapper.LibraryNotFoundException: Cannot find JNIWrapper native library (jniwrap.dll) in java.library.path: C:\Program Files\PersonalBrain;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Intel\Wireless\Bin\;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;"C:\Program Files\Zone Labs\ZoneAlarm\MailFrontier"
 at com.jniwrapper.J.b(SourceFile:51)
 at com.jniwrapper.J.<init>(SourceFile:32)
 at com.jniwrapper.Parameter.<clinit>(SourceFile:22)
 ... 20 more

Quote
Harlan
We'll get in touch with you directly to try and troubleshoot this problem. Thanks.
Regards,
-Harlan
Quote

Newsletter Signup  Newsletter        Visit TheBrain Blog   Blog       Follow us on Twitter   Twitter       Like Us on Facebook   Facebook         Circle Us on Google+  Google         Watch Us on Youtube  YouTube       

TheBrain Mind Map & Mindmapping Software     Download TheBrain Mind Mapping Software