Nullpointerexception when creating a new project

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

Nullpointerexception when creating a new project

2,311 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by oversc0re on Fri Aug 19 06:05:49 MST 2011
Hello,

I have recently installed the LPCXpresso and at a first glimpse I am fairly disappointed. First thing is an error on the splash screen saying:Internal error No vendors found EXception. I click Ok, the IDE starts. Clicking new project shows Errorbox with NullPointerException. Tree times. Afterwards I can click on different processor families, but the only enabled button at the bottom is cancel. Importing blinky on the other hand works. Freertos is missing small_printf.h and won't compile. Am I missing something?
LPCXPresso 4.0.6.152
Win7ent

Regars,
over.
0 项奖励
回复
20 回复数

2,088 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Tue May 22 03:37:39 MST 2012
In the first place read this...

http://support.code-red-tech.com/CodeRedWiki/LPCLinkDiagnostics

If you are still having problems, then try searching the forum - there are several references to this error in previous threads.

And if you are still stuck, then create a new thread and provide full details of your system, what you have tried, and exactly what messages you see.

Regards,
CodeRedSupport
0 项奖励
回复

2,088 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by gemejiar on Mon May 21 21:38:45 MST 2012
good night

I have a 64-bit win7 install lpcxpresso v4.2.2_275, but when I connect my system lpcxpresso LPC1769, and I try to schedule this I respond, "Remote communication error. Target disconnected.: No error"

What can be the mistake and correct it

thank you very much
0 项奖励
回复

2,088 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Stanislaus on Fri Dec 23 18:41:05 MST 2011
Hi CodeRedSupport,
thanks for supporting me so well.
Never got this message during installation. I installed it in the same path on my old machine - but LPCXpresso was in an earlier version. It still works there.
I always start LPCXpresso as Admin, so I should have permission to write into programm path. If I change compatibiliy mode the lic file isn't valid. So changed back to Win7 compatibility. :confused:

But the IDE seems to work. I can deploy to hardware and debugging is possible, too. So I live with this issue. It's okay. If I find a solution I'll post it here.

Thanks again and merry christmas,
Stanislaus
0 项奖励
回复

2,088 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Thu Dec 22 15:32:06 MST 2011
I just checked, and an error is reported if you try to install into Program Files. Did you ignore the warnings?
0 项奖励
回复

2,088 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Thu Dec 22 15:19:15 MST 2011

Quote:

[COLOR=red]- tell us where you installed the product.
[/COLOR][COLOR=black]The path is: D:\Program Files\LPCXpresso_4.1.5_219\lpcxpresso



That is the problem. Do not install in Program Files. Windows virtualizes accesses to this directory as it is a 'protected' system area. Red Suite needs to be able to write to its installation directory. IIRC you get warned against installing there during the install...
[/COLOR]
0 项奖励
回复

2,088 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Rob65 on Thu Dec 22 14:01:44 MST 2011
Zip it, post it on dropbox and post a link.

Regards,
[INDENT]Rob[/INDENT]
0 项奖励
回复

2,088 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by whitecoe on Thu Dec 22 11:46:19 MST 2011

Quote: Stanislaus
[FONT=&quot]
As I got no e-mail address I'll post it here. I only can post 10000 characters. This is why I asked for an e-mail. So I post all separately…



Why don't you just attach a text file with the log contents in it to the thread rather than trying to post the contents of the log file? You could also zip the text file up if it is that big.
0 项奖励
回复

