ace-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "J.W. Janssen (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ACE-257) NPE in VelocityArtifactPreprocessor
Date Thu, 12 Apr 2012 09:45:27 GMT
NPE in VelocityArtifactPreprocessor
-----------------------------------

                 Key: ACE-257
                 URL: https://issues.apache.org/jira/browse/ACE-257
             Project: ACE
          Issue Type: Bug
            Reporter: J.W. Janssen


In some situations a NPE is thrown from the VelocityArtifactPreprocessor, like:

java.lang.NullPointerException
    at java.security.MessageDigest.update(MessageDigest.java:293)
    at java.security.MessageDigest.digest(MessageDigest.java:368)
    at org.apache.ace.client.repository.helper.base.VelocityArtifactPreprocessor.hash(VelocityArtifactPreprocessor.java:313)
    at org.apache.ace.client.repository.helper.base.VelocityArtifactPreprocessor.getHashForVersion(VelocityArtifactPreprocessor.java:193)
    at org.apache.ace.client.repository.helper.base.VelocityArtifactPreprocessor.needsNewVersion(VelocityArtifactPreprocessor.java:99)
    at org.apache.ace.client.repository.impl.ArtifactRepositoryImpl.needsNewVersion(ArtifactRepositoryImpl.java:516)
    at org.apache.ace.client.repository.stateful.impl.StatefulTargetRepositoryImpl.needsNewVersion(StatefulTargetRepositoryImpl.java:756)
    at org.apache.ace.client.repository.stateful.impl.StatefulTargetObjectImpl.determineStoreState(StatefulTargetObjectImpl.java:274)
    at org.apache.ace.client.repository.stateful.impl.StatefulTargetObjectImpl.determineStatus(StatefulTargetObjectImpl.java:223)
    at org.apache.ace.client.repository.stateful.impl.StatefulTargetRepositoryImpl.handleEvent(StatefulTargetRepositoryImpl.java:749)
    at org.apache.felix.eventadmin.impl.tasks.HandlerTaskImpl.execute(HandlerTaskImpl.java:87)
    at org.apache.felix.eventadmin.impl.tasks.SyncDeliverTasks$1.run(SyncDeliverTasks.java:234)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Thread.java:680)

The exact causes are not entirely known yet...

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message