B4J Question [SOLVED] ABMaterial Stuck On WAIT Indicator in Everything

mmieher

Active Member
Licensed User
Longtime User
I guess I am such a noob. All was terrific after several hours of starting with a clean slate Take 3.

The "WAIT" indicator is either a pulsating phone or a spinning multi-colored pinwheel.

First, myApp started to intermittently hang on the pinwheel indicator. Cleared my Chrome cache but that broke ABM app permanently. However, FireFox will not work either.

Tried the untainted version of ABMExtras/Demo but shockingly the same hang. This time at pulsar.
In shock, I next tried the yet un-wrecked version of ABMExtras/Template. Pinwheel.

As with a previous forum question, where is it stuck and why?

In a panic, I tried re-installing B4j.

Here is Chrome browser after hitting PLAY on unaltered ABMExtras/Template. I think (index) looks odd.

1673839596620.png


B4J log:
B4X:
Waiting for debugger to connect...
Program started.
51042
Start B4J Analyse!
When an error occurs, check the B4JAnalyse.log file in the Objects folder to see the last B4J line it was working on.
Collecting data from B4J source files... (1/2)
DBM.bas
ABMShared.bas
ABMUploadHandler.bas
ABMCacheControl.bas
ABMCacheScavenger.bas
ABMCustomComponentTemplate.bas
ABMErrorHandler.bas
ABMRootFilter.bas
ABMApplication.bas
ABMPageTemplate.bas
ABMPageTemplateAlternative.bas
Template.b4j
Analysing data from B4J source files... (2/2)
loading D:\B4X\B4J\ABMExtras\Template\Objects: copymewithjar.needs...
Using cache system: 3.0
Current App version: 1673839430217
Needs material/awesome icons
Building D:\B4X\B4J\ABMExtras\Template\Objects\copymewithjar.js.needs
Building core.min.1673839430217.css...
2023-01-15 19:23:51.112:INFO :oejs.Server:main: jetty-11.0.9; built: 2022-03-30T17:44:47.085Z; git: 243a48a658a183130a8c8de353178d154ca04f04; jvm 11.0.1+13
2023-01-15 19:23:51.342:INFO :oejss.DefaultSessionIdManager:main: Session workerName=node0
2023-01-15 19:23:51.388:INFO :oejsh.ContextHandler:main: Started o.e.j.s.ServletContextHandler@461ad730{/,file:///D:/B4X/B4J/ABMExtras/Template/Objects/www/,AVAILABLE}
2023-01-15 19:23:51.408:INFO :oejs.RequestLogWriter:main: Opened D:\B4X\B4J\ABMExtras\Template\Objects\logs\b4j-2023_01_16.request.log
2023-01-15 19:23:51.624:INFO :oejs.AbstractConnector:main: Started ServerConnector@6b2ea799{HTTP/1.1, (http/1.1)}{0.0.0.0:51042}
2023-01-15 19:23:51.638:INFO :oejs.Server:main: Started Server@11bd0f3b{STARTING}[11.0.9,sto=0] @1997ms
Emulated network latency: 100ms
2023-01-15 19:23:51.641:INFO :oejs.Server:main: Stopped Server@11bd0f3b{STOPPING}[11.0.9,sto=0]
2023-01-15 19:23:51.647:INFO :oejs.AbstractConnector:main: Stopped ServerConnector@6b2ea799{HTTP/1.1, (http/1.1)}{0.0.0.0:51042}
2023-01-15 19:23:51.649:INFO :oejsh.ContextHandler:main: Stopped o.e.j.s.ServletContextHandler@461ad730{/,file:///D:/B4X/B4J/ABMExtras/Template/Objects/www/,STOPPED}
2023-01-15 19:23:51.655:INFO :oejs.Server:main: jetty-11.0.9; built: 2022-03-30T17:44:47.085Z; git: 243a48a658a183130a8c8de353178d154ca04f04; jvm 11.0.1+13
2023-01-15 19:23:51.659:INFO :oejsh.ContextHandler:main: Started o.e.j.s.ServletContextHandler@461ad730{/,file:///D:/B4X/B4J/ABMExtras/Template/Objects/www/,AVAILABLE}
2023-01-15 19:23:51.662:INFO :oejs.RequestLogWriter:main: Opened D:\B4X\B4J\ABMExtras\Template\Objects\logs\b4j-2023_01_16.request.log
2023-01-15 19:23:51.663:INFO :oejss.DefaultSessionIdManager:main: Session workerName=node0
2023-01-15 19:23:51.677:INFO :oejs.AbstractConnector:main: Started ServerConnector@6b2ea799{HTTP/1.1, (http/1.1)}{0.0.0.0:51042}
2023-01-15 19:23:51.679:INFO :oejs.Server:main: Started Server@11bd0f3b{STARTING}[11.0.9,sto=0] @2038ms
Viewer running on os: windows 10
Trying to open: http://localhost:51042/template/
null
null

The ABMExtras/Demo ends up at the same place (except pulsar). However, note the funky url where index.html should be.
1673840002162.png


Log
B4X:
Waiting for debugger to connect...
Program started.
Start B4J Analyse!
When an error occurs, check the B4JAnalyse.log file in the Objects folder to see the last B4J line it was working on.
Collecting data from B4J source files... (1/2)
ABMPrint.bas
ABMShared.bas
ABMCacheControl.bas
ABMCacheScavenger.bas
ABMErrorHandler.bas
CustomGauge.bas
CustomGoogleChart.bas
CustomGoogleChart2.bas
CustomSlidebar.bas
DonateButton.bas
ABMUploadHandler.bas
ABMApplication.bas
B4JSPage.bas
CompActionButtonPage.bas
CompAudioPlayerPage.bas
CompBadgePage.bas
CompButtonPage.bas
CompCalendarPage.bas
CompCanvasPage.bas
CompCardPage.bas
CompChartPage.bas
CompChatPage.bas
CompCheckboxPage.bas
CompChipPage.bas
CompChronologyPage.bas
CompCodeLabelPage.bas
CompComboPage.bas
CompCustomCompPage.bas
CompDateTimePickerPage.bas
CompDateTimeScrollerPage.bas
CompDividerPage.bas
CompEditorPage.bas
CompFileInputPage.bas
CompFileManagerPage.bas
CompGoogleMapPage.bas
CompImagePage.bas
CompInputPage.bas
CompLabelPage.bas
CompListPage.bas
CompOAuthPage.bas
CompPaginationPage.bas
CompPatternLockPage.bas
CompPDFViewerPage.bas
CompPercentSliderPage.bas
CompPivotTablePage.bas
CompPlannerPage.bas
CompRadioGroupPage.bas
CompRangePage.bas
CompRealSliderPage.bas
CompSignaturePage.bas
CompSliderPage.bas
CompSmartWizardPage.bas
ABMPageTemplate.bas
CompSocialSharePage.bas
CompSVGSurfacePage.bas
CompSwitchPage.bas
CompTabsPage.bas
CompTimeLinePage.bas
CompTreeTablePage.bas
CompUploadPage.bas
DonatorsExtraLibsPage.bas
GettingStartedPage.bas
GridsPage.bas
DonatorsExtraLibsPage.bas
GettingStartedPage.bas
GridsPage.bas
HelperContainerPage.bas
HelperFlexWallPage.bas
HelperGeneratorPage.bas
HelperModalSheetPage.bas
HelperPagePage.bas
HelperPagePage.bas
IconsPage.bas
IconsPage.bas
OtherFirebasePage.bas
OtherFirebaseStorPage.bas
ThemesPage.bas
AboutPage.bas
Demo.b4j
Analysing data from B4J source files... (2/2)
loading D:\B4X\B4J\ABMExtras\Demo\Objects: copymewithjar.needs...
Using cache system: 3.0
Current App version: 1673839913939
Needs material/awesome icons
Building D:\B4X\B4J\ABMExtras\Demo\Objects\copymewithjar.js.needs
Building core.min.1673839913939.css...
2023-01-15 19:31:59.573:INFO :oejs.Server:main: jetty-11.0.9; built: 2022-03-30T17:44:47.085Z; git: 243a48a658a183130a8c8de353178d154ca04f04; jvm 11.0.1+13
2023-01-15 19:31:59.867:INFO :oejsh.ContextHandler:main: Started o.e.j.s.ServletContextHandler@7c51f34b{/,file:///D:/B4X/B4J/ABMExtras/Demo/Objects/www/,AVAILABLE}
2023-01-15 19:31:59.867:INFO :oejsh.ContextHandler:main: Started o.e.j.s.ServletContextHandler@7c51f34b{/,file:///D:/B4X/B4J/ABMExtras/Demo/Objects/www/,AVAILABLE}
2023-01-15 19:31:59.875:INFO :oejs.RequestLogWriter:main: Opened D:\B4X\B4J\ABMExtras\Demo\Objects\logs\b4j-2023_01_16.request.log
2023-01-15 19:32:00.089:INFO :oejs.AbstractConnector:main: Started ServerConnector@5552768b{HTTP/1.1, (http/1.1)}{0.0.0.0:51042}
2023-01-15 19:32:00.104:INFO :oejs.Server:main: Started Server@2eae8e6e{STARTING}[11.0.9,sto=0] @7736ms
Emulated network latency: 100ms
2023-01-15 19:32:00.108:INFO :oejs.Server:main: Stopped Server@2eae8e6e{STOPPING}[11.0.9,sto=0]
2023-01-15 19:32:00.114:INFO :oejs.AbstractConnector:main: Stopped ServerConnector@5552768b{HTTP/1.1, (http/1.1)}{0.0.0.0:51042}
2023-01-15 19:32:00.118:INFO :oejsh.ContextHandler:main: Stopped o.e.j.s.ServletContextHandler@7c51f34b{/,file:///D:/B4X/B4J/ABMExtras/Demo/Objects/www/,STOPPED}
2023-01-15 19:32:00.127:INFO :oejs.Server:main: jetty-11.0.9; built: 2022-03-30T17:44:47.085Z; git: 243a48a658a183130a8c8de353178d154ca04f04; jvm 11.0.1+13
2023-01-15 19:32:00.132:INFO :oejsh.ContextHandler:main: Started o.e.j.s.ServletContextHandler@7c51f34b{/,file:///D:/B4X/B4J/ABMExtras/Demo/Objects/www/,AVAILABLE}
2023-01-15 19:32:00.133:INFO :oejs.RequestLogWriter:main: Opened D:\B4X\B4J\ABMExtras\Demo\Objects\logs\b4j-2023_01_16.request.log
2023-01-15 19:32:00.133:INFO :oejss.DefaultSessionIdManager:main: Session workerName=node0
2023-01-15 19:32:00.137:INFO :oejs.AbstractConnector:main: Started ServerConnector@5552768b{HTTP/1.1, (http/1.1)}{0.0.0.0:51042}
2023-01-15 19:32:00.138:INFO :oejs.Server:main: Started Server@2eae8e6e{STARTING}[11.0.9,sto=0] @7769ms
Viewer running on os: windows 10
Trying to open: http://localhost:51042/demo?1673839913939
null
null
 
Solution
you are, as MichalK73 suspected, not using the correct js/core/css folders looking at your tree. The Demo uses an older version of ABMaterial (it was indicated that it it was not yet updated for version 5, but for 4.51). If you use ABM 5.00, then you have also have to use the js/core/css folders of v5.00.

As explained on the dowload page:
...
4. Unzip www5.00.zip
5. In the projects you are working on (e.g. a for Dummies project) delete the following folders in \www

  • css
  • font
  • js
6. Copy from the unzipped www5.00.zip the 3 folder (css/font/js) to the \www folder where you just deleted these 3 folders.

Here is a link where I just did that for the demo project: http://gorgeousapps.com/Demo5.00.zip

MichalK73

Well-Known Member
Licensed User
Longtime User
If this happens to me, I know that I have bad files in JS, Fonts, CSS. Most often I confuse these folders in the upload from the older version. I put in the right one and it works. The files must be appropriate for the given version of ABMaterial
 
Upvote 0

mmieher

Active Member
Licensed User
Longtime User
Thank you both.

MK - I copied those three folders from ABMExtras/Template to my working Windows area which started as a Template clone. Did not solve problem. Below is a run of the unchanged Template.b4j.

AB - Goog Console is a new place. It speaks in strange tongue. Here is a screen shot.

1673853766665.png


The attached tree.txt is the ABMExtras/Template/Objects/www listing.
 

Attachments

  • tree.txt
    73.3 KB · Views: 61
Upvote 0

alwaysbusy

Expert
Licensed User
Longtime User
you are, as MichalK73 suspected, not using the correct js/core/css folders looking at your tree. The Demo uses an older version of ABMaterial (it was indicated that it it was not yet updated for version 5, but for 4.51). If you use ABM 5.00, then you have also have to use the js/core/css folders of v5.00.

As explained on the dowload page:
...
4. Unzip www5.00.zip
5. In the projects you are working on (e.g. a for Dummies project) delete the following folders in \www

  • css
  • font
  • js
6. Copy from the unzipped www5.00.zip the 3 folder (css/font/js) to the \www folder where you just deleted these 3 folders.

Here is a link where I just did that for the demo project: http://gorgeousapps.com/Demo5.00.zip
 
Upvote 0
Solution
Top