2,088 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Stanislaus on Thu Dec 22 11:43:18 MST 2011
[COLOR=black][COLOR=red]Hi CodeRedSupport,[/COLOR][/COLOR]
[COLOR=black][COLOR=red]the next part.[/COLOR][/COLOR]
[COLOR=red]
[/COLOR]
[COLOR=red]- your environment variables (type 'set' at the command line prompt, and capture the output) [/COLOR][COLOR=black]- here it is:
ALLUSERSPROFILE=C:\ProgramData
AMDAPPSDKROOT=C:\Program Files (x86)\AMD APP\
APPDATA=C:\Users\Stanislaus\AppData\Roaming
CommonProgramFiles=C:\Program Files\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
CommonProgramW6432=C:\Program Files\Common Files
COMPUTERNAME=STANISLAUS-PC
ComSpec=C:\Windows\system32\cmd.exe
configsetroot=C:\Windows\ConfigSetRoot
FP_NO_HOST_CHECK=NO
HOMEDRIVE=C:
HOMEPATH=\Users\Stanislaus
LenovoTestLogFile=preload.log
LenovoTestPath=C:\prdv10\
LOCALAPPDATA=C:\Users\Stanislaus\AppData\Local
LOGONSERVER=\\STANISLAUS-PC
NUMBER_OF_PROCESSORS=4
OS=Windows_NT
Path=C:\Program Files (x86)\AMD APP\bin\x86_64;C:\Program Files (x86)\AMD APP\bi
n\x86;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Fil
es (x86)\Common Files\Microsoft Shared\Windows Live;C:\Windows\system32;C:\Windo
ws;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Progr
am Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\Windo
ws Live\Shared;C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;
C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Mic
rosoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\
Binn\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7
\IDE\;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAsse
mblies\;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;C:\Program Fil
es (x86)\ATI\ATI.ACE\Core-Static
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE=AMD64
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 42 Stepping 7, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=2a07
ProgramData=C:\ProgramData
ProgramFiles=C:\Program Files
ProgramFiles(x86)=C:\Program Files (x86)
ProgramW6432=C:\Program Files
PROMPT=$P$G
PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
PUBLIC=C:\Users\Public
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\Windows
TEMP=C:\Users\STANIS~1\AppData\Local\Temp
TMP=C:\Users\STANIS~1\AppData\Local\Temp
USERDOMAIN=Stanislaus-PC
USERNAME=Stanislaus
USERPROFILE=C:\Users\Stanislaus
VS100COMNTOOLS=D:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools\
windir=C:\Windows
windows_tracing_flags=3
windows_tracing_logfile=C:\BVTBin\Tests\installpackage\csilogfile.log
XNAGSShared=C:\Program Files (x86)\Common Files\Microsoft Shared\XNA\
XNAGSv4=C:\Program Files (x86)\Microsoft XNA\XNA Game Studio\v4.0\[/COLOR][COLOR=red]
- also, please provide directory listings of <install>, <install>/lpcxpresso and
<install>/lpcxpresso/bin.
[/COLOR][COLOR=black]Install is:
D:\Program Files>cd lpcxpresso_4.1.5_219

D:\Program Files\LPCXpresso_4.1.5_219>dir
Datenträger in Laufwerk D: ist Volume
Volumeseriennummer: FE2B-92B1

Verzeichnis von D:\Program Files\LPCXpresso_4.1.5_219

21.12.2011 13:16 <DIR> .
21.12.2011 13:16 <DIR> ..
21.12.2011 13:15 <DIR> Drivers
12.12.2011 04:01 935 InfoLPCXpresso.txt
12.12.2011 04:01 65.852 license.html
22.12.2011 19:00 <DIR> lpcxpresso
12.12.2011 04:01 352 LPCXpresso4Path.cmd
12.12.2011 04:01 65.852 LPCXpressoLicense.htm
12.12.2011 04:01 279.413 LPCXpressoLicense.pdf
12.12.2011 04:01 106.594 LPCXpressoLicense.rtf
12.12.2011 04:01 22.377 LPCXpressoLicense.txt
12.12.2011 04:01 2.540 LPCXpressoLinux.txt
12.12.2011 04:01 2.261 ReadmeLPCXpresso.txt
21.12.2011 13:16 835.580 unins000.dat
21.12.2011 13:14 705.664 unins000.exe
21.12.2011 13:16 10.582 unins000.msg
12.12.2011 04:01 4.216.840 vcredist_x86.exe
13 Datei(en), 6.314.842 Bytes
4 Verzeichnis(se), 238.534.537.216 Bytes frei

