Twitter Bootstrap scaffolding

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Twitter Bootstrap scaffolding

suryazi
Hi,

    I am trying to use Twitter Bootstrap scaffolding suggested by Mr. Rob Fletcher https://github.com/robfletcher/twitter-bootstrap-scaffolding using Grails 2.2.0 but getting the below error.

| Error 2013-02-03 16:15:26,811 [http-bio-8083-exec-7] ERROR errors.GrailsExceptionResolver  - IllegalArgumentException occurred when processing request: [GET] /test/author/list
Argument [txt] cannot be null or blank. Stacktrace follows:
Message: Error processing GroovyPageView: Error executing tag <g:render>: Argument [txt] cannot be null or blank
    Line | Method
->>  464 | doFilter  in /author/list
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Caused by GrailsTagException: Error executing tag <g:render>: Argument [txt] cannot be null or blank
->>   13 | doCall    in /author/list
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Caused by IllegalArgumentException: Argument [txt] cannot be null or blank
->>   36 | doCall    in author_list$_run_closure2
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|     83 | run       in author_list
|    186 | doFilter  in grails.plugin.cache.web.filter.PageFragmentCachingFilter
|     63 | doFilter  in grails.plugin.cache.web.filter.AbstractFilter
|   1110 | runWorker in java.util.concurrent.ThreadPoolExecutor
|    603 | run       in java.util.concurrent.ThreadPoolExecutor$Worker
^    722 | run . . . in java.lang.Thread

Please suggest me how to fix it.

Regards.
Reply | Threaded
Open this post in threaded view
|

Re: Twitter Bootstrap scaffolding

Robert Fletcher-2
Can you give a bit more context? It looks like some tag or method in your author/list rendering chain expects a `txt` parameter & is getting null instead. I don't see any such thing in the bootstrap scaffolding code so I think it must be something you have in your app. Is this a new app or are you adding bootstrap scaffolding to an existing app?

On Sunday, February 3, 2013, suryazi wrote:
Hi,

    I am trying to use Twitter Bootstrap scaffolding suggested by Mr. Rob
Fletcher  https://github.com/robfletcher/twitter-bootstrap-scaffolding
<https://github.com/robfletcher/twitter-bootstrap-scaffolding>   using
Grails 2.2.0 but getting the below error.

| Error 2013-02-03 16:15:26,811 [http-bio-8083-exec-7] ERROR
errors.GrailsExceptionResolver  - IllegalArgumentException occurred when
processing request: [GET] /test/author/list
Argument [txt] cannot be null or blank. Stacktrace follows:
Message: Error processing GroovyPageView: Error executing tag <g:render>:
Argument [txt] cannot be null or blank
    Line | Method
->>  464 | doFilter  in /author/list
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Caused by GrailsTagException: Error executing tag <g:render>: Argument [txt]
cannot be null or blank
->>   13 | doCall    in /author/list
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Caused by IllegalArgumentException: Argument [txt] cannot be null or blank
->>   36 | doCall    in author_list$_run_closure2
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|     83 | run       in author_list
|    186 | doFilter  in
grails.plugin.cache.web.filter.PageFragmentCachingFilter
|     63 | doFilter  in grails.plugin.cache.web.filter.AbstractFilter
|   1110 | runWorker in java.util.concurrent.ThreadPoolExecutor
|    603 | run       in java.util.concurrent.ThreadPoolExecutor$Worker
^    722 | run . . . in java.lang.Thread

Please suggest me how to fix it.

Regards.



--
View this message in context: http://grails.1312388.n4.nabble.com/Twitter-Bootstrap-scaffolding-tp4640950.html
Sent from the Grails - user mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|

RE: Twitter Bootstrap scaffolding

suryazi
It is a classic new app with Author and Book tables and without any data. I was able to develop the same app using the twitter bootstrap scaffolding in Grails 2.1.1 but I am getting this strange error in Grails 2.2. I tried to find out the cause/bug but seems hard to find it out. If you want to look at the application I can post it to you. Out of curiousity, did you tried the twitter bootstrap scaffolding in Grails 2.2.
 
Regards

From: Robert Fletcher-2 [via Grails] [ml-node+[hidden email]]
Sent: Sunday, February 03, 2013 7:42 PM
To: Samiullah S. Khan
Subject: Re: Twitter Bootstrap scaffolding

