License server dying on me...

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

License server dying on me...

6,742 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by ogautherot on Tue Sep 21 09:43:41 MST 2010
Hi, I am on Windows 7 64 bits and installed the IDE. When I tried to generate the license, I selected "Create Serial Number and Activate...", which returned an error after I clicked OK (I could generate the serial number and I received the activation code by email). The error message reads "Unable to store serial number: String index out of range: -93". When I try to enter the activation code, I get the message "No license to activate".

To start debugging, I went to the directory \nxp\lpcxpresso_3.5\bin and tried to run crt_emu_lpc11_13_nxp.exe -info-license and Windows reported an error (the program just died). I added \windows\sysWOW64 to my path but same result.

Does anyone have a suggestion for my next step?
Thanks in advance
Olivier
0 项奖励
回复
24 回复数

6,275 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by sueng on Mon Apr 11 02:47:19 MST 2011

Quote: CodeRedSupport
sueng:
"Could not save serial number" means that we cannot store the serial number to disk. The directory /usr/share/LPCXpresso must exist, and be writable by LPCXpresso

larryvc:
there are no lockouts for LPCXpresso, so you can reactivate as often as you like


the directory is already there , and the error log is like this :

Quote:

!ENTRY Create Serial number and Activate 4 -1 2011-04-08 11:40:26.427
!MESSAGE Unable to store serial number:
String index out of range: -6



that's look like some string exceed the buffer length , isn't it ?
0 项奖励
回复

6,275 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by larryvc on Thu Apr 07 23:47:40 MST 2011
Thanks for the reply CodeRedSupport.

Is the following for purchased CodeRed products only or is it just wrong?

http://support.code-red-tech.com/CodeRedWiki/LicenseReactivation
0 项奖励
回复

6,275 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Thu Apr 07 23:41:46 MST 2011
sueng:
"Could not save serial number" means that we cannot store the serial number to disk. The directory /usr/share/LPCXpresso must exist, and be writable by LPCXpresso

larryvc:
there are no lockouts for LPCXpresso, so you can reactivate as often as you like
0 项奖励
回复

6,275 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by larryvc on Thu Apr 07 23:04:18 MST 2011
CodeRedSupport there is an error in this:


Quote: CodeRedSupport
It looks like you have confused serial numbers and activation codes.:rolleyes:
The code:
JWPZ-OTOW-CXOQ-HRKY-BVF5-L3N5-ARIZ-E3LX-H3OT-FZIV-NXLX

is an activation code that must then be entered into the lpcxpresso activation system. When this has been entered, you will be emailed with a serial number.



s/b
is a serial number...emailed with an activation code.

I went through the registration procedure, twice the other night, to provide instruction to sueng.  I hope I don't have to reactivate again as I'm probably locked out for 30 days.  I read that on the wiki so if it's changed let me know, if not, can you reset my account.

Unless there is a major difference in the registration procedure for windows and linux what I tried worked for me.

I think you may be the only one able to resolve this and I leave sueng in your capable hands.:)
0 项奖励
回复

6,275 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by sueng on Thu Apr 07 21:36:46 MST 2011
The problem is the system error : "Could not save serial number" , when I click OK


Quote: larryvc
Now click "Copy serial number to clipboard" and then "OK".

You will go to the CodeRed Site.  Login to the site and go to "My Registrations" and paste the serial number and click "Send me my activation code".

An "Activation Code" will be emailed to you.

0 项奖励
回复

6,275 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by larryvc on Mon Apr 04 20:50:46 MST 2011

Quote: sueng
that's exactly what I've got when choose Create Serial Number and Activate Menu



Now click "Copy serial number to clipboard" and then "OK".

You will go to the CodeRed Site.  Login to the site and go to "My Registrations" and paste the serial number and click "Send me my activation code".

An "Activation Code" will be emailed to you.
0 项奖励
回复

6,274 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by sueng on Mon Apr 04 20:08:30 MST 2011
that's exactly what I've got when choose Create Serial Number and Activate Menu
0 项奖励
回复

6,274 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Mon Apr 04 10:21:59 MST 2011
It looks like you have confused serial numbers and activation codes.
The code:
JWPZ-OTOW-CXOQ-HRKY-BVF5-L3N5-ARIZ-E3LX-H3OT-FZIV-NXLX

is an activation code that must then be entered into the lpcxpresso activation system. When this has been entered, you will be emailed with a serial number.

Please read section 3.3 (Activation) of LPCXpresso Getting Started guide for details of the activation process.
http://ics.nxp.com/support/documents/microcontrollers/pdf/lpcxpresso.getting.started.pdf
0 项奖励
回复

6,274 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by sueng on Mon Apr 04 03:35:40 MST 2011
here are log of the unworking system :

!SESSION 2011-04-04 14:08:04.973 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_18
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Command-line arguments:  -os linux -ws gtk -arch x86 -data /home/sugeng/codered