[/COLOR][COLOR=red]<install>/lpcxpresso[/COLOR]
Volumeseriennummer: FE2B-92B1

Verzeichnis von D:\Program Files\LPCXpresso_4.1.5_219\lpcxpresso

22.12.2011 19:00 <DIR> .
22.12.2011 19:00 <DIR> ..
12.12.2011 04:01 59 .eclipseproduct
12.12.2011 04:01 877 .options
12.12.2011 04:01 54.328 artifacts.xml
21.12.2011 13:15 <DIR> bin
22.12.2011 19:00 <DIR> configuration
12.12.2011 04:01 16.536 epl-v10.html
21.12.2011 13:15 <DIR> Examples
21.12.2011 13:15 <DIR> features
21.12.2011 13:15 <DIR> jre
12.12.2011 04:01 53.248 lpcxpresso.exe
12.12.2011 04:01 2.238 lpcxpresso.ico
12.12.2011 04:01 202 lpcxpresso.ini
12.12.2011 04:01 1.248 lpcxpresso.png
12.12.2011 04:01 24.576 LPCXpressoc.exe
12.12.2011 04:01 3.188.787 LPCXpressoGettingStarted.pdf
21.12.2011 13:15 <DIR> msys
12.12.2011 04:01 9.051 notice.html
21.12.2011 13:15 <DIR> p2
21.12.2011 13:15 <DIR> pages
21.12.2011 13:15 <DIR> plugins
21.12.2011 13:15 <DIR> readme
12.12.2011 04:01 11.210.698 Red_State_1.pdf
21.12.2011 13:15 <DIR> Tools
12.12.2011 04:01 2.238 uninstall.ico
12.12.2011 04:01 1.170 uninstall.png
21.12.2011 13:15 <DIR> Wizards
14 Datei(en), 14.565.256 Bytes
14 Verzeichnis(se), 238.534.537.216 Bytes frei

D:\Program Files\LPCXpresso_4.1.5_219\lpcxpresso>

[COLOR=red]<install>/lpcxpresso\bin[/COLOR]:
[COLOR=black]
D:\Program Files\LPCXpresso_4.1.5_219\lpcxpresso\bin>dir
Datenträger in Laufwerk D: ist Volume
Volumeseriennummer: FE2B-92B1

Verzeichnis von D:\Program Files\LPCXpresso_4.1.5_219\lpcxpresso\bin

