Exception in thread "main" java.lang.InternalError: internal error: SHA-1 not av ailable.

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Exception in thread "main" java.lang.InternalError: internal error: SHA-1 not av ailable.

kimberly thomas-2
Hi,
I need help in figuring out the Java error I am getting.  It is the code in bold below.

Any and all suggestions welcomed.

D:\StatS SVN\statsvn-0.7.0>java -jar statsvn.jar
Aug 29, 2011 4:51:50 PM net.sf.statsvn.util.JavaUtilTaskLogger info
INFO: StatSVN - SVN statistics generation

Aug 29, 2011 4:51:50 PM net.sf.statsvn.util.JavaUtilTaskLogger error
SEVERE: Usage: java -jar statsvn.jar [options] <logfile> <directory>




The command line looks like this and the appropriate substitutions are in play

java -jar %statSvn% %svnLOGPath%\svnRange.log %sourceDirPath%


E:\>synchrony7110.bat report
Aug 29, 2011 4:55:43 PM net.sf.statsvn.util.JavaUtilTaskLogger info
INFO: StatSVN - SVN statistics generation

Parsing SVN log 'E:\SyncY2011B\svnlog\svnRange.log'No exclude pattern
Scheduled 0 svn diff calls on 0 threads.
Generating report for /Synchrony/7.x/SyncY2011B/trunk/dev/ApplicationServer into

Using default CSS file (objectlab-statcvs.css)
Revision of source/sync/pif/axis/server/AxisContactHandler.java does not match e
xpected revision
-
.
.
-
Revision of source/WEB-INF/ws-web.xml does not match expected revision
Revision of source/sync/pif/client/InteractionClient.java does not match expecte
d revision
Revision of public_html/synchrony.wsdl does not match expected revision
Revision of source/sync/server/util/AuditTrail.java does not match expected revi
sion
Revision of source/sync/pif/axis/server/AxisInteractionHandler.java does not mat
ch expected revision
Revision of public_html/agentapp/data/activitydata.vm does not match expected re
vision
.
.
.
memory usage After Build: 15576.0 kb
Creating CSS file at 'objectlab-statcvs.css'
writing chart 'Contributed Lines of Code' to loc_per_author.png
Exception in thread "main" java.lang.InternalError: internal error: SHA-1 not av
ailable.
        at sun.security.provider.SecureRandom.init(Unknown Source)
        at sun.security.provider.SecureRandom.<init>(Unknown Source)
        at java.security.SecureRandom.getDefaultPRNG(Unknown Source)

        at java.security.SecureRandom.<init>(Unknown Source)
        at java.io.File$LazyInitialization.<clinit>(Unknown Source)
        at java.io.File.createTempFile(Unknown Source)
        at javax.imageio.stream.FileCacheImageOutputStream.<init>(Unknown Source
)
        at com.sun.imageio.spi.OutputStreamImageOutputStreamSpi.createOutputStre
amInstance(Unknown Source)
        at javax.imageio.ImageIO.createImageOutputStream(Unknown Source)
        at javax.imageio.ImageIO.write(Unknown Source)
        at org.jfree.chart.encoders.SunPNGEncoderAdapter.encode(SunPNGEncoderAda
pter.java:127)
        at org.jfree.chart.encoders.EncoderUtil.writeBufferedImage(EncoderUtil.j
ava:134)
        at org.jfree.chart.ChartUtilities.writeChartAsPNG(ChartUtilities.java:18
5)
        at org.jfree.chart.ChartUtilities.saveChartAsPNG(ChartUtilities.java:320
)
        at org.jfree.chart.ChartUtilities.saveChartAsPNG(ChartUtilities.java:293
)
        at net.sf.statcvs.charts.ChartImage.write(ChartImage.java:61)
        at net.sf.statcvs.output.ReportConfig.createChartImage(ReportConfig.java
:142)
        at net.sf.statcvs.charts.LOCChartMaker.<init>(LOCChartMaker.java:105)
        at net.sf.statcvs.charts.LOCChartMaker$AllDevelopersLOCChartMaker.<init>
