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.

  • When we call the QuestionnaireCreator to create a new Questionnaire we have the following exception (but the creator has created the language_XX.properties file): 2010-08-18 15:34:32 org.obiba.onyx.core.io.support.LocalizedResourceLoader getAvailableLocales INFO: No locales available for resource (path=file:/D:/devzone/projects/onyx/onyx-example/target/questionnaires/defaultName/1.0/, name=language, extension=.properties) 2010-08-18 15:34:32 org.obiba.onyx.core.io.support.LocalizedResourceLoader getLocalizedResource INFO: en 2010-08-18 15:34:32 org.obiba.onyx.quartz.core.engine.questionnaire.bundle.impl.QuestionnaireBundleImpl getLanguage INFO: URL [file:/D:/devzone/projects/onyx/onyx-example/target/questionnaires/defaultName/1.0//language.properties] 2010-08-18 15:34:33 org.obiba.onyx.quartz.core.engine.questionnaire.bundle.impl.QuestionnaireBundleImpl getLanguage GRAVE: Failed to load language resource java.io.FileNotFoundException: D:\devzone\projects\onyx\onyx-example\target\questionnaires\defaultName\1.0\language.properties (Le fichier spÚcifiÚ est introuvable) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:106) at java.io.FileInputStream.<init>(FileInputStream.java:66) at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70) at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161) at org.springframework.core.io.UrlResource.getInputStream(UrlResource.java:124) at org.obiba.onyx.quartz.core.engine.questionnaire.bundle.impl.QuestionnaireBundleImpl.getLanguage(QuestionnaireBundleImpl.java:157) at org.obiba.onyx.quartz.core.engine.questionnaire.util.QuestionnaireCreator.createQuestionnaire(QuestionnaireCreator.java:90) at org.obiba.onyx.example.questionnaire.util.CreateQuestionnaire.main(CreateQuestionnaire.java:36) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:283) at java.lang.Thread.run(Thread.java:619) The getAvailableLanguages() is probably called before creating the language_xx.properties files. To repdoduce this error, simply call the creator for a new Questionnaire in CreateQuestionnaire.java.
    via by Etienne Morency-Bachand [X],
  • When we call the QuestionnaireCreator to create a new Questionnaire we have the following exception (but the creator has created the language_XX.properties file): 2010-08-18 15:34:32 org.obiba.onyx.core.io.support.LocalizedResourceLoader getAvailableLocales INFO: No locales available for resource (path=file:/D:/devzone/projects/onyx/onyx-example/target/questionnaires/defaultName/1.0/, name=language, extension=.properties) 2010-08-18 15:34:32 org.obiba.onyx.core.io.support.LocalizedResourceLoader getLocalizedResource INFO: en 2010-08-18 15:34:32 org.obiba.onyx.quartz.core.engine.questionnaire.bundle.impl.QuestionnaireBundleImpl getLanguage INFO: URL [file:/D:/devzone/projects/onyx/onyx-example/target/questionnaires/defaultName/1.0//language.properties] 2010-08-18 15:34:33 org.obiba.onyx.quartz.core.engine.questionnaire.bundle.impl.QuestionnaireBundleImpl getLanguage GRAVE: Failed to load language resource java.io.FileNotFoundException: D:\devzone\projects\onyx\onyx-example\target\questionnaires\defaultName\1.0\language.properties (Le fichier spÚcifiÚ est introuvable) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:106) at java.io.FileInputStream.<init>(FileInputStream.java:66) at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70) at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161) at org.springframework.core.io.UrlResource.getInputStream(UrlResource.java:124) at org.obiba.onyx.quartz.core.engine.questionnaire.bundle.impl.QuestionnaireBundleImpl.getLanguage(QuestionnaireBundleImpl.java:157) at org.obiba.onyx.quartz.core.engine.questionnaire.util.QuestionnaireCreator.createQuestionnaire(QuestionnaireCreator.java:90) at org.obiba.onyx.example.questionnaire.util.CreateQuestionnaire.main(CreateQuestionnaire.java:36) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:283) at java.lang.Thread.run(Thread.java:619) The getAvailableLanguages() is probably called before creating the language_xx.properties files. To repdoduce this error, simply call the creator for a new Questionnaire in CreateQuestionnaire.java.
    via by Etienne Morency-Bachand [X],
  • file missing?
    via GitHub by esc
    ,
  • [FIXED]Mule does not start in Saddle :: User
    via by Unknown author,
    • java.io.FileNotFoundException: D:\devzone\projects\onyx\onyx-example\target\questionnaires\defaultName\1.0\language.properties (Le fichier spÚcifiÚ est introuvable) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:106) at java.io.FileInputStream.<init>(FileInputStream.java:66) at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70) at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161) at org.springframework.core.io.UrlResource.getInputStream(UrlResource.java:124) at org.obiba.onyx.quartz.core.engine.questionnaire.bundle.impl.QuestionnaireBundleImpl.getLanguage(QuestionnaireBundleImpl.java:157) at org.obiba.onyx.quartz.core.engine.questionnaire.util.QuestionnaireCreator.createQuestionnaire(QuestionnaireCreator.java:90) at org.obiba.onyx.example.questionnaire.util.CreateQuestionnaire.main(CreateQuestionnaire.java:36) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:283) at java.lang.Thread.run(Thread.java:619)

    Users with the same issue

    DunmerDunmer
    2 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    115 more bugmates