21.12.2011 13:15 <DIR> .
21.12.2011 13:15 <DIR> ..
12.12.2011 04:01 7.680 checksum.exe
12.12.2011 04:01 148.992 chip_flash_a7_nxp.dll
12.12.2011 04:01 145.408 chip_flash_a9_nxp.dll
12.12.2011 04:01 155.136 chip_flash_cm3_nxp.dll
12.12.2011 04:01 155.648 chip_flash_lpc11_13_nxp.dll
12.12.2011 04:01 154.624 chip_flash_lpc18_43_nxp.dll
12.12.2011 04:01 4.308 crt_directory.dtd
12.12.2011 04:01 924 crt_directory.xml
12.12.2011 04:01 3.189 crt_directory.xslt
12.12.2011 04:01 800 crt_directory2.xme
12.12.2011 04:01 67.072 crt_emu_a7_nxp.exe
12.12.2011 04:01 67.072 crt_emu_a9_nxp.exe
12.12.2011 04:01 119.808 crt_emu_cm3_nxp.exe
12.12.2011 04:01 119.808 crt_emu_lpc11_13_nxp.exe
12.12.2011 04:01 119.808 crt_emu_lpc18_43_nxp.exe
12.12.2011 04:01 19.968 crt_hid_probe.dll
12.12.2011 04:01 14.739 crt_infolist.dtd
12.12.2011 04:01 5.440 crt_infolist.xslt
12.12.2011 04:01 6.733 crt_peripheral_defs.dtd
12.12.2011 04:01 4.319 crt_peripheral_defs.xslt
12.12.2011 04:01 22.016 crt_usb_probe.dll
12.12.2011 04:01 913.920 DFUAPP.exe
12.12.2011 04:01 13.824 elf.dll
21.12.2011 13:15 <DIR> Flash
12.12.2011 04:01 68.282 fzmparser.exe
12.12.2011 04:01 72.192 gdb_remote_a7_nxp.dll
12.12.2011 04:01 72.192 gdb_remote_a9_nxp.dll
12.12.2011 04:01 72.192 gdb_remote_cm3_nxp.dll
12.12.2011 04:01 72.192 gdb_remote_lpc11_13_nxp.dll
12.12.2011 04:01 72.192 gdb_remote_lpc18_43_nxp.dll
12.12.2011 04:01 99.840 hoststring.exe
12.12.2011 04:01 592 jtagProperties.txt
12.12.2011 04:01 5.264 LPC17xx_pkg.xml
12.12.2011 04:01 30.216 LPCXpressoFS.enc
12.12.2011 04:01 30.216 LPCXpressoHS.enc
12.12.2011 04:01 30.216 LPCXpressoWIN.enc
12.12.2011 04:01 1.240 NXPlist_LPC11.xme
12.12.2011 04:01 160 NXPlist_LPC1102.xme
12.12.2011 04:01 384 NXPlist_LPC11U.xme
12.12.2011 04:01 424 NXPlist_LPC12.xme
12.12.2011 04:01 360 NXPlist_LPC13.xme
12.12.2011 04:01 896 NXPlist_LPC17.xme
12.12.2011 04:01 824 NXPlist_LPC18.xme
12.12.2011 04:01 496 NXPlist_LPC29.xme
12.12.2011 04:01 2.360 NXPlist_LPC2x.xme
12.12.2011 04:01 592 NXPlist_LPC31.xme
12.12.2011 04:01 256 NXPlist_LPC32.xme
12.12.2011 04:01 344 NXPlist_LPC43.xme
12.12.2011 04:01 360 NXPlist_LPC43_m0.xme
12.12.2011 04:01 1.795 NXP_dir_part_LPC11.xml
12.12.2011 04:01 330 NXP_dir_part_LPC1102.xml
12.12.2011 04:01 637 NXP_dir_part_LPC11U.xml
12.12.2011 04:01 683 NXP_dir_part_LPC12.xml
12.12.2011 04:01 606 NXP_dir_part_LPC13.xml
12.12.2011 04:01 1.419 NXP_dir_part_LPC17.xml
12.12.2011 04:01 1.198 NXP_dir_part_LPC18.xml
12.12.2011 04:01 270 NXP_dir_part_LPC29.xml
12.12.2011 04:01 486 NXP_dir_part_LPC2x.xml
12.12.2011 04:01 270 NXP_dir_part_LPC31.xml
12.12.2011 04:01 269 NXP_dir_part_LPC32.xml
12.12.2011 04:01 550 NXP_dir_part_LPC43.xml
12.12.2011 04:01 580 NXP_dir_part_LPC43_m0.xml
12.12.2011 04:01 3.472 nxp_lpc1102.xme
12.12.2011 04:01 21.984 nxp_lpc11Uxx.xme
12.12.2011 04:01 82.904 nxp_lpc11xx.xme
12.12.2011 04:01 297.808 nxp_lpc11_13_peripheral.xme
12.12.2011 04:01 24.336 nxp_lpc12xx.xme
12.12.2011 04:01 150.056 nxp_lpc12_peripheral.xme
12.12.2011 04:01 19.392 nxp_lpc13xx.xme
12.12.2011 04:01 161.856 nxp_lpc17xx.xme
12.12.2011 04:01 115.832 nxp_lpc18xx.xme
12.12.2011 04:01 3.437.936 nxp_lpc18xx_peripheral.xme
12.12.2011 04:01 2.976 nxp_lpc29xx.xme
12.12.2011 04:01 61.960 nxp_lpc29xx_peripheral.xme
12.12.2011 04:01 15.568 nxp_lpc2xxx.xme
12.12.2011 04:01 3.480 nxp_lpc31xx.xme
12.12.2011 04:01 3.904 nxp_lpc32xx.xme
12.12.2011 04:01 94.344 nxp_lpc3xxx_peripheral.xme
12.12.2011 04:01 33.528 nxp_lpc43xx.xme
12.12.2011 04:01 32.592 nxp_lpc43xx_m0.xme
12.12.2011 04:01 3.600.768 nxp_lpc43xx_m0_peripheral.xme
12.12.2011 04:01 3.623.840 nxp_lpc43xx_peripheral.xme
12.12.2011 04:01 652.664 nxp_lpcxxxx_peripheral.xme
12.12.2011 04:01 135.168 proc_a7.dll
12.12.2011 04:01 143.360 proc_a9.dll
12.12.2011 04:01 144.896 proc_cm3.dll
21.12.2011 13:15 <DIR> Scripts
12.12.2011 04:01 7.687 tohost.dtd
86 Datei(en), 15.786.922 Bytes
4 Verzeichnis(se), 238.534.537.216 Bytes frei

