Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.
Eclipse web page editor throws NullPointerException
-
When I attempt to view mango .jsp files with the eclipse web page editor, it fails with the following exception. Has anyone else experienced this?
java.lang.NullPointerException
at org.eclipse.jst.jsf.core.internal.tld.CMUtil.getStandaloneTLDURI(CMUtil.java:129)
at org.eclipse.jst.jsf.core.internal.tld.CMUtil.getURIFromTaglibRecord(CMUtil.java:117)
at org.eclipse.jst.pagedesigner.editors.palette.impl.PaletteHelper.configPaletteItemsByTLD(PaletteHelper.java:100)
at org.eclipse.jst.pagedesigner.editors.palette.impl.PaletteItemManager.registerTldFromClasspath(PaletteItemManager.java:205)
at org.eclipse.jst.pagedesigner.editors.palette.impl.PaletteItemManager.initFromProject(PaletteItemManager.java:181)
at org.eclipse.jst.pagedesigner.editors.palette.impl.PaletteItemManager.init(PaletteItemManager.java:147)
at org.eclipse.jst.pagedesigner.editors.palette.impl.PaletteItemManager.<init>(PaletteItemManager.java:130)
at org.eclipse.jst.pagedesigner.editors.palette.impl.PaletteItemManager.getInstance(PaletteItemManager.java:72)
at org.eclipse.jst.pagedesigner.editors.palette.DesignerPaletteRootFactory.createPaletteRoot(DesignerPaletteRootFactory.java:94)
at org.eclipse.jst.pagedesigner.editors.SimpleGraphicalEditor.getPaletteRoot(SimpleGraphicalEditor.java:484)
at org.eclipse.gef.ui.parts.GraphicalEditorWithFlyoutPalette.setEditDomain(GraphicalEditorWithFlyoutPalette.java:145)
at org.eclipse.jst.pagedesigner.editors.SimpleGraphicalEditor.<init>(SimpleGraphicalEditor.java:165)
at org.eclipse.jst.pagedesigner.editors.HTMLEditor.sash_createAndAddDesignSourcePage(HTMLEditor.java:259)
at org.eclipse.jst.pagedesigner.editors.HTMLEditor.createPages(HTMLEditor.java:439)
at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:348)
... -
I'm using Mango 1.9.0, Eclipse Helios, and j2ee 5.
-
With a fresh install of Helios it works for me. (Was still using Galileo.) I have J2SE6 though. Have you tried a different Java version?
-
Could you point me to where I can download J2SE6. The only thing I can find is packaged under glassfish, and it doesn't seem right that I should be using an api that is glassfish specific.
-
This is probably what you want:
http://www.oracle.com/technetwork/java/javase/downloads/jdk6-jsp-136632.html