java.io.FileNotFoundException: D:\devzone\projects\onyx\onyx-example\target\questionnaires\defaultName\1.0\language.properties (Le fichier spÚcifiÚ est introuvable)

JIRA | Etienne Morency-Bachand [X] | 7 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    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.

    JIRA | 7 years ago | Etienne Morency-Bachand [X]
    java.io.FileNotFoundException: D:\devzone\projects\onyx\onyx-example\target\questionnaires\defaultName\1.0\language.properties (Le fichier spÚcifiÚ est introuvable)
  2. 0

    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.

    JIRA | 7 years ago | Etienne Morency-Bachand [X]
    java.io.FileNotFoundException: D:\devzone\projects\onyx\onyx-example\target\questionnaires\defaultName\1.0\language.properties (Le fichier spÚcifiÚ est introuvable)
  3. 0

    file missing?

    GitHub | 2 years ago | esc
    java.lang.IllegalStateException: Failed to load ApplicationContext
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Bike rental support for multiple-graph deployments doesn't work w/o default graph

    GitHub | 5 years ago | demory
    java.io.FileNotFoundException: /var/otp/graphs/Graph.obj (No such file or directory)
  6. 0

    Refer spring context file from another project: JUnit & Spring

    Stack Overflow | 3 years ago | Vijay Krish
    java.lang.IllegalStateException: Failed to load ApplicationContext
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. 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()
  2. Java RT
    FileURLConnection.getInputStream
    1. java.io.FileInputStream.open(Native Method)
    2. java.io.FileInputStream.<init>(FileInputStream.java:106)
    3. java.io.FileInputStream.<init>(FileInputStream.java:66)
    4. sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
    5. sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)
    5 frames
  3. Spring Core
    UrlResource.getInputStream
    1. org.springframework.core.io.UrlResource.getInputStream(UrlResource.java:124)
    1 frame
  4. org.obiba.onyx
    CreateQuestionnaire.main
    1. org.obiba.onyx.quartz.core.engine.questionnaire.bundle.impl.QuestionnaireBundleImpl.getLanguage(QuestionnaireBundleImpl.java:157)
    2. org.obiba.onyx.quartz.core.engine.questionnaire.util.QuestionnaireCreator.createQuestionnaire(QuestionnaireCreator.java:90)
    3. org.obiba.onyx.example.questionnaire.util.CreateQuestionnaire.main(CreateQuestionnaire.java:36)
    3 frames
  5. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  6. org.codehaus.mojo
    ExecJavaMojo$1.run
    1. org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:283)
    1 frame
  7. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:619)
    1 frame