D:\Program Files\LPCXpresso_4.1.5_219\lpcxpresso\bin>

[/COLOR][COLOR=red]- tell us where you installed the product.
[/COLOR][COLOR=black]The path is: D:\Program Files\LPCXpresso_4.1.5_219\lpcxpresso

I got it directly from CodeRed site. I have LPC1343 and 1769 hardware from Embedded Artists.

Thanks and regards,
Stanislaus[/COLOR]
0 项奖励
回复

2,088 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Stanislaus on Thu Dec 22 11:41:41 MST 2011
[FONT=&quot]Hi CodeRedSupport,

reinstallation wasn't successful. Still have the error.

As I got no e-mail address I'll post it here. I only can post 10000 characters. This is why I asked for an e-mail. So I post all separately…
Let me know how I can post the complete stuff to you, please.

[COLOR=red]- your entire log files (not an extract)[/COLOR] - here it is (still an excerpt because too long):

!ENTRY LPCXpresso 4 -1 2011-12-21 18:56:51.848
!MESSAGE Internal error: No vendors found
Exception
!SESSION 2011-12-22 19:00:36.453 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_24
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Command-line arguments: -os win32 -ws win32 -arch x86

!ENTRY TargetConfig 4 -1 2011-12-22 19:00:54.018
!MESSAGE Internal error: No vendors found

