facebook

NullPointerException when opening some JSF JSPs

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #277164 Reply

    This message has not been recovered.

    #277187 Reply

    Loyal Water
    Member

    This message has not been recovered.

    #277324 Reply

    This message has not been recovered.

    #277360 Reply

    Loyal Water
    Member

    This message has not been recovered.

    #277492 Reply

    I’ve tried twice now to install the update, each time I get this error after the downloads are complete:

    An internal error occurred during: “Update Manager”.
    SHA1 digest error for lib/annotations/lucene-core-2.0.0.jar

    #277523 Reply

    Loyal Water
    Member

    Can you switch to a brand new workspace and try updating once again by going to Help > Software Update > Find and Install.

    If it fails again, can you go to <workspace>/.metadata/.log file and paste the information here for me.

    #277530 Reply

    It failed again. Here’s the log file.

    !SESSION 2007-10-25 14:50:37.572 ———————————————–
    eclipse.buildId=I20070625-1500
    java.version=1.5.0_11
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
    Framework arguments: -vm C:\Program Files\Java\jdk1.5.0_11 -showsplash com.genuitec.myeclipse.product –launcher.XXMaxPermSize 256m -vm C:\Program Files\Java\jdk1.5.0_11 -showsplash com.genuitec.myeclipse.product –launcher.XXMaxPermSize 256m
    Command-line arguments: -os win32 -ws win32 -arch x86 -vm C:\Program Files\Java\jdk1.5.0_11 -showsplash com.genuitec.myeclipse.product –launcher.XXMaxPermSize 256m -data C:\Data\workspace4 -vm C:\Program Files\Java\jdk1.5.0_11 -showsplash com.genuitec.myeclipse.product –launcher.XXMaxPermSize 256m

    !ENTRY com.genuitec.eclipse.wizards 1 0 2007-10-25 14:51:04.994
    !MESSAGE Installed snippet library: C:\devtools\MyEclipse 6.0\myeclipse\eclipse\plugins\com.genuitec.eclipse.wizards_6.0.0.zmyeclipse60020070820\snippets\html\css_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2007-10-25 14:51:05.228
    !MESSAGE Installed snippet library: C:\devtools\MyEclipse 6.0\myeclipse\eclipse\plugins\com.genuitec.eclipse.wizards_6.0.0.zmyeclipse60020070820\snippets\html\forms_lists_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2007-10-25 14:51:05.291
    !MESSAGE Installed snippet library: C:\devtools\MyEclipse 6.0\myeclipse\eclipse\plugins\com.genuitec.eclipse.wizards_6.0.0.zmyeclipse60020070820\snippets\html\htmlform_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2007-10-25 14:51:05.869
    !MESSAGE Installed snippet library: C:\devtools\MyEclipse 6.0\myeclipse\eclipse\plugins\com.genuitec.eclipse.wizards_6.0.0.zmyeclipse60020070820\snippets\html\html_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2007-10-25 14:51:05.963
    !MESSAGE Installed snippet library: C:\devtools\MyEclipse 6.0\myeclipse\eclipse\plugins\com.genuitec.eclipse.wizards_6.0.0.zmyeclipse60020070820\snippets\html\javascript_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2007-10-25 14:51:06.134
    !MESSAGE Installed snippet library: C:\devtools\MyEclipse 6.0\myeclipse\eclipse\plugins\com.genuitec.eclipse.wizards_6.0.0.zmyeclipse60020070820\snippets\jsp\jsf_f_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2007-10-25 14:51:06.322
    !MESSAGE Installed snippet library: C:\devtools\MyEclipse 6.0\myeclipse\eclipse\plugins\com.genuitec.eclipse.wizards_6.0.0.zmyeclipse60020070820\snippets\jsp\jsf_h_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2007-10-25 14:51:06.431
    !MESSAGE Installed snippet library: C:\devtools\MyEclipse 6.0\myeclipse\eclipse\plugins\com.genuitec.eclipse.wizards_6.0.0.zmyeclipse60020070820\snippets\jsp\struts_bean_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2007-10-25 14:51:06.541
    !MESSAGE Installed snippet library: C:\devtools\MyEclipse 6.0\myeclipse\eclipse\plugins\com.genuitec.eclipse.wizards_6.0.0.zmyeclipse60020070820\snippets\jsp\struts_html_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2007-10-25 14:51:06.619
    !MESSAGE Installed snippet library: C:\devtools\MyEclipse 6.0\myeclipse\eclipse\plugins\com.genuitec.eclipse.wizards_6.0.0.zmyeclipse60020070820\snippets\jsp\struts_logic_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2007-10-25 14:51:06.713
    !MESSAGE Installed snippet library: C:\devtools\MyEclipse 6.0\myeclipse\eclipse\plugins\com.genuitec.eclipse.wizards_6.0.0.zmyeclipse60020070820\snippets\jsp\struts_tiles_snippets.xml

    !ENTRY org.eclipse.update.core 4 0 2007-10-25 15:28:09.116
    !MESSAGE Unable to remove “C:\devtools\MyEclipse 6.0\myeclipse\eclipse\plugins\com.genuitec.org.hibernate.eclipse_6.0.1.zmyeclipse601200710\lib\annotations” from the file system. [java.lang.Exception]
    !STACK 0
    java.lang.Exception
    at org.eclipse.update.internal.core.UpdateManagerUtils.removeEmptyDirectoriesFromFileSystem(UpdateManagerUtils.java:343)
    at org.eclipse.update.internal.core.UpdateManagerUtils.removeEmptyDirectoriesFromFileSystem(UpdateManagerUtils.java:338)
    at org.eclipse.update.internal.core.UpdateManagerUtils.removeEmptyDirectoriesFromFileSystem(UpdateManagerUtils.java:338)
    at org.eclipse.update.internal.core.SiteFilePluginContentConsumer.abort(SiteFilePluginContentConsumer.java:181)
    at org.eclipse.update.internal.core.SiteFileContentConsumer.abort(SiteFileContentConsumer.java:214)
    at org.eclipse.update.internal.core.FeatureExecutableContentConsumer.abort(FeatureExecutableContentConsumer.java:160)
    at org.eclipse.update.core.Feature.install(Feature.java:538)
    at org.eclipse.update.internal.core.SiteFile.install(SiteFile.java:129)
    at org.eclipse.update.core.Feature.install(Feature.java:414)
    at org.eclipse.update.internal.core.SiteFile.install(SiteFile.java:96)
    at org.eclipse.update.internal.core.ConfiguredSite.install(ConfiguredSite.java:155)
    at org.eclipse.update.internal.operations.InstallOperation.execute(InstallOperation.java:94)
    at org.eclipse.update.internal.operations.BatchInstallOperation.execute(BatchInstallOperation.java:84)
    at com.tikal.eclipse.updatemanager.quicksetup.service.QuickSetupService$QuickSetupJob.performSetup(QuickSetupService.java:754)
    at com.tikal.eclipse.updatemanager.quicksetup.service.QuickSetupService$QuickSetupJob.run(QuickSetupService.java:779)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

    !ENTRY org.eclipse.update.core 4 0 2007-10-25 15:28:09.116
    !MESSAGE Unable to remove “C:\devtools\MyEclipse 6.0\myeclipse\eclipse\plugins\com.genuitec.org.hibernate.eclipse_6.0.1.zmyeclipse601200710\lib” from the file system. [java.lang.Exception]
    !STACK 0
    java.lang.Exception
    at org.eclipse.update.internal.core.UpdateManagerUtils.removeEmptyDirectoriesFromFileSystem(UpdateManagerUtils.java:343)
    at org.eclipse.update.internal.core.UpdateManagerUtils.removeEmptyDirectoriesFromFileSystem(UpdateManagerUtils.java:338)
    at org.eclipse.update.internal.core.SiteFilePluginContentConsumer.abort(SiteFilePluginContentConsumer.java:181)
    at org.eclipse.update.internal.core.SiteFileContentConsumer.abort(SiteFileContentConsumer.java:214)
    at org.eclipse.update.internal.core.FeatureExecutableContentConsumer.abort(FeatureExecutableContentConsumer.java:160)
    at org.eclipse.update.core.Feature.install(Feature.java:538)
    at org.eclipse.update.internal.core.SiteFile.install(SiteFile.java:129)
    at org.eclipse.update.core.Feature.install(Feature.java:414)
    at org.eclipse.update.internal.core.SiteFile.install(SiteFile.java:96)
    at org.eclipse.update.internal.core.ConfiguredSite.install(ConfiguredSite.java:155)
    at org.eclipse.update.internal.operations.InstallOperation.execute(InstallOperation.java:94)
    at org.eclipse.update.internal.operations.BatchInstallOperation.execute(BatchInstallOperation.java:84)
    at com.tikal.eclipse.updatemanager.quicksetup.service.QuickSetupService$QuickSetupJob.performSetup(QuickSetupService.java:754)
    at com.tikal.eclipse.updatemanager.quicksetup.service.QuickSetupService$QuickSetupJob.run(QuickSetupService.java:779)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

    !ENTRY org.eclipse.update.core 4 0 2007-10-25 15:28:09.116
    !MESSAGE Unable to remove “C:\devtools\MyEclipse 6.0\myeclipse\eclipse\plugins\com.genuitec.org.hibernate.eclipse_6.0.1.zmyeclipse601200710” from the file system. [java.lang.Exception]
    !STACK 0
    java.lang.Exception
    at org.eclipse.update.internal.core.UpdateManagerUtils.removeEmptyDirectoriesFromFileSystem(UpdateManagerUtils.java:343)
    at org.eclipse.update.internal.core.SiteFilePluginContentConsumer.abort(SiteFilePluginContentConsumer.java:181)
    at org.eclipse.update.internal.core.SiteFileContentConsumer.abort(SiteFileContentConsumer.java:214)
    at org.eclipse.update.internal.core.FeatureExecutableContentConsumer.abort(FeatureExecutableContentConsumer.java:160)
    at org.eclipse.update.core.Feature.install(Feature.java:538)
    at org.eclipse.update.internal.core.SiteFile.install(SiteFile.java:129)
    at org.eclipse.update.core.Feature.install(Feature.java:414)
    at org.eclipse.update.internal.core.SiteFile.install(SiteFile.java:96)
    at org.eclipse.update.internal.core.ConfiguredSite.install(ConfiguredSite.java:155)
    at org.eclipse.update.internal.operations.InstallOperation.execute(InstallOperation.java:94)
    at org.eclipse.update.internal.operations.BatchInstallOperation.execute(BatchInstallOperation.java:84)
    at com.tikal.eclipse.updatemanager.quicksetup.service.QuickSetupService$QuickSetupJob.performSetup(QuickSetupService.java:754)
    at com.tikal.eclipse.updatemanager.quicksetup.service.QuickSetupService$QuickSetupJob.run(QuickSetupService.java:779)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

    !ENTRY org.eclipse.update.core 4 0 2007-10-25 15:28:19.460
    !MESSAGE Unable to remove “C:\devtools\MyEclipse 6.0\myeclipse\eclipse\features\org.eclipse.datatools.connectivity.oda.feature_1.5.1.200709261” from the file system. [java.lang.Exception]
    !STACK 0
    java.lang.Exception
    at org.eclipse.update.internal.core.UpdateManagerUtils.removeEmptyDirectoriesFromFileSystem(UpdateManagerUtils.java:343)
    at org.eclipse.update.internal.core.SiteFileContentConsumer.abort(SiteFileContentConsumer.java:248)
    at org.eclipse.update.internal.core.FeatureExecutableContentConsumer.abort(FeatureExecutableContentConsumer.java:160)
    at org.eclipse.update.internal.core.FeatureExecutableContentConsumer.abort(FeatureExecutableContentConsumer.java:148)
    at org.eclipse.update.internal.core.FeatureExecutableContentConsumer.abort(FeatureExecutableContentConsumer.java:148)
    at org.eclipse.update.internal.core.FeatureExecutableContentConsumer.abort(FeatureExecutableContentConsumer.java:148)
    at org.eclipse.update.core.Feature.install(Feature.java:538)
    at org.eclipse.update.internal.core.SiteFile.install(SiteFile.java:96)
    at org.eclipse.update.internal.core.ConfiguredSite.install(ConfiguredSite.java:155)
    at org.eclipse.update.internal.operations.InstallOperation.execute(InstallOperation.java:94)
    at org.eclipse.update.internal.operations.BatchInstallOperation.execute(BatchInstallOperation.java:84)
    at com.tikal.eclipse.updatemanager.quicksetup.service.QuickSetupService$QuickSetupJob.performSetup(QuickSetupService.java:754)
    at com.tikal.eclipse.updatemanager.quicksetup.service.QuickSetupService$QuickSetupJob.run(QuickSetupService.java:779)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

    !ENTRY org.eclipse.update.core 4 0 2007-10-25 15:28:19.507
    !MESSAGE Unable to remove “C:\devtools\MyEclipse 6.0\myeclipse\eclipse\features\org.eclipse.datatools.connectivity.oda.designer.feature_1.5.1.200709261” from the file system. [java.lang.Exception]
    !STACK 0
    java.lang.Exception
    at org.eclipse.update.internal.core.UpdateManagerUtils.removeEmptyDirectoriesFromFileSystem(UpdateManagerUtils.java:343)
    at org.eclipse.update.internal.core.SiteFileContentConsumer.abort(SiteFileContentConsumer.java:248)
    at org.eclipse.update.internal.core.FeatureExecutableContentConsumer.abort(FeatureExecutableContentConsumer.java:160)
    at org.eclipse.update.internal.core.FeatureExecutableContentConsumer.abort(FeatureExecutableContentConsumer.java:148)
    at org.eclipse.update.internal.core.FeatureExecutableContentConsumer.abort(FeatureExecutableContentConsumer.java:148)
    at org.eclipse.update.internal.core.FeatureExecutableContentConsumer.abort(FeatureExecutableContentConsumer.java:148)
    at org.eclipse.update.core.Feature.install(Feature.java:538)
    at org.eclipse.update.internal.core.SiteFile.install(SiteFile.java:96)
    at org.eclipse.update.internal.core.ConfiguredSite.install(ConfiguredSite.java:155)
    at org.eclipse.update.internal.operations.InstallOperation.execute(InstallOperation.java:94)
    at org.eclipse.update.internal.operations.BatchInstallOperation.execute(BatchInstallOperation.java:84)
    at com.tikal.eclipse.updatemanager.quicksetup.service.QuickSetupService$QuickSetupJob.performSetup(QuickSetupService.java:754)
    at com.tikal.eclipse.updatemanager.quicksetup.service.QuickSetupService$QuickSetupJob.run(QuickSetupService.java:779)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

    !ENTRY org.eclipse.core.jobs 4 2 2007-10-25 15:28:25.757
    !MESSAGE An internal error occurred during: “Quick Update”.
    !STACK 0
    java.lang.SecurityException: SHA1 digest error for lib/annotations/lucene-core-2.0.0.jar
    at sun.security.util.ManifestEntryVerifier.verify(ManifestEntryVerifier.java:196)
    at java.util.jar.JarVerifier.processEntry(JarVerifier.java:201)
    at java.util.jar.JarVerifier.update(JarVerifier.java:188)
    at java.util.jar.JarVerifier$VerifierStream.read(JarVerifier.java:403)
    at java.io.InputStream.read(InputStream.java:89)
    at org.eclipse.update.internal.core.UpdateManagerUtils.copy(UpdateManagerUtils.java:936)
    at org.eclipse.update.core.Utilities.copy(Utilities.java:172)
    at org.eclipse.update.internal.core.UpdateManagerUtils.copyToLocal(UpdateManagerUtils.java:237)
    at org.eclipse.update.internal.core.SiteFilePluginContentConsumer.store(SiteFilePluginContentConsumer.java:90)
    at org.eclipse.update.internal.core.PluginEntryContentConsumer.store(PluginEntryContentConsumer.java:37)
    at org.eclipse.update.core.Feature.install(Feature.java:464)
    at org.eclipse.update.internal.core.SiteFile.install(SiteFile.java:129)
    at org.eclipse.update.core.Feature.install(Feature.java:414)
    at org.eclipse.update.internal.core.SiteFile.install(SiteFile.java:96)
    at org.eclipse.update.internal.core.ConfiguredSite.install(ConfiguredSite.java:155)
    at org.eclipse.update.internal.operations.InstallOperation.execute(InstallOperation.java:94)
    at org.eclipse.update.internal.operations.BatchInstallOperation.execute(BatchInstallOperation.java:84)
    at com.tikal.eclipse.updatemanager.quicksetup.service.QuickSetupService$QuickSetupJob.performSetup(QuickSetupService.java:754)
    at com.tikal.eclipse.updatemanager.quicksetup.service.QuickSetupService$QuickSetupJob.run(QuickSetupService.java:779)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

    #277565 Reply

    As it turns out, our corporate firewall thinks that jar files are viruses and silently replaces the contents of the jar file with an html file telling me as much. That’s why the signature failed. I downloaded this from home and things went well.

    I’ve had my team update to 6.0.1 and so far – knock on wood – the problem seems to have gone away on all platforms. I’ll post back on this thread if the problem re-surfaces.

    Thanks for your help!

    #277570 Reply

    Loyal Water
    Member

    Glad you got it to work. Thanks for letting me know.

    #277579 Reply

    I just heard from one of my developers on Linux – using the JSP editor on a JSF file and he just got a blank tab name for the jsf file.

    So, the null pointer exception seems to be resolved (he is able to open the file with the jsf editor) but the issue of having blank tabs instead of the filename in the tab remains. It did take longer for it to happen, however.

    In case it wasn’t clear – the file opens up and initially the filename appears in the tab. After a while with the file open, switching back and forth between tabs, the filename disappears from the tab and is either completely empty, or replaced by the word “busy”.

    #277712 Reply

    Loyal Water
    Member

    This message has not been recovered.

    #278275 Reply

    pavnov
    Member

    This message has not been recovered.

    #278323 Reply

    Loyal Water
    Member

    This message has not been recovered.

    #278618 Reply

    New development – this is happening now also with CSS files.
    I’ve uploaded a screenshot of the issue here: http://idisk.mac.com/stephen.k.cooper-Public?view=web
    The filename is called DisappearingFilename.JPG

    I noticed this in the log file – I don’t know if it’s related

    !ENTRY com.genuitec.eclipse.j2eedt.core 1 0 2007-11-15 08:18:31.210
    !MESSAGE J2EEProject#id == null

    !ENTRY com.genuitec.eclipse.webdesigner3 1 0 2007-11-15 08:37:09.240
    !MESSAGE Ignoring modified text node with null parent.

    !ENTRY com.genuitec.eclipse.webdesigner3 1 0 2007-11-15 08:37:09.661
    !MESSAGE Unable to synchronize source selection.

    !ENTRY com.genuitec.eclipse.webdesigner3 1 0 2007-11-15 08:37:11.349
    !MESSAGE Unable to synchronize source selection.

    !ENTRY com.genuitec.eclipse.webdesigner3 1 0 2007-11-15 08:37:16.412
    !MESSAGE Unable to synchronize source selection.

    !ENTRY com.genuitec.eclipse.webdesigner3 1 0 2007-11-15 08:37:20.833
    !MESSAGE Ignoring modified text node with null parent.

    !ENTRY com.genuitec.eclipse.webdesigner3 1 0 2007-11-15 08:37:20.833
    !MESSAGE Ignoring modified text node with null parent.

    Let me know what you think.

    Here’s the entire CSS file that it did this for:

    .choices {
    background-color: lavender;
    color: black;
    border: solid #000000;
    border-width: 0px 1px 1px 1px;
    font: 10px arial;
    display: none;
    position: absolute;
    maxHeight: 150px;
    width: auto
    overflow: auto
    }

    .selected {
    background-color: #222222;
    color: white;
    border: solid #CCCCCC;
    border-width: 0px 1px 1px 1px;
    font: 10px arial;
    width: 100%;
    }

Viewing 14 posts - 1 through 14 (of 14 total)
Reply To: NullPointerException when opening some JSF JSPs

You must be logged in to post in the forum log in