(LOCChartMaker.java:229)
        at net.sf.statcvs.pages.AllDevelopersPageMaker.toFile(AllDevelopersPageM
aker.java:46)
        at net.sf.statcvs.pages.ReportSuiteMaker.toFile(ReportSuiteMaker.java:98
)
        at net.sf.statsvn.Main.generateDefaultHTMLSuite(Main.java:329)
        at net.sf.statsvn.Main.generate(Main.java:116)
        at net.sf.statsvn.Main.main(Main.java:80)
Error occurred for  pulling status

E:\SyncY2011B\Reports>

--

Kimberly

------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Statsvn-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/statsvn-users
Reply | Threaded
Open this post in threaded view
|

Re: Exception in thread "main" java.lang.InternalError: internal error: SHA-1 not av ailable.

jkealey@lavablast.com
After doing a bit of googling, I believe your JDK is missing a few components that are typically removed when exported to particular countries due to cryptography export laws. This isn't an issue with StatSVN but rather something you should be able to solve by installing the full JDK. 

Hope this helps,
---
Jason Kealey, Ing. - [hidden email]
FranchiseBlast, franchise software - http://www.franchiseblast.com
Simplifying day-to-day franchise operations


On Mon, Aug 29, 2011 at 7:28 PM, kimberly thomas <[hidden email]> wrote:
Hi,
I need help in figuring out the Java error I am getting.  It is the code in bold below.

Any and all suggestions welcomed.

D:\StatS SVN\statsvn-0.7.0>java -jar statsvn.jar
Aug 29, 2011 4:51:50 PM net.sf.statsvn.util.JavaUtilTaskLogger info
INFO: StatSVN - SVN statistics generation

Aug 29, 2011 4:51:50 PM net.sf.statsvn.util.JavaUtilTaskLogger error
SEVERE: Usage: java -jar statsvn.jar [options] <logfile> <directory>




The command line looks like this and the appropriate substitutions are in play

java -jar %statSvn% %svnLOGPath%\svnRange.log %sourceDirPath%


E:\>synchrony7110.bat report
Aug 29, 2011 4:55:43 PM net.sf.statsvn.util.JavaUtilTaskLogger info
INFO: StatSVN - SVN statistics generation

Parsing SVN log 'E:\SyncY2011B\svnlog\svnRange.log'No exclude pattern
Scheduled 0 svn diff calls on 0 threads.
Generating report for /Synchrony/7.x/SyncY2011B/trunk/dev/ApplicationServer into

Using default CSS file (objectlab-statcvs.css)
Revision of source/sync/pif/axis/server/AxisContactHandler.java does not match e
xpected revision
-
.
.
-
Revision of source/WEB-INF/ws-web.xml does not match expected revision
Revision of source/sync/pif/client/InteractionClient.java does not match expecte
d revision
Revision of public_html/synchrony.wsdl does not match expected revision
Revision of source/sync/server/util/AuditTrail.java does not match expected revi
sion
Revision of source/sync/pif/axis/server/AxisInteractionHandler.java does not mat
ch expected revision
Revision of public_html/agentapp/data/activitydata.vm does not match expected re
vision
.
.
.
memory usage After Build: 15576.0 kb
Creating CSS file at 'objectlab-statcvs.css'
writing chart 'Contributed Lines of Code' to loc_per_author.png
Exception in thread "main" java.lang.InternalError: internal error: SHA-1 not av
ailable.
        at sun.security.provider.SecureRandom.init(Unknown Source)
        at sun.security.provider.SecureRandom.<init>(Unknown Source)
        at java.security.SecureRandom.getDefaultPRNG(Unknown Source)

        at java.security.SecureRandom.<init>(Unknown Source)
        at java.io.File$LazyInitialization.<clinit>(Unknown Source)
        at java.io.File.createTempFile(Unknown Source)
        at javax.imageio.stream.FileCacheImageOutputStream.<init>(Unknown Source
)
        at com.sun.imageio.spi.OutputStreamImageOutputStreamSpi.createOutputStre