!STACK 0
java.lang.Exception: Internal error: No vendors found
at com.crt.config.database.ChipVendorDatabase.<init>(ChipVendorDatabase.java:46)
at com.crt.config.database.TargetConfig.<clinit>(TargetConfig.java:136)
at com.crt.quickstart.views.links.QSGenericImportXML.init(QSGenericImportXML.java:67)
at com.crt.quickstart.extension.QSEntry.<init>(QSEntry.java:134)
at com.crt.quickstart.extension.QSEntryDatabase.<init>(QSEntryDatabase.java:71)
at com.crt.quickstart.views.QuickstartCommandBar.<init>(QuickstartCommandBar.java:176)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:184)
at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:904)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
at org.eclipse.ui.internal.util.Util.safeLoadExecutableExtension(Util.java:879)
at org.eclipse.ui.internal.menus.DynamicToolBarContributionItem.createContributionItem(DynamicToolBarContributionItem.java:111)
at org.eclipse.ui.internal.menus.DynamicToolBarContributionItem.getContributionItem(DynamicToolBarContributionItem.java:104)
at org.eclipse.ui.internal.menus.DynamicToolBarContributionItem.createControl(DynamicToolBarContributionItem.java:206)
at org.eclipse.jface.action.ControlContribution.fill(ControlContribution.java:97)
at org.eclipse.jface.action.ToolBarManager.update(ToolBarManager.java:353)
at org.eclipse.jface.action.ToolBarManager.createControl(ToolBarManager.java:111)
at org.eclipse.jface.action.ToolBarContributionItem.fill(ToolBarContributionItem.java:192)
at org.eclipse.jface.action.CoolBarManager.update(CoolBarManager.java:930)
at org.eclipse.jface.action.CoolBarManager.createControl(CoolBarManager.java:247)
at org.eclipse.jface.internal.provisional.action.CoolBarManager2.createControl2(CoolBarManager2.java:76)
at org.eclipse.jface.window.ApplicationWindow.createCoolBarControl(ApplicationWindow.java:523)
at org.eclipse.ui.internal.WorkbenchWindow.createDefaultContents(WorkbenchWindow.java:1069)
at org.eclipse.ui.internal.WorkbenchWindowConfigurer.createDefaultContents(WorkbenchWindowConfigurer.java:623)
at org.eclipse.ui.application.WorkbenchWindowAdvisor.createWindowContents(WorkbenchWindowAdvisor.java:268)
at org.eclipse.ui.internal.WorkbenchWindow.createContents(WorkbenchWindow.java:1016)
at org.eclipse.jface.window.Window.create(Window.java:431)
at org.eclipse.ui.internal.Workbench$64.runWithException(Workbench.java:3598)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
at org.eclipse.ui.internal.Workbench$31.runWithException(Workbench.java:1567)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2548)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
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 org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
at org.eclipse.equinox.launcher.Main.run(Main.java:1408)

!ENTRY LPCXpresso 4 -1 2011-12-22 19:00:54.051
!MESSAGE Internal error: No vendors found
Exception

[/FONT]
0 项奖励
回复

2,088 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Thu Dec 22 09:45:03 MST 2011
The error is because there are certain files that cannot be found (essentially, those referenced by <install>/lpcxpresso/bin/crt_directory.xml

These files are located relative to the install location, and they are always installed. Therefore, this points to a problem with your install that has never occured before. So, as I asked before, can you please supply
- your entire log files (not an extract)
- your environment variables (type 'set' at the command line prompt, and capture the output)
- also, please provide directory listings of <install>, <install>/lpcxpresso and <install>/lpcxpresso/bin.
- tell us where you installed the product.

Also, you didn't mention whether you had tried reinstallation.
0 项奖励
回复

2,088 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Stanislaus on Wed Dec 21 11:40:06 MST 2011
Hello CodeRedSupport,

thanks for your answer and quick response.
Do you have an e-mail address where I can post?

Thanks and best regards,
Stanislaus

This is an excerpt of the log file
!ENTRY LPCXpresso 4 -1 2011-12-21 17:51:30.583
!MESSAGE Internal error: No vendors found
Exception
!SESSION 2011-12-21 18:56:48.572 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_24
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Command-line arguments:  -os win32 -ws win32 -arch x86

!ENTRY TargetConfig 4 -1 2011-12-21 18:56:51.833
!MESSAGE Internal error: No vendors found

!STACK 0
java.lang.Exception: Internal error: No vendors found
    at com.crt.config.database.ChipVendorDatabase.<init>(ChipVendorDatabase.java:46)
    at com.crt.config.database.TargetConfig.<clinit>(TargetConfig.java:136)
    at com.crt.quickstart.views.links.QSGenericImportXML.init(QSGenericImportXML.java:67)
    at com.crt.quickstart.extension.QSEntry.<init>(QSEntry.java:134)
    at com.crt.quickstart.extension.QSEntryDatabase.<init>(QSEntryDatabase.java:71)
    at com.crt.quickstart.views.QuickstartCommandBar.<init>(QuickstartCommandBar.java:176)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at java.lang.Class.newInstance0(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:184)
    at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:904)
    at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
    at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
    at org.eclipse.ui.internal.util.Util.safeLoadExecutableExtension(Util.java:879)
    at org.eclipse.ui.internal.menus.DynamicToolBarContributionItem.createContributionItem(DynamicToolBarContributionItem.java:111)
    at org.eclipse.ui.internal.menus.DynamicToolBarContributionItem.getContributionItem(DynamicToolBarContributionItem.java:104)
    at org.eclipse.ui.internal.menus.DynamicToolBarContributionItem.createControl(DynamicToolBarContributionItem.java:206)
    at org.eclipse.jface.action.ControlContribution.fill(ControlContribution.java:97)
    at org.eclipse.jface.action.ToolBarManager.update(ToolBarManager.java:353)
    at org.eclipse.jface.action.ToolBarManager.createControl(ToolBarManager.java:111)
    at org.eclipse.jface.action.ToolBarContributionItem.fill(ToolBarContributionItem.java:192)
    at org.eclipse.jface.action.CoolBarManager.update(CoolBarManager.java:930)
    at org.eclipse.jface.action.CoolBarManager.createControl(CoolBarManager.java:247)
    at org.eclipse.jface.internal.provisional.action.CoolBarManager2.createControl2(CoolBarManager2.java:76)
    at org.eclipse.jface.window.ApplicationWindow.createCoolBarControl(ApplicationWindow.java:523)
    at org.eclipse.ui.internal.WorkbenchWindow.createDefaultContents(WorkbenchWindow.java:1069)
    at org.eclipse.ui.internal.WorkbenchWindowConfigurer.createDefaultContents(WorkbenchWindowConfigurer.java:623)
    at org.eclipse.ui.application.WorkbenchWindowAdvisor.createWindowContents(WorkbenchWindowAdvisor.java:268)
    at org.eclipse.ui.internal.WorkbenchWindow.createContents(WorkbenchWindow.java:1016)
    at org.eclipse.jface.window.Window.create(Window.java:431)
    at org.eclipse.ui.internal.Workbench$64.runWithException(Workbench.java:3598)
    at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
    at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
    at org.eclipse.ui.internal.Workbench$31.runWithException(Workbench.java:1567)
    at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2548)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
    at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    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 org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1408)

