September 23, 2013

Nizar shared this idea

Dear Sir,

I have found no place to report this problem except the “Post Idea” 1) CPN Version 4.0, Windows 8 64x, Open the program→ new net. Error Message: Beta Execution aborted: Stop is called. Error during dump: access violation. I expect to show a new net to start design a CN.

In the dump there is a path does not exists in my computer which is:

C:/cpn2000/document/ml/
dump:
eta execution aborted: Stop is called.

Stop message:

"*** Exception processing
ProcessManager exception. Error id: No such file or directory
Failed to start process: java"

Call chain: (nti_ms)

item <stop#> in ~beta/basiclib/betaenv
-- BETAENV-~ in ~beta/basiclib/betaenv
item ProcessManagerException#<exception#> in ~beta/basiclib/betaenv
-- BETAENV-~ in ~beta/basiclib/betaenv
item <PROCESSSTARTMDBODY-~> in ~beta/process/private/processmanager_nt
-- start# in ~beta/process/processmanager
item <start#> in ~beta/process/processmanager
-- Process# in ~beta/process/processmanager
item <couldNotConnect#>couldNotConnect# in C:/cpn2000/cpnet/private/cpnetmlbody
-- *MLPingExtension#CPNMLCommand#MLCommand# in C:/cpn2000/cpnet/private/cpnetmlbody
item couldNotConnect#<couldNotConnect#> in C:/cpn2000/document/ml/mlcommands
-- *MLPingExtension#CPNMLCommand#MLCommand# in C:/cpn2000/cpnet/private/cpnetmlbody
item <onError#>onError#LocalException# in C:/cpn2000/document/ml/mlcommands
-- *MLPingExtension#CPNMLCommand#MLCommand# in C:/cpn2000/cpnet/private/cpnetmlbody
item onError#<onError#>LocalException# in C:/cpn2000/document/ml/mlcommands
-- *MLPingExtension#CPNMLCommand#MLCommand# in C:/cpn2000/cpnet/private/cpnetmlbody
item onError#onError#<LocalException#> in C:/cpn2000/document/ml/mlcom
-- *MLPingExtension#CPNMLCommand#MLCommand# in C:/cpn2000/cpnet/private/cpnetmlbody
item Receive#<Receive#> in C:/cpn2000/document/ml/mlcom
-- *MLPingExtension#CPNMLCommand#MLCommand# in C:/cpn2000/cpnet/private/cpnetmlbody
item <receiveCommand#> in C:/cpn2000/document/ml/mlcom
-- ML#MLCom#Monitor# in C:/cpn2000/cpnet/cpnet
item <onBIS#>onBISPattern# in C:/cpn2000/document/ml/private/mlcombody
-- *Get#withIdle#withPE# in C:/cpn2000/document/ml/private/mlcombody
item onBIS#<onBISPattern#> in C:/cpn2000/document/ml/mlsocket
-- *Get#withIdle#withPE# in C:/cpn2000/document/ml/private/mlcombody
item <*> in C:/cpn2000/document/ml/private/mlsocketbody
-- * in C:/cpn2000/document/ml/private/mlsocketbody
item <*> in C:/cpn2000/document/ml/private/mlsocketbody
-- *Get#withIdle#withPE# in C:/cpn2000/document/ml/private/mlcombody
item *<Get#>withIdle#withPE# in C:/cpn2000/document/ml/mlsocket
-- MLSocket#BasicSocket# in C:/cpn2000/document/ml/mlsocket
item *Get#<withIdle#>withPE# in ~beta/process/basicsocket
-- MLSocket#BasicSocket# in C:/cpn2000/document/ml/mlsocket
item *Get#withIdle#<withPE#> in ~beta/process/basicsocket
-- MLSocket#BasicSocket# in C:/cpn2000/document/ml/mlsocket
comp <ReceiverThread#>System#SysHead# in C:/cpn2000/document/ml/private/mlcombody
-- MLCOMPRIVATE-~ in C:/cpn2000/document/ml/private/mlcombody
comp ReceiverThread#<System#>SysHead# in ~beta/basiclib/basicsystemenv
-- PROGRAM-~CPNWorkSpace#Workspace#World#SystemEnv#SysHead# in C:/cpn2000/cpntools/cpntools
comp ReceiverThread#System#<SysHead#> in ~beta/basiclib/basicsystemenv
-- BETAENV-~ in ~beta/basiclib/betaenv

