Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7509461
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T22:55:31+00:00 2026-05-29T22:55:31+00:00

I am building an intial-data.yml file to test my Play! application, but when I

  • 0

I am building an intial-data.yml file to test my Play! application, but when I try to load the page, I get an error as it is reading through the intial-data.yml file. It seems to be able to parse the username, firstname, and lastname fields, but when it gets to the email, it spits out the following error:

play.exceptions.YAMLException: null; mapping values are not allowed here (in file /conf/initial-data.yml line 7, column 11)
    at play.test.Fixtures.loadModels(Fixtures.java:234)
    at Bootstrap.doJob(Bootstrap.java:12)
    at play.jobs.Job.doJobWithResult(Job.java:50)
    at play.jobs.Job.call(Job.java:146)
    at Invocation.Job(Play!)
Caused by: mapping values are not allowed here
 in "<reader>", line 7, column 11:
         email:     myemail@gmail.com
              ^

The first entry in my YML file looks like the following:

# Test data

User(Dan):
    username:   Username1
    fname:      John
    lname:      Doe
     email:     myemail@gmail.com
     password:     password1

Does anyone know why this is happening?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T22:55:32+00:00Added an answer on May 29, 2026 at 10:55 pm

    Works OK if you align the columns (email and password have an extra 1-space indent in your example):

    # Test data
    
    User(Dan):
        username:   Username1
        fname:      John
        lname:      Doe
        email:     myemail@gmail.com
        password:     password1
    

    This online parser is useful for debugging…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am building an application which accepts csv data as an uploaded file. Here
Building decent RIA data-intensive crud-like application is still hard. In spite of existence tons
Using PHP, I am building an application that is MySQL database resource heavy, but
I'm building an application that serves up data to a standalone Google Earth client.
I'm building an iPhone application with a database (most likely I'll use Core Data
Building my first SL MVVM application (Silverlight4 RC) and have some issues i don't
Building a new ASP.net application, and planning to separate DB, 'service' tier and Web/UI
Building an iPhone OS application that will allow users to anonymously post information to
I´m building a small application with Jquery and PHP. Jquery (index.html) adds Form Fields
I am building a read-only iOS application that will ship with a default SQLite

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.