Hello Everybody,
I'm a complete newbie with b4j. To figure out the possibilities I'v installed b4jv5.7 an ABMaterial 3.2. Now I want to explore the Demo-Project from Abmaterial3.20.zip. I've copied the Project-Folder into a separat Plance, opened demo.b4j and tried to compile it. But I get the Debugger-Messages below. What's wrong with my Configuration? Thanks for your help.
Chris
Error Message:
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
ABMApplication.bas
ABMCacheScavenger.bas
ABMPageTemplate.bas
ABMSessionCreator.bas
ABMUploadHandler.bas
AboutPage.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
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
CompSocialSharePage.bas
CompSVGSurfacePage.bas
CompSwitchPage.bas
CompTabsPage.bas
CompTimeLinePage.bas
CompTreeTablePage.bas
CompUploadPage.bas
CompVideoPage.bas
CustomGauge.bas
CustomGoogleChart.bas
CustomGoogleChart2.bas
CustomSlidebar.bas
DonateButton.bas
DonatorsExtraLibsPage.bas
GettingStartedPage.bas
GridsPage.bas
HelperContainerPage.bas
HelperFlexWallPage.bas
HelperGeneratorPage.bas
HelperModalSheetPage.bas
HelperNavigationBarPage.bas
HelperPagePage.bas
HelperParallaxPage.bas
HelperTableMutablePage.bas
HelperTablePage.bas
IconsPage.bas
OtherFirebasePage.bas
OtherFirebaseStorPage.bas
TestClassForAlain.bas
TestPage.bas
ThemesPage.bas
Demo.b4j
Analysing data from B4J source files... (2/2)
Building core.min.css...
2017-07-22 13:32:01.461:INFO::main: Logging initialized @6986ms to org.eclipse.jetty.util.log.StdErrLog
2017-07-22 13:32:01.563:INFOejs.Server:main: jetty-9.4.z-SNAPSHOT
2017-07-22 13:32:01.612:INFOejs.session:main: DefaultSessionIdManager workerName=node0
2017-07-22 13:32:01.612:INFOejs.session:main: No SessionScavenger set, using defaults
2017-07-22 13:32:01.613:INFOejs.session:main: Scavenging every 660000ms
2017-07-22 13:32:01.674:INFOejsh.ContextHandler:main: Started o.e.j.s.ServletContextHandler@23bb8443{/,file:///D:/ABMDemo/Objects/www/,AVAILABLE}
2017-07-22 13:32:01.676:INFOejs.AbstractNCSARequestLog:main: Opened D:\ABMDemo\Objects\logs\b4j-2017_07_22.request.log
Emulated network latency: 100ms
2017-07-22 13:32:01.783:INFOejs.AbstractConnector:main: Started ServerConnector@221af3c0{HTTP/1.1,[http/1.1]}{0.0.0.0:51042}
2017-07-22 13:32:01.783:INFOejs.Server:main: Started @7310ms
2017-07-22 13:32:01.792:INFOejs.AbstractConnector:main: Stopped ServerConnector@221af3c0{HTTP/1.1,[http/1.1]}{0.0.0.0:51042}
2017-07-22 13:32:01.793:INFOejs.session:main: Stopped scavenging
2017-07-22 13:32:01.795:INFOejsh.ContextHandler:main: Stopped o.e.j.s.ServletContextHandler@23bb8443{/,file:///D:/ABMDemo/Objects/www/,UNAVAILABLE}
Fehler in Zeile: 179 (ABMApplication)
java.lang.RuntimeException: Method: getSessionManager not found in: org.eclipse.jetty.server.session.SessionHandler
at anywheresoftware.b4j.object.JavaObject$MethodCache.getMethod(JavaObject.java:366)
at anywheresoftware.b4j.object.JavaObject.RunMethod(JavaObject.java:119)
at anywheresoftware.b4j.object.JavaObject.RunMethodJO(JavaObject.java:138)
at abmaterial.ab.com.abmapplication._startserver(abmapplication.java:182)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:613)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:228)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:159)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:90)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:93)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:77)
at abmaterial.ab.com.main.main(main.java:29)
I'm a complete newbie with b4j. To figure out the possibilities I'v installed b4jv5.7 an ABMaterial 3.2. Now I want to explore the Demo-Project from Abmaterial3.20.zip. I've copied the Project-Folder into a separat Plance, opened demo.b4j and tried to compile it. But I get the Debugger-Messages below. What's wrong with my Configuration? Thanks for your help.
Chris
Error Message:
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
ABMApplication.bas
ABMCacheScavenger.bas
ABMPageTemplate.bas
ABMSessionCreator.bas
ABMUploadHandler.bas
AboutPage.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
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
CompSocialSharePage.bas
CompSVGSurfacePage.bas
CompSwitchPage.bas
CompTabsPage.bas
CompTimeLinePage.bas
CompTreeTablePage.bas
CompUploadPage.bas
CompVideoPage.bas
CustomGauge.bas
CustomGoogleChart.bas
CustomGoogleChart2.bas
CustomSlidebar.bas
DonateButton.bas
DonatorsExtraLibsPage.bas
GettingStartedPage.bas
GridsPage.bas
HelperContainerPage.bas
HelperFlexWallPage.bas
HelperGeneratorPage.bas
HelperModalSheetPage.bas
HelperNavigationBarPage.bas
HelperPagePage.bas
HelperParallaxPage.bas
HelperTableMutablePage.bas
HelperTablePage.bas
IconsPage.bas
OtherFirebasePage.bas
OtherFirebaseStorPage.bas
TestClassForAlain.bas
TestPage.bas
ThemesPage.bas
Demo.b4j
Analysing data from B4J source files... (2/2)
Building core.min.css...
2017-07-22 13:32:01.461:INFO::main: Logging initialized @6986ms to org.eclipse.jetty.util.log.StdErrLog
2017-07-22 13:32:01.563:INFOejs.Server:main: jetty-9.4.z-SNAPSHOT
2017-07-22 13:32:01.612:INFOejs.session:main: DefaultSessionIdManager workerName=node0
2017-07-22 13:32:01.612:INFOejs.session:main: No SessionScavenger set, using defaults
2017-07-22 13:32:01.613:INFOejs.session:main: Scavenging every 660000ms
2017-07-22 13:32:01.674:INFOejsh.ContextHandler:main: Started o.e.j.s.ServletContextHandler@23bb8443{/,file:///D:/ABMDemo/Objects/www/,AVAILABLE}
2017-07-22 13:32:01.676:INFOejs.AbstractNCSARequestLog:main: Opened D:\ABMDemo\Objects\logs\b4j-2017_07_22.request.log
Emulated network latency: 100ms
2017-07-22 13:32:01.783:INFOejs.AbstractConnector:main: Started ServerConnector@221af3c0{HTTP/1.1,[http/1.1]}{0.0.0.0:51042}
2017-07-22 13:32:01.783:INFOejs.Server:main: Started @7310ms
2017-07-22 13:32:01.792:INFOejs.AbstractConnector:main: Stopped ServerConnector@221af3c0{HTTP/1.1,[http/1.1]}{0.0.0.0:51042}
2017-07-22 13:32:01.793:INFOejs.session:main: Stopped scavenging
2017-07-22 13:32:01.795:INFOejsh.ContextHandler:main: Stopped o.e.j.s.ServletContextHandler@23bb8443{/,file:///D:/ABMDemo/Objects/www/,UNAVAILABLE}
Fehler in Zeile: 179 (ABMApplication)
java.lang.RuntimeException: Method: getSessionManager not found in: org.eclipse.jetty.server.session.SessionHandler
at anywheresoftware.b4j.object.JavaObject$MethodCache.getMethod(JavaObject.java:366)
at anywheresoftware.b4j.object.JavaObject.RunMethod(JavaObject.java:119)
at anywheresoftware.b4j.object.JavaObject.RunMethodJO(JavaObject.java:138)
at abmaterial.ab.com.abmapplication._startserver(abmapplication.java:182)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:613)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:228)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:159)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:90)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:93)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:77)
at abmaterial.ab.com.main.main(main.java:29)