amInstance(Unknown Source)
        at javax.imageio.ImageIO.createImageOutputStream(Unknown Source)
        at javax.imageio.ImageIO.write(Unknown Source)
        at org.jfree.chart.encoders.SunPNGEncoderAdapter.encode(SunPNGEncoderAda
pter.java:127)
        at org.jfree.chart.encoders.EncoderUtil.writeBufferedImage(EncoderUtil.j
ava:134)
        at org.jfree.chart.ChartUtilities.writeChartAsPNG(ChartUtilities.java:18
5)
        at org.jfree.chart.ChartUtilities.saveChartAsPNG(ChartUtilities.java:320
)
        at org.jfree.chart.ChartUtilities.saveChartAsPNG(ChartUtilities.java:293
)
        at net.sf.statcvs.charts.ChartImage.write(ChartImage.java:61)
        at net.sf.statcvs.output.ReportConfig.createChartImage(ReportConfig.java
:142)
        at net.sf.statcvs.charts.LOCChartMaker.<init>(LOCChartMaker.java:105)
        at net.sf.statcvs.charts.LOCChartMaker$AllDevelopersLOCChartMaker.<init>
(LOCChartMaker.java:229)
        at net.sf.statcvs.pages.AllDevelopersPageMaker.toFile(AllDevelopersPageM
aker.java:46)
        at net.sf.statcvs.pages.ReportSuiteMaker.toFile(ReportSuiteMaker.java:98
)
        at net.sf.statsvn.Main.generateDefaultHTMLSuite(Main.java:329)
        at net.sf.statsvn.Main.generate(Main.java:116)
        at net.sf.statsvn.Main.main(Main.java:80)
Error occurred for  pulling status

E:\SyncY2011B\Reports>

--

Kimberly

------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Statsvn-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/statsvn-users



------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Statsvn-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/statsvn-users
Reply | Threaded
Open this post in threaded view
|

Re: Exception in thread "main" java.lang.InternalError: internal error: SHA-1 not av ailable.

k1corporate

Thanks.  I will look into this.

 

Regards,
 
Kimberly Thomas

This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain information that is confidential and protected by law from unauthorized disclosure. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. 

 


From: Jason Kealey [mailto:[hidden email]]
Sent: Tuesday, August 30, 2011 8:16 AM
To: kimberly thomas
Cc: [hidden email]
Subject: Re: [Statsvn-users] Exception in thread "main" java.lang.InternalError: internal error: SHA-1 not av ailable.

 

After doing a bit of googling, I believe your JDK is missing a few components that are typically removed when exported to particular countries due to cryptography export laws. This isn't an issue with StatSVN but rather something you should be able to solve by installing the full JDK. 

 

Hope this helps,
---
Jason Kealey, Ing. - [hidden email]
FranchiseBlast, franchise software - http://www.franchiseblast.com
Simplifying day-to-day franchise operations

On Mon, Aug 29, 2011 at 7:28 PM, kimberly thomas <[hidden email]> wrote:

Hi,
I need help in figuring out the Java error I am getting.  It is the code in bold below.

Any and all suggestions welcomed.

D:\StatS SVN\statsvn-0.7.0>java -jar statsvn.jar
Aug 29, 2011 4:51:50 PM net.sf.statsvn.util.JavaUtilTaskLogger info
INFO: StatSVN - SVN statistics generation

Aug 29, 2011 4:51:50 PM net.sf.statsvn.util.JavaUtilTaskLogger error
SEVERE: Usage: java -jar statsvn.jar [options] <logfile> <directory>




The command line looks like this and the appropriate substitutions are in play

