在每次用JB2008建立完工程后都出现这样的问题。
java.lang.NullPointerException
at com.borland.csf.internal.license.platform.PlatformProduct.discoverProduct(PlatformProduct.java:139)
at com.tssap.selena.model.platform.eclipse.EclipsePlatformNatureLicense.isNatureLicensed(EclipsePlatformNatureLicense.java:131)
at org.eclipse.jdt.internal.ui.viewsupport.ProblemTreeViewer.isFiltered(ProblemTreeViewer.java:305)
at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$PackageExplorerProblemTreeViewer.isFiltered(PackageExplorerPart.java:290)
at org.eclipse.jface.viewers.TreeViewer.createChildren(TreeViewer.java:627)
t org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:370)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
以上是错误的详细信息(部分).
请教各位高手如何解决,在此不胜感激!!
------解决方案--------------------
java.lang.NullPointerException
at com.borland.csf.internal.license.platform.PlatformProduct.discoverProduct(PlatformProduct.java:139)
提示很明显啦,楼主。PlatformProduct类的discoverProduct()方法中的第139行出现异常,仔细检查下为什么出现这样,
最好是把你PlatformProduct类的代码贴上来看看,
------解决方案--------------------
JBUILD的问题,重装下看看吧,呵呵,com.borland.csf.internal.license.platform.PlatformProduct这类都是JB自己的包里的~
怎么还有eclipse的东东...org.eclipse.jface.viewers.TreeViewer.createChildren