defold / editor2-issues

DEPRECATED
45 stars 4 forks source link

java.lang.NullPointerException: Unknown while bundling for any platform #2934

Closed VojtechKlos closed 4 years ago

VojtechKlos commented 4 years ago

Expected behaviour

The game produces a bundle for a given platform

Actual behaviour

Throws NullPointerException error

Steps to reproduce

1) clone repo https://github.com/VojtechKlos/example-defold-error 2) try to bundle for any platform (I tried Android and Windows and it gives me the same error) 3) observe error


Build time2020-03-03T08:34:30.874440
Defold channeleditor-alpha
Defold editor sha95fcc9ca28d33583c7103c40c0c54cc73143e322
Defold engine sha5295afb3878441fb12f497df8831148525dcfb10
Defold version1.2.166
Error839b9f80f7344c22b502ef5d0215bc4a
GPUGeForce GTX 1070/PCIe/SSE2
GPU Driver4.6.0 NVIDIA 432.00
Java version11.0.1+13
OS archamd64
OS nameWindows 10
OS version10.0
VojtechKlos commented 4 years ago

I am kind of new to Defold so maybe it is my fault but it gave me an option to report so it is now reported :-)

britzl commented 4 years ago

com.dynamo.bob.fs.DefaultFileSystem in get at line 34 com.dynamo.bob.Project in getResource at line 1327 com.dynamo.bob.pipeline.BuilderUtil in checkResource at line 22 com.dynamo.bob.pipeline.LuaBuilder in build at line 184 com.dynamo.bob.Project in runTasks at line 1007 com.dynamo.bob.Project in doBuild at line 808 com.dynamo.bob.Project in build at line 443

britzl commented 4 years ago

Change from:

local globals = require("/globals")

to

local globals = require("globals")