item <attNext#>realValue# in ~beta/basiclib/private/basicsystemenvbody
-- BASICSYSTEMENVPRIVATE-~ in ~beta/basiclib/private/basicsystemenvbody
item attNext#<realValue#> in ~beta/basiclib/betaenv
-- BETAENV-~ in ~beta/basiclib/betaenv
item <UIIdle#>booleanValue# in ~beta/guienv/private/winnt/guienvntsystemenvbody
-- PIOPRIVATE-~ in ~beta/guienv/private/winnt/guienvntsystemenvbody
item UIIdle#<booleanValue#> in ~beta/basiclib/betaenv
-- BETAENV-~ in ~beta/basiclib/betaenv
item <processOneEvent#> in ~beta/guienv/private/winnt/guienv_ntiprivate
-- GUIenv# in ~beta/guienv/guienv
item <mainLoop#> in ~beta/guienv/private/winnt/guienv_ntiprivate
-- GUIenv# in ~beta/guienv/guienv 
item <GUIenv#> in ~beta/guienv/guienv
-- BETAENV-~ in ~beta/basiclib/betaenv
item <run#>run# in ~beta/postwimp/foundation/guisurface
-- GUISurface#Surface# in ~beta/postwimp/foundation/guisurface
item run#<run#> in ~beta/postwimp/foundation/abstractsurface
-- GUISurface#Surface# in ~beta/postwimp/foundation/guisurface
item <platformAfter#> in ~beta/postwimp/foundation/private/worldbody
-- PROGRAM-~CPNWorkSpace#Workspace#World#SystemEnv#SysHead# in C:/cpn2000/cpntools/cpntools
item <after#> in ~beta/postwimp/foundation/world
-- PROGRAM-~CPNWorkSpace#Workspace#World#SystemEnv#SysHead# in C:/cpn2000/cpntools/cpntools
comp PROGRAM-~CPNWorkSpace#Workspace#<World#>SystemEnv#SysHead# in ~beta/postwimp/foundation/world
-- BETAENV-~ in ~beta/basiclib/betaenv
comp PROGRAM-~CPNWorkSpace#Workspace#World#<SystemEnv#>SysHead# in ~beta/basiclib/basicsystemenv
-- BETAENV-~ in ~beta/basiclib/betaenv
comp PROGRAM-~CPNWorkSpace#Workspace#World#SystemEnv#<SysHead#> in ~beta/basiclib/basicsystemenv
-- BETAENV-~ in ~beta/basiclib/betaenv

item <attNext#>realValue# in ~beta/basiclib/private/basicsystemenvbody
-- BASICSYSTEMENVPRIVATE-~ in ~beta/basiclib/private/basicsystemenvbody
item attNext#<realValue#> in ~beta/basiclib/betaenv
-- BETAENV-~ in ~beta/basiclib/betaenv
item <UIIdle#>booleanValue# in ~beta/guienv/private/winnt/guienvntsystemenvbody
-- PIOPRIVATE-~ in ~beta/guienv/private/winnt/guienvntsystemenvbody
item UIIdle#<booleanValue#> in ~beta/basiclib/betaenv
-- BETAENV-~ in ~beta/basiclib/betaenv
item <processOneEvent#> in ~beta/guienv/private/winnt/guienv_ntiprivate
-- GUIenv# in ~beta/guienv/guienv
item <mainLoop#> in ~beta/guienv/private/winnt/guienv_ntiprivate
-- GUIenv# in ~beta/guienv/guienv
item <GUIenv#> in ~beta/guienv/guienv
-- BETAENV-~ in ~beta/basiclib/betaenv
item <start#> in ~beta/guienv/private/winnt/guienvntsystemenvbody
-- PIOPRIVATE-~ in ~beta/guienv/private/winnt/guienvntsystemenvbody
comp <BASICSCHEDULER-~>SysHead# in ~beta/guienv/private/winnt/guienvntsystemenvbody
-- PROGRAM-~CPNWorkSpace#Workspace#World#SystemEnv#SysHead# in C:/cpn2000/cpntools/cpntools
comp BASICSCHEDULER-~<SysHead#> in ~beta/basiclib/basicsystemenv
-- BETAENV-~ in ~beta/basiclib/betaenv