!ENTRY LPCXpresso 4 -1 2011-12-21 18:56:51.848
!MESSAGE Internal error: No vendors found
Exception
0 项奖励
回复

2,088 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Wed Dec 21 08:57:08 MST 2011
The uninstaller removes all of the product files, but not files that are created by running the product. Any files that remain (including the .lic files) are completely harmless and have nothing to do with your problem.

The drivers are not uninstalled as Microsoft do not provide a (convenient) way for them to be removed. However, they have not changed in over a year, so a fresh install will have no effect. If you really want to remove them (on Windows 7), use Device Manager, find the devices, select their properties a chose the uninstall option. Again this is completely harmless and has nothing to do with your problem.

So, just uninstall you existing product, and use then install the new version.

If this does not solve your problem, zip and post the log file <workspace>/.metadata/.log and post all of your environment variables (run 'set' from the command line, and post the results).
0 项奖励
回复

2,088 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Stanislaus on Wed Dec 21 05:43:56 MST 2011
Hello CodeRedSupport,

this is not an OS issue. I think the vendors are the NXP controllers.
How can I deinstall completely? The software seems not to deinstall completely. The lic file is still present and the drivers arn't deinstalled. I think if I could deinstall completely it would work again. On my old notebook (Win7 Ultimate 64 Bit too) it's working fine, but I want to use the new one. :)

My actual one:
OS: Windows 7 Ultimate 64Bit
LPCXpresso Version:
Version: LPCXpresso v4.1.5 [Build 219] [12/12/2011]

Message is shown directly after starting LPCXpresso -> Splash Screen progress is at round about 25% I get this vendor error message.

If I open the Project\Properties page and click on MCU settings I get a "Could not accept changes" -> NullPointerException:
An error has occurred. See error log for more details.
java.lang.NullPointerException

Where can I find this error log, please?

