Bug 5775

Summary: [KEPLER] errors in console when creating a recipe
Product: [Yocto Project Subprojects] Eclipse Plugin Reporter: Alexandru Georgescu <alexandru.c.georgescu>
Component: eclipse-pluginAssignee: Cristiana Voicu <cristiana.voicu>
Status: VERIFIED FIXED QA Contact: Andra Necula <andrax.g.necula>
Severity: normal    
Priority: Medium CC: ada-mihaela.solcan, andrax.g.necula, cristiana.voicu, ioanax.grigoropol, yp.ep.watcher, yp.watcher
Version: 1.6   
Target Milestone: 1.6   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Alexandru Georgescu 2014-01-30 13:33:17 UTC
host: fedora 20 64bit
eclipse-poky-kepler: c73c6e4510c42601854f3c542ca6e14b4510380c


1. open eclipse from a terminal and create a bitbake commander project
2. create a new recipe (custom or using a source package:ftp://ftp.gnu.org/gnu/m4/m4-1.4.9.tar.gz)
3. Inspect the console


RESULTS
3. the following messages appear in the console:

java.lang.NullPointerException
	at org.yocto.bc.bitbake.BBSession.checkValidAndLock(Unknown Source)
	at org.yocto.bc.bitbake.BBSession.size(Unknown Source)
	at org.yocto.bc.bitbake.BBRecipe.initialize(Unknown Source)
	at org.yocto.bc.ui.editors.bitbake.BBVariableTextHover$LoadRecipeJob.run(Unknown Source)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
234o987dsfkcqiuwey18837032843259d

234o987dsfkcqiuwey18837032843259d

--2014-01-30 08:19:45--  ftp://ftp.gnu.org/gnu/m4/m4-1.4.9.tar.gz

OTHER COMMMENTS:
The recipe is created, but the error messages still appear in the console.
Comment 1 Cristiana Voicu 2014-03-13 09:37:37 UTC
I do not received a null pointer excep when creating a new recipe in eclipse. Checked it with AlexG, and he told me that if he founds again this error, he will reopened it.
Comment 2 Andra Necula 2014-08-28 14:04:00 UTC
Verified with
eclipse-poky-kepler: 4a167fd662262ebdaa3cf0d332ac0debb52d7904
poky: 52b788c6df9201764130ab744bf67b770b24b896
Host Fedora 20, x86_64