Can you give a bit more context? It looks like some tag or method in your author/list rendering chain expects a `txt` parameter & is getting null instead. I don't see any such thing in the bootstrap scaffolding code so I think it must be something you have in your app. Is this a new app or are you adding bootstrap scaffolding to an existing app?

On Sunday, February 3, 2013, suryazi wrote:
Hi,

    I am trying to use Twitter Bootstrap scaffolding suggested by Mr. Rob
Fletcher  https://github.com/robfletcher/twitter-bootstrap-scaffolding
<https://github.com/robfletcher/twitter-bootstrap-scaffolding>   using
Grails 2.2.0 but getting the below error.

| Error 2013-02-03 16:15:26,811 [http-bio-8083-exec-7] ERROR
errors.GrailsExceptionResolver  - IllegalArgumentException occurred when
processing request: [GET] /test/author/list
Argument [txt] cannot be null or blank. Stacktrace follows:
Message: Error processing GroovyPageView: Error executing tag <g:render>:
Argument [txt] cannot be null or blank
    Line | Method
->>  464 | doFilter  in /author/list
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Caused by GrailsTagException: Error executing tag <g:render>: Argument [txt]
cannot be null or blank
->>   13 | doCall    in /author/list
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Caused by IllegalArgumentException: Argument [txt] cannot be null or blank
->>   36 | doCall    in author_list$_run_closure2
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|     83 | run       in author_list
|    186 | doFilter  in
grails.plugin.cache.web.filter.PageFragmentCachingFilter
|     63 | doFilter  in grails.plugin.cache.web.filter.AbstractFilter
|   1110 | runWorker in java.util.concurrent.ThreadPoolExecutor
|    603 | run       in java.util.concurrent.ThreadPoolExecutor$Worker
^    722 | run . . . in java.lang.Thread

Please suggest me how to fix it.

Regards.



--
View this message in context: http://grails.1312388.n4.nabble.com/Twitter-Bootstrap-scaffolding-tp4640950.html
Sent from the Grails - user mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email





If you reply to this email, your message will be added to the discussion below:
http://grails.1312388.n4.nabble.com/Twitter-Bootstrap-scaffolding-tp4640950p4640951.html
To unsubscribe from Twitter Bootstrap scaffolding, click here.
NAML


This message contains confidential information and is intended only for the individual/Group named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of Al Blagha Group or its subsidiaries . Finally, the recipient should check this email and any attachments for the presence of viruses. Al Blagha Group or its subsidiaries accepts no liability for any damage caused by any virus transmitted by this email.
Reply | Threaded
Open this post in threaded view
|

Re: Twitter Bootstrap scaffolding

suryazi
In reply to this post by Robert Fletcher-2
Sorry for the trouble, it is my mistake. After digging into the details I found out that instead of copying the original bootstrap.gsp, I copied a modified version of it from my previous project which needs some extra templates and tags. I forget to copy those and they are the cause of trouble.

Regards.
Reply | Threaded
Open this post in threaded view
|

Re: Twitter Bootstrap scaffolding

Robert Fletcher-2
In reply to this post by suryazi
Not yet, no

On Sunday, February 3, 2013, suryazi wrote:
It is a classic new app with Author and Book tables and without any data. I was able to develop the same app using the twitter bootstrap scaffolding in Grails 2.1.1 but I am getting this strange error in Grails 2.2. I tried to find out the cause/bug but seems hard to find it out. If you want to look at the application I can post it to you. Out of curiousity, did you tried the twitter bootstrap scaffolding in Grails 2.2.
 
Regards

From: Robert Fletcher-2 [via Grails] [ml-node+[hidden email]]
Sent: Sunday, February 03, 2013 7:42 PM
To: Samiullah S. Khan
Subject: Re: Twitter Bootstrap scaffolding

Can you give a bit more context? It looks like some tag or method in your author/list rendering chain expects a `txt` parameter & is getting null instead. I don't see any such thing in the bootstrap scaffolding code so I think it must be something you have in your app. Is this a new app or are you adding bootstrap scaffolding to an existing app?

On Sunday, February 3, 2013, suryazi wrote:
Hi,

    I am trying to use Twitter Bootstrap scaffolding suggested by Mr. Rob
