0 Replies Latest reply on Aug 20, 2007 4:12 AM by zheng guangpeng

    Urgent : Java Sun Creator 2 Update 1 cant's starts or start

    zheng guangpeng Newbie

      When I created one project by using ajax4jsf as the example showed in "https://ajax4jsf.dev.java.net/nonav/documentation/ajax-documentation/" . JSC can't start because it reports nullexception in logfile as following all along:

      java.lang.NullPointerException
      at com.sun.rave.jsfsupp.container.FacesContainer.(FacesContainer.java:122)
      at com.sun.rave.insync.models.FacesModelSet.getFacesContainer(FacesModelSet.java:363)
      at com.sun.rave.designer.WebForm.init(WebForm.java:256)
      at com.sun.rave.designer.WebForm.associateModel(WebForm.java:148)
      at com.sun.rave.designer.WebForm.(WebForm.java:138)
      at com.sun.rave.designer.WebForm.getWebFormForDataObject(WebForm.java:167)
      at com.sun.rave.designer.DesignerServiceProvider.getMultiViewElementForDataObject(DesignerServiceProvider.java:913)
      at com.sun.rave.project.jsfloader.JsfJavaEditorSupport$DesignerDesc.createElement(JsfJavaEditorSupport.java:498)
      at org.netbeans.core.multiview.MultiViewModel.getElementForDescription(MultiViewModel.java:185)
      at org.netbeans.core.multiview.MultiViewModel.getActiveElement(MultiViewModel.java:105)
      at org.netbeans.core.multiview.MultiViewModel.getActiveElement(MultiViewModel.java:101)
      at org.netbeans.core.multiview.MultiViewPeer.peerGetUndoRedo(MultiViewPeer.java:422)
      at org.netbeans.core.multiview.MultiViewCloneableTopComponent.getUndoRedo(MultiViewCloneableTopComponent.java:257)
      at org.openide.actions.UndoAction.getUndoRedo(UndoAction.java:90)
      at org.openide.actions.UndoAction.getName(UndoAction.java:97)
      at org.openide.util.actions.SystemAction.getValue(SystemAction.java:129)
      at org.openide.awt.Actions$ButtonBridge.updateState(Actions.java:537)
      at org.openide.awt.Actions.connect(Actions.java:206)
      at org.openide.awt.Actions.connect(Actions.java:187)
      at org.openide.awt.Actions$ToolbarButton.(Actions.java:1000)
      at org.netbeans.modules.openide.awt.DefaultAWTBridge.createToolbarPresenter(DefaultAWTBridge.java:59)
      at org.openide.util.actions.CallableSystemAction.getToolbarPresenter(CallableSystemAction.java:57)
      at org.openide.awt.Toolbar$Folder.createInstance(Toolbar.java:883)
      at org.openide.loaders.FolderInstance.defaultProcessObjects(FolderInstance.java:736)
      at org.openide.loaders.FolderInstance.access$000(FolderInstance.java:68)
      at org.openide.loaders.FolderInstance$2.run(FolderInstance.java:622)
      at org.openide.util.Task.run(Task.java:189)
      at org.openide.awt.AWTTask.run(AWTTask.java:29)
      at org.openide.awt.AWTTask.waitFinished(AWTTask.java:36)
      at org.openide.loaders.FolderInstance.waitFinished(FolderInstance.java:

      Occasionally, jsc started well.But also got some wrong when I opend the "Design" tab page.

      It could start well yesterday and today morning .now JSC can'ts start otherwise I remove the project .
      Who can help me ? I can't resolve it although I tried a lot ????