item <*> in ~beta/basiclib/betaenv
-- BETAENV-~ in ~beta/basiclib/betaenv
basic component in ~beta/basiclib/betaenv

Low level information:

Stop message:
"*** Exception processing
ProcessManager exception. Error id: No such file or directory
Failed to start process: java"

Call chain: (nti_ms)

October 4, 2103

Axel commented

I had the same error message, when opening a new net. I upgraded Java to the latest version(7u40). The x64 version still does not work, but when i am using the x86 version the problem is solved.

CPN Tools: 4.0 OS: Win 7 x64

November 5, 2013

Planned

Michael Westergaard (Code and Support Guy, CPN Tools) responded

This is caused by the tool being unable to find java. It seems to be a problem with Windows 64 bit and some other cases.

The tool should handle this nicer.

January 11, 2014

Tobias commented

I had the same problem (CPNTools 4.0, Win7 64bit). Installation of 32bit Java solved the problem.

April 21, 2014

Freddy commented

Same here with CPNTools 4.0 and Win 8.1 x64. Maybe you could consider publishing a 64bit version which supports 64bit Java in the future?

May 28, 2104

M.M commented

Hi

I have a similar problem when i want to install CPNTools 4.0(win7 64bit). This error is:” The installer could not fined a valid java™ on this machin.” How do i resolve this problem?

Thanks.

June 7, 2014

Anonymous commented

I had the same problem. Just add java.exe path to environment variable PATH.

July 10, 2014

Anonymous commented

Hi

I have a similar problem, when i would like open an existing net or create a new net.

“WARNING: Coluld not open/create prefs root nood Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreatekeyEx(…) returned error code 5.

#Beta execution aborted: Access violation. #Error during dump: Unexpected Signal. Aborting.”

The java version of 32 bit didn’t solve the problem.

I have a windows 7 64 bit and java version 7 update 60.

This is ridiculous because yesterday the CPN tools worked normally, but today the program is not working. Today Microsoft updated the windows….(KB2971850 and some others….)

What can I do? (ok, delete the version 64 bit, but I don’t like to do that…)

July 12, 2014

Michael Westergaard (Code and Support Guy, CPN Tools) commented

As mentioned, the problem is caused by lacking Java. Make sure to download and install a recent JRE/JDK from http://www.oracle.com/technetwork/java/javase/downloads/index.html (anything from 7 and up should work).

If you get the error, make sure to set your environment variables (varies with the version of Windows, so look that up; on Windows, select advanced system settings in Control panel and then Environment variables) so that JAVA_HOME points to the installation location (e.g., c:\Program Files\Java\jre8) and your PATH includes the bin directory under JAVA_HOME (in the example, it would have to include c:\Program Files\Java\jre8\bin).

Sometimes the installer sets this up correctly, sometimes not. It seems to be a problem especially with the 64 bit installer, but everything works with all combinations of architectures as long as the variables are set correctly.

Michael Westergaard (Code and Support Guy, CPN Tools) commented

I’ve added a section to the knowledge base detailing the problem (Can’t simulate model/Model stays orange). I’ll change the description to instead say that this should be detected and the user should be directed to a solution (it is not a problem in CPN Tools, it is a system problem, but CPN Tools should detect this instead of crashing).

December 13, 2014

thunha commented

just downloaded and had the same issue. Has anyone had another solution without deleting version 64 bit?

Problem directory for monitors in 3.4.0
Recheck enabling when changing constraints

You must be logged in to post a comment.