This is why I think this error (no vendors) is belonging to the (NXP or all possible?) controllers.

How can I deinstall completely?
Thanks for your help in advance.

Regards,
Stanislaus
0 项奖励
回复

2,088 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Rob65 on Sat Nov 12 10:05:26 MST 2011

Quote: Zero

Millions of Win7 machines are working without problems, so please don't post this nonsense.
A lot of kids are reading this forum and now have to ask their mams and dads why they don't have such XP on their computers :eek:



I agree with Zero. I have the same LPCXpresso version installed on Win7 enterprise (64 bits) and my tools work perfectly well on that machine.  I have had no problems so far with the LPCXpresso tools on my machines (XP, Vista 32 bits, WIN7 home and premium 64 bits).
It might be usefull to mention that all of my machines have fresh installs of their respective OSses.
That means no uprgades from XP to Vista or Win7 - i found that some upgrades may leave strange combinations  that may lead to unexpected results.

Rob
0 项奖励
回复

2,088 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Sat Nov 12 08:45:21 MST 2011

Quote:

If you guys are using windows 7 or vista, try to format and install win XP, the new windows versions are problematic in every tool i am using and in every way to imagine.

Why should I use something prehistoric if your 'tools' on your computer are not working?

Don't force me to comment that :rolleyes:

Millions of Win7 machines are working without problems, so please don't post this nonsense.
A lot of kids are reading this forum and now have to ask their mams and dads why they don't have such XP on their computers :eek:
0 项奖励
回复

2,088 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by gilvanl on Sat Nov 12 08:09:57 MST 2011
[SIZE=2]One more thing i remembered.

The "[/SIZE][B][SIZE=2]Nullpointerexception" message are typical from java.

The lpcxpresso ide uses eclipse, that is java powered, so
check the java runtime environment you are using, maybe
the problem comes from it, and can not  be related to
lpcxpresso itself.

Recently (this last month)  i am using only linux,  and never get this issue again, cause my distribution have a good and stable jre.

[/SIZE]
[/B]
0 项奖励
回复

2,088 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by gilvanl on Sat Nov 12 07:59:02 MST 2011

Quote: Stanislaus
Hi there,
I have the same issue. I installed again. The same exception. I deinstalled and installed the IDE. Quite the same. Nothing seems to help. What can I do? The vendors (all micro controllers) are missing - so I can't work with the IDE.
Regards and thanks for your support



I have the same issue, but i close the problematic project and
delete it, then i restart the ide and i try again, and it always
worked.  Sometimes i have to switch or create another workspace.

I use both lpcxpresso in linux (kubuntu latest version) and
windows XP.

If you guys are using windows 7 or vista, try to format and install win XP, the new windows versions are problematic in every  tool i am using and in every way to imagine.

Best regards!
0 项奖励
回复

2,088 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Thu Nov 03 00:56:22 MST 2011
Which platform? Which version? Where did you install your product?
0 项奖励
回复

2,088 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Stanislaus on Wed Nov 02 16:15:15 MST 2011
Hi there,
I have the same issue. I installed again. The same exception. I deinstalled and installed the IDE. Quite the same. Nothing seems to help. What can I do? The vendors (all micro controllers) are missing - so I can't work with the IDE.
Regards and thanks for your support
0 项奖励
回复

2,088 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Fri Aug 19 08:15:23 MST 2011

Quote: oversc0re
Hello,

I have recently installed the LPCXpresso and at a first glimpse I am fairly disappointed. First thing is an error on the splash screen saying:Internal error No vendors found EXception. I click Ok, the IDE starts. Clicking new project shows Errorbox with NullPointerException. Tree times. Afterwards I can click on different processor families, but the only enabled button at the bottom is cancel. Importing blinky on the other hand works. Freertos is missing small_printf.h and won't compile. Am I missing something?
LPCXPresso 4.0.6.152
Win7ent

Regars,
over.


This can only happen if the product failed to install correctly. Please remove and reinstall.
0 项奖励
回复