java -jar %statSvn% %svnLOGPath%\svnRange.log %sourceDirPath%


E:\>synchrony7110.bat report
Aug 29, 2011 4:55:43 PM net.sf.statsvn.util.JavaUtilTaskLogger info
INFO: StatSVN - SVN statistics generation

Parsing SVN log 'E:\SyncY2011B\svnlog\svnRange.log'No exclude pattern
Scheduled 0 svn diff calls on 0 threads.
Generating report for /Synchrony/7.x/SyncY2011B/trunk/dev/ApplicationServer into

Using default CSS file (objectlab-statcvs.css)
Revision of source/sync/pif/axis/server/AxisContactHandler.java does not match e
xpected revision
-
.
.
-
Revision of source/WEB-INF/ws-web.xml does not match expected revision
Revision of source/sync/pif/client/InteractionClient.java does not match expecte
d revision
Revision of public_html/synchrony.wsdl does not match expected revision
Revision of source/sync/server/util/AuditTrail.java does not match expected revi
sion
Revision of source/sync/pif/axis/server/AxisInteractionHandler.java does not mat
ch expected revision
Revision of public_html/agentapp/data/activitydata.vm does not match expected re
vision
.
.
.
memory usage After Build: 15576.0 kb
Creating CSS file at 'objectlab-statcvs.css'
writing chart 'Contributed Lines of Code' to loc_per_author.png
Exception in thread "main" java.lang.InternalError: internal error: SHA-1 not av
ailable.
        at sun.security.provider.SecureRandom.init(Unknown Source)
        at sun.security.provider.SecureRandom.<init>(Unknown Source)
        at java.security.SecureRandom.getDefaultPRNG(Unknown Source)

        at java.security.SecureRandom.<init>(Unknown Source)
        at java.io.File$LazyInitialization.<clinit>(Unknown Source)
        at java.io.File.createTempFile(Unknown Source)
        at javax.imageio.stream.FileCacheImageOutputStream.<init>(Unknown Source
)
        at com.sun.imageio.spi.OutputStreamImageOutputStreamSpi.createOutputStre
amInstance(Unknown Source)
        at javax.imageio.ImageIO.createImageOutputStream(Unknown Source)
        at javax.imageio.ImageIO.write(Unknown Source)
        at org.jfree.chart.encoders.SunPNGEncoderAdapter.encode(SunPNGEncoderAda
pter.java:127)
        at org.jfree.chart.encoders.EncoderUtil.writeBufferedImage(EncoderUtil.j
ava:134)
        at org.jfree.chart.ChartUtilities.writeChartAsPNG(ChartUtilities.java:18
5)
        at org.jfree.chart.ChartUtilities.saveChartAsPNG(ChartUtilities.java:320
)
        at org.jfree.chart.ChartUtilities.saveChartAsPNG(ChartUtilities.java:293
)
        at net.sf.statcvs.charts.ChartImage.write(ChartImage.java:61)
        at net.sf.statcvs.output.ReportConfig.createChartImage(ReportConfig.java
:142)
        at net.sf.statcvs.charts.LOCChartMaker.<init>(LOCChartMaker.java:105)
        at net.sf.statcvs.charts.LOCChartMaker$AllDevelopersLOCChartMaker.<init>
(LOCChartMaker.java:229)
        at net.sf.statcvs.pages.AllDevelopersPageMaker.toFile(AllDevelopersPageM
aker.java:46)
        at net.sf.statcvs.pages.ReportSuiteMaker.toFile(ReportSuiteMaker.java:98
)
        at net.sf.statsvn.Main.generateDefaultHTMLSuite(Main.java:329)
        at net.sf.statsvn.Main.generate(Main.java:116)
        at net.sf.statsvn.Main.main(Main.java:80)
Error occurred for  pulling status

E:\SyncY2011B\Reports>

--

 

Kimberly

------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Statsvn-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/statsvn-users

 


------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Statsvn-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/statsvn-users