java.io.FileNotFoundException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Installing Development Environment 0.8
    via by Anatoly Spektors,
  • GitHub comment 574#253589496
    via GitHub by patrickzurek
    ,
  • Re: [m2] HIbernate/Spring/Myfaces dependency hell
    via by Unknown author,
  • Report Designer writes to files in its own installation. This means that it cannot operate in a multi-user environment. I should be able to install Report Designer as root, and then execute it as any user. This is the standard means of installing and running applications. Any files that need to be written (application settings, JNDI connections, etc.) are done so in the user's home directory ($HOME/.Report). If I try to run PRD as a normal user after having installed it as root, it gives errors in the console about not being able to write to files. Here's one example that appears after starting PRD: 14:24:47,577 ERROR [Logger] misc-org.pentaho.core.system.PentahoSystem: PentahoSystem.ERROR_0023 - Could not return object IVersionHelper of scope null 14:24:47,578 ERROR [Logger] Error: Pentaho Pentaho BI Platform 1.7.1.1112 14:24:47,579 ERROR [Logger] misc-org.pentaho.core.audit.AuditHelper: java.io.FileNotFoundException: resources/solutions/system/logs/audit/PentahoAuditLog.log (Permission denied) org.pentaho.core.audit.AuditException: java.io.FileNotFoundException: resources/solutions/system/logs/audit/PentahoAuditLog.log (Permission denied) at org.pentaho.core.audit.AuditFileEntry.auditAll(AuditFileEntry.java:106) at org.pentaho.core.audit.AuditEntry.auditAll(AuditEntry.java:61) at org.pentaho.core.audit.AuditEntry.auditJobDuration(AuditEntry.java:54) at org.pentaho.core.audit.AuditHelper.audit(AuditHelper.java:81) at org.pentaho.core.session.BaseSession.<init>(BaseSession.java:55) at org.pentaho.core.session.StandaloneSession.<init>(StandaloneSession.java:51) at org.pentaho.core.session.StandaloneSession.<init>(StandaloneSession.java:47) at org.pentaho.core.session.StandaloneSession.<init>(StandaloneSession.java:43) at org.pentaho.core.system.PentahoSystem.init(PentahoSystem.java:292) at org.pentaho.core.system.PentahoSystem.init(PentahoSystem.java:212) at org.pentaho.jfreereport.wizard.utility.PentahoUtility.startup(PentahoUtility.java:65) at org.pentaho.jfreereport.wizard.utility.PentahoUtility.startup(PentahoUtility.java:33) at org.pentaho.reportdesigner.crm.report.ReportDialog.preload(ReportDialog.java:472) at org.pentaho.reportdesigner.crm.report.ReportDialog.access$100(ReportDialog.java:229) at org.pentaho.reportdesigner.crm.report.ReportDialog$2$1.run(ReportDialog.java:347) Caused by: java.io.FileNotFoundException: resources/solutions/system/logs/audit/PentahoAuditLog.log (Permission denied) at java.io.FileOutputStream.openAppend(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:177) at java.io.FileWriter.<init>(FileWriter.java:90) at org.pentaho.core.audit.AuditFileEntry.auditAll(AuditFileEntry.java:72) ... 14 more 14:24:47,580 ERROR [Logger] Error end: To work around this, I am forced to run these commands as root: # touch report-designer/pentaho.log report-designer/resources/solutions/system/logs/audit/PentahoAuditLog.log # find report-designer/ -iname "*.log" -exec chmod 0666 {} + # find report-designer/ -iname "*.properties" -exec chmod 0666 {} + This means that the files are writable, but the problem is that they are writable by everyone. These files should really be in $HOME/.Report so that the application doesn't need to write to its own installation directory.
    via by Sridhar Dhanapalan,
  • Hosted Server Problem
    via GitHub by mstabarrie
    ,
  • Problem downloading modpack
    via GitHub by Pokefenn
    ,
    • java.io.FileNotFoundException: /home/www/clients/client2/web1/web/mc_map/LinkTart/players.js (Permission denied) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:209) at java.io.FileOutputStream.<init>(FileOutputStream.java:99) at java.io.FileWriter.<init>(FileWriter.java:63) at com.ubempire.render.PlayerScript.updateMapMarkers(PlayerScript.java:82) at com.ubempire.render.BananaMapRender$1.run(BananaMapRender.java:98) at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:138) at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:386) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309) at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)

    Users with the same issue

    Agócs Tamás
    1 times, last one,
    Unknown visitor1 times, last one,
    Vikram
    2 times, last one,
    olle.hallin
    5 times, last one,
    tzrlk
    1 times, last one,
    78 more bugmates