Fletcher  https://github.com/robfletcher/twitter-bootstrap-scaffolding
<https://github.com/robfletcher/twitter-bootstrap-scaffolding>   using
Grails 2.2.0 but getting the below error.

| Error 2013-02-03 16:15:26,811 [http-bio-8083-exec-7] ERROR
errors.GrailsExceptionResolver  - IllegalArgumentException occurred when
processing request: [GET] /test/author/list
Argument [txt] cannot be null or blank. Stacktrace follows:
Message: Error processing GroovyPageView: Error executing tag <g:render>:
Argument [txt] cannot be null or blank
    Line | Method
->>  464 | doFilter  in /author/list
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Caused by GrailsTagException: Error executing tag <g:render>: Argument [txt]
cannot be null or blank
->>   13 | doCall    in /author/list
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Caused by IllegalArgumentException: Argument [txt] cannot be null or blank
->>   36 | doCall    in author_list$_run_closure2
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|     83 | run       in author_list
|    186 | doFilter  in
grails.plugin.cache.web.filter.PageFragmentCachingFilter
|     63 | doFilter  in grails.plugin.cache.web.filter.AbstractFilter
|   1110 | runWorker in java.util.concurrent.ThreadPoolExecutor
|    603 | run       in java.util.concurrent.ThreadPoolExecutor$Worker
^    722 | run . . . in java.lang.Thread

Please suggest me how to fix it.

Regards.



--
View this message in context: http://grails.1312388.n4.nabble.com/Twitter-Bootstrap-scaffolding-tp4640950.html
Sent from the Grails - user mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email





If you reply to this email, your message will be added to the discussion below:
http://grails.1312388.n4.nabble.com/Twitter-Bootstrap-scaffolding-tp4640950p4640951.html
To unsubscribe from Twitter Bootstrap scaffolding, click here.
NAML


This message contains confidential information and is intended only for the individual/Group named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of Al Blagha Group or its subsidiaries . Finally, the recipient should check this email and any attachments for the presence of viruses. Al Blagha Group or its subsidiaries accepts no liability for any damage caused by any virus transmitted by this email.


View this message in context: RE: Twitter Bootstrap scaffolding
Sent from the Grails - user mailing list archive at Nabble.com.
Reply | Threaded
Open this post in threaded view
|

Re: Twitter Bootstrap scaffolding

mmk622
In reply to this post by suryazi
Hi Suryazi,

I am facing the same problem while running grails app named pomodoroApp.

Below log for your reference.

Any idea how to fix this ? I see no bootstrap.gsp instead boostrap.groovy in my repo.

------
| Loading Grails 2.2.1
| Configuring classpath.
| Environment set to development.....
| Packaging Grails application....
| Compiling 1 source files.....
| Running Grails application
| Server running. Browse to http://localhost:8080/pomodoroApp
| Error 2014-07-23 15:22:15,173 [http-bio-8080-exec-2] ERROR errors.GrailsExceptionResolver  - IllegalArgumentException occurred when processing request: [GET] /pomodoroApp/task
Argument [txt] cannot be null or blank. Stacktrace follows:
Message: Error processing GroovyPageView: Error executing tag <g:render>: Argument [txt] cannot be null or blank
    Line | Method
->>  464 | doFilter  in \grails-app\views\task\index.gsp
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Caused by GrailsTagException: Error executing tag <g:render>: Argument [txt] cannot be null or blank
->>   21 | doCall    in C:/Grails/ggts/pomodoroApp/grails-app/views/task/index.gsp
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Caused by IllegalArgumentException: Argument [txt] cannot be null or blank
->>   21 | doCall    in C__Grails_ggts_pomodoroApp_grails_app_views_task_index_gsp$_run_closure2
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|     44 | run       in C__Grails_ggts_pomodoroApp_grails_app_views_task_index_gsp
|    195 | doFilter  in grails.plugin.cache.web.filter.PageFragmentCachingFilter
|     63 | doFilter  in grails.plugin.cache.web.filter.AbstractFilter
|   1145 | runWorker in java.util.concurrent.ThreadPoolExecutor
|    615 | run       in java.util.concurrent.ThreadPoolExecutor$Worker
^    745 | run . . . in java.lang.Thread
----

Any idea how to fix this issue ?

Git repo of my code is here
https://github.com/mmk622/customized-pomodoro

Thank you,
Murali