!ENTRY org.eclipse.ui 4 4 2011-04-04 14:08:08.877
!MESSAGE Unable to find view with id: com.crt.swv.views.SwvViews, when creating perspective com.crt.lite.perspective.CRTPerspective

!ENTRY Create Serial number and Activate 4 -1 2011-04-04 14:08:32.681
!MESSAGE Unable to store serial number:
String index out of range: -25

and here is the serial number :
JWPZ-OTOW-CXOQ-HRKY-BVF5-L3N5-ARIZ-E3LX-H3OT-FZIV-NXLX

and here is the working serial number :
O0C4-LRAW-F4DY-F3LV-M3DY-PTJ0-MSKT-CXK0
0 项奖励
回复

6,274 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Mon Apr 04 01:21:17 MST 2011
If you would like somebody to help, could you please supply more information.

- which version of LPCXpresso are you using?
- what are the serial numbers that work and don't work?
- please post the entire log file that contains the error
0 项奖励
回复

6,274 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by sueng on Mon Apr 04 01:10:43 MST 2011
I've got the same experience, I've installed on two machine , the working has OS Linux Mint 10 and the other not working is in Ubuntu 10.04.
When I observe the generated serial number from Linux Mint system it's only 32 character without dash , but serial number from ubuntu system is 44 character without dash, that's why from ubuntu system got an error string index out of range.
My question is why the length of serial number could generate in different length in some system ?
0 项奖励
回复

6,274 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by ogautherot on Wed Sep 22 09:09:28 MST 2010

Quote: CodeRedSupport
I am sorry for the problems you are having. Could you contact Code Red support directly and we will send you a utility that will help us diagnose your problem.

Please use the Code Red contact form



Thank you for your help anyway. I'll contact you for further debugging.

By the way, I have installed the tools on another computer that worked flawlessly but it was under Vista 32-bit. Maybe there is some issue with 64-bit Windows (it would not be the first time :-) )

Cheers
Olivier
0 项奖励
回复

6,274 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Wed Sep 22 07:00:44 MST 2010
I am sorry for the problems you are having. Could you contact Code Red support directly and we will send you a utility that will help us diagnose your problem.

Please use the Code Red contact form
0 项奖励
回复

6,274 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by ogautherot on Tue Sep 21 15:06:39 MST 2010
%PUBLIC% refers to c:\Users\Public, which exists but was read-only.

I changed the access rights but could not generate the serial number. Still the same fault.
0 项奖励
回复

6,274 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Tue Sep 21 12:06:30 MST 2010
Can you tell me the value of your %PUBLIC% environment variable. It should point to a directory. And can you make sure that directory exists, and is writable by you.
0 项奖励
回复

6,274 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by ogautherot on Tue Sep 21 11:55:14 MST 2010

Quote: CodeRedSupport
Are you *sure* - there is always a log file.



I was sure but you were right: I was looking in the wrong workspace directory.

Here goes the log (I've stripped a few things to reduce redundancy):


!SESSION 2010-09-21 13:27:32.032 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_20
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=es_CL
Command-line arguments:  -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.ui.workbench 2 0 2010-09-21 13:27:43.020
!MESSAGE A handler conflict occurred.  This may disable some commands.
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2010-09-21 13:27:43.020
!MESSAGE Conflict for 'AUTOGEN:::com.crt.quickstart.utils/com.crt.quickstart.action.debugconfig':
HandlerActivation(commandId=AUTOGEN:::com.crt.quickstart.utils/com.crt.quickstart.action.debugconfig,
    handler=ActionDelegateHandlerProxy(null,com.crt.quickstart.utils.QSUtilCleanDebugConfig),
    expression=WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@1570c24),sourcePriority=16384)
HandlerActivation(commandId=AUTOGEN:::com.crt.quickstart.utils/com.crt.quickstart.action.debugconfig,
    handler=ActionDelegateHandlerProxy(null,com.crt.quickstart.utils.QSUtilOpenDebugConfig),
    expression=WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@1570c24),sourcePriority=16384)

!ENTRY Create Serial number and Activate 4 -1 2010-09-21 13:28:06.560
!MESSAGE Unable to store serial number:
String index out of range: -93

!ENTRY Enter Activation code 4 -1 2010-09-21 13:30:40.670
!MESSAGE No license to activate.

!ENTRY Enter Activation code 4 -1 2010-09-21 13:30:55.670
!MESSAGE No license to activate.
!SESSION 2010-09-21 14:25:28.023 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_20
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=es_CL
Command-line arguments:  -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.ui.workbench 2 0 2010-09-21 14:25:37.394
!MESSAGE A handler conflict occurred.  This may disable some commands.
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2010-09-21 14:25:37.394
!MESSAGE Conflict for 'AUTOGEN:::com.crt.quickstart.utils/com.crt.quickstart.action.debugconfig':
HandlerActivation(commandId=AUTOGEN:::com.crt.quickstart.utils/com.crt.quickstart.action.debugconfig,
    handler=ActionDelegateHandlerProxy(null,com.crt.quickstart.utils.QSUtilOpenDebugConfig),
    expression=WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@4b2b75),sourcePriority=16384)
