CodeNameone中的空指针异常 [英] Null Pointer Exception in CodeNameone
本文介绍了CodeNameone中的空指针异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想将css应用于我的代号一个应用程序,我已经从git hub下载了cn1css-ant-task.jar并将其放置在我的lib目录中,并将css应用于我的应用程序,一切正常,但过了一段时间我有一个错误.
I would like to apply css to my codename one application, I have downloaded cn1css-ant-task.jar from git hub and put in my lib directory and I applied css to my app, everything is working fine but after some time I got an error.
推荐答案
从CSS处理器获取的异常是不受支持的属性":溢出
.
The exception you are getting from the CSS processor is "unsupported property": Overflow
.
请勿在代号为One的CSS中使用 overflow
.请注意,您不能仅从互联网上获取任意CSS并使用它.
Don't use overflow
in the CSS used with Codename One. Notice that you can't just get an arbitrary CSS off the internet and use it.
这篇关于CodeNameone中的空指针异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文