HandlerActivation(commandId=AUTOGEN:::com.crt.quickstart.utils/com.crt.quickstart.action.debugconfig,
    handler=ActionDelegateHandlerProxy(null,com.crt.quickstart.utils.QSUtilCleanDebugConfig),
    expression=WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@4b2b75),sourcePriority=16384)


!ENTRY org.eclipse.ui.workbench 2 0 2010-09-21 14:26:31.377
!MESSAGE A handler conflict occurred.  This may disable some commands.
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2010-09-21 14:26:31.377
!MESSAGE Conflict for 'AUTOGEN:::com.crt.quickstart.utils/com.crt.quickstart.action.debugconfig':
HandlerActivation(commandId=AUTOGEN:::com.crt.quickstart.utils/com.crt.quickstart.action.debugconfig,
    handler=ActionDelegateHandlerProxy(null,com.crt.quickstart.utils.QSUtilCleanDebugConfig),
    expression=WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@1453d72),sourcePriority=16384)
HandlerActivation(commandId=AUTOGEN:::com.crt.quickstart.utils/com.crt.quickstart.action.debugconfig,
    handler=ActionDelegateHandlerProxy(null,com.crt.quickstart.utils.QSUtilOpenDebugConfig),
    expression=WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@1453d72),sourcePriority=16384)
!SESSION 2010-09-21 14:29:27.286 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_20
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=es_CL
Command-line arguments:  -os win32 -ws win32 -arch x86 -data @user.home/Documents/lpcxpresso_3.5/workspace

!ENTRY org.eclipse.equinox.ds 4 0 2010-09-21 14:29:27.995
!MESSAGE
!STACK 0
org.osgi.framework.BundleException: The bundle could not be resolved. Reason: Missing Constraint: Import-Package: org.eclipse.equinox.internal.util.event; version="1.0.0"
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1313)
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1297)
    at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:309)
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:370)
    at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1068)
    at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:557)
    at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:464)
    at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:248)
    at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:445)
    at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:227)
    at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:337)

!ENTRY org.eclipse.ui.workbench 2 0 2010-09-21 14:29:35.768
!MESSAGE A handler conflict occurred.  This may disable some commands.
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2010-09-21 14:29:35.768
!MESSAGE Conflict for 'AUTOGEN:::com.crt.quickstart.utils/com.crt.quickstart.action.debugconfig':
HandlerActivation(commandId=AUTOGEN:::com.crt.quickstart.utils/com.crt.quickstart.action.debugconfig,
    handler=ActionDelegateHandlerProxy(null,com.crt.quickstart.utils.QSUtilCleanDebugConfig),
    expression=WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@5d3ac0),sourcePriority=16384)
HandlerActivation(commandId=AUTOGEN:::com.crt.quickstart.utils/com.crt.quickstart.action.debugconfig,
    handler=ActionDelegateHandlerProxy(null,com.crt.quickstart.utils.QSUtilOpenDebugConfig),
    expression=WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@5d3ac0),sourcePriority=16384)
0 项奖励
回复

6,274 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Tue Sep 21 10:56:58 MST 2010
Are you *sure* - there is always a log file.
0 项奖励
回复

6,274 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by ogautherot on Tue Sep 21 10:41:46 MST 2010

Quote: CodeRedSupport
As mentioned earlier, please zip and post <workspace>/.metadata/.log



In this directory, I can find .lock (file), .mylyn (dir), .plugin (dir) and version.ini but no .log.

Is it of any help anyway?

Note: I had to reinstall this PC recently but LPCXpresso is still on my list of software that failed (other things were fixed in the the process).

Note 2: the directory C:\windows\sysWOW64 is not in my path at this time. I tried to invoke crt_emu_lpc11_13_nxp.exe with a fixed path by hand but no improvement. Could it be a reason for the IDE to fail with the serial number?

Thanks
Olivier
0 项奖励
回复

6,274 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Tue Sep 21 10:32:53 MST 2010
As mentioned earlier, please zip and post <workspace>/.metadata/.log
0 项奖励
回复

6,274 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by ogautherot on Tue Sep 21 10:31:07 MST 2010

Quote: CodeRedSupport
Please try this (even if you have done it before):
1. Create Serial number and Activate
2.When you get the serial number, Enter Activation code



Thank you for the suggestion - I try to avoid bothering a forum when it comes to straight and simple answers ;-)

Point 1 above gives me the awkward and unexpected answer "Unable to store serial number: String index out of range: -93" in a MessageBox after I click OK (note that the IDE does something because I get the activation code by email).

Point 2 opens another error MessageBox saying "LPCXpresso: Error - No license to activate". This may be related to the fact that the IDE was not able to store the serial number...

Any suggestion?
Olivier
0 项奖励
回复