hibiscus.bahnbonus: Umsatzabfrage nicht möglich

 
Freuburger
Benutzer
Avatar
Geschlecht: keine Angabe
Beiträge: 10
Dabei seit: 08 / 2017
Betreff:

hibiscus.bahnbonus: Umsatzabfrage nicht möglich

 · 
Gepostet: 05.05.2018 - 12:26 Uhr  ·  #1
Hallo zusammen,

ich habe mir das Plugin hibiscus.bahnbonus installiert und wie unter "https://github.com/littleyoda/hibiscus.bahnbonus" beschrieben eingerichtet.

Die Synchronisierung wird leider abgebrochen ("Fehler: null") und im jameica.log steht folgendes:
Code

[Sat May 05 10:55:25 CEST 2018][INFO][de.willuhn.jameica.hbci.synchronize.AbstractSynchronizeBackend$Worker.run] BEGIN synchronization of account 1/1
[Sat May 05 10:55:25 CEST 2018][INFO][org.jameica.hibiscus.bahnbonus.BahnSynchronizeBackend$MMTgJobGroup.sync] processing jobs
[Sat May 05 10:55:25 CEST 2018][INFO][org.jameica.hibiscus.bahnbonus.BahnSynchronizeJobKontoauszug.execute] Rufe Umsä?tze ab f?r Bahn Bonus
[Sat May 05 10:55:25 CEST 2018][INFO][org.jameica.hibiscus.bahnbonus.BahnSynchronizeJobKontoauszug.execute] username: xxxxxxxx
[Sat May 05 10:55:28 CEST 2018][INFO][org.jameica.hibiscus.bahnbonus.Utils.setProxyCfg] Keine gültige Proxy-Einstellunge gefunden. (false)
[Sat May 05 10:55:28 CEST 2018][INFO][de.willuhn.jameica.services.UpdateService$Worker.run] check for updates needed?
[Sat May 05 10:55:28 CEST 2018][INFO][de.willuhn.jameica.services.UpdateService$Worker.run] no, last check: Sat May 05 10:35:41 CEST 2018, next check: Sun May 06 10:35:41 CEST 2018
[Sat May 05 10:55:30 CEST 2018][WARN][com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl.notify] Obsolete content type encountered: 'text/javascript'.
[Sat May 05 10:55:30 CEST 2018][ERROR][com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter.runtimeError] runtimeError: message=[An invalid or illegal selector was specified (selector: '*,:x' error: Invalid selector: :x).] sourceName=[https://cdn.optimizely.com/js/8033263973.js] line=[1537] lineSource=[null] lineOffset=[0]
[Sat May 05 10:55:32 CEST 2018][WARN][com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl.notify] Expected content type of 'application/javascript' or 'application/ecmascript' for remotely loaded JavaScript element at 'https://www.img-bahn.de/s3/prod/es/v1804/js/bd_18.04.p06.00.min.js', but got 'text/x-js'.
[Sat May 05 10:55:32 CEST 2018][ERROR][com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter.runtimeError] runtimeError: message=[An invalid or illegal selector was specified (selector: '*,:x' error: Invalid selector: :x).] sourceName=[https://www.img-bahn.de/s3/prod/es/v1804/js/bd_18.04.p06.00.min.js] line=[3] lineSource=[null] lineOffset=[0]
[Sat May 05 10:55:33 CEST 2018][WARN][com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl.notify] Expected content type of 'application/javascript' or 'application/ecmascript' for remotely loaded JavaScript element at 'https://www.img-bahn.de/s3/prod/es/v1804/js/es6-promise.js', but got 'text/x-js'.
[Sat May 05 10:55:33 CEST 2018][WARN][com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl.notify] Expected content type of 'application/javascript' or 'application/ecmascript' for remotely loaded JavaScript element at 'https://www.img-bahn.de/s3/prod/es/v1804/js/common.js', but got 'text/x-js'.
[Sat May 05 10:55:33 CEST 2018][WARN][com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl.notify] Expected content type of 'application/javascript' or 'application/ecmascript' for remotely loaded JavaScript element at 'https://www.img-bahn.de/s3/prod/es/v1804/js/softlogin.js', but got 'text/x-js'.
[Sat May 05 10:55:33 CEST 2018][INFO][com.gargoylesoftware.htmlunit.WebConsole$DefaultLogger.info] IFr Begin
[Sat May 05 10:55:33 CEST 2018][INFO][com.gargoylesoftware.htmlunit.WebConsole$DefaultLogger.info] IFr End
[Sat May 05 10:55:33 CEST 2018][WARN][com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl.notify] Expected content type of 'application/javascript' or 'application/ecmascript' for remotely loaded JavaScript element at 'https://www.img-bahn.de/s3/prod/es/v1804/js/s_code.js', but got 'text/x-js'.
[Sat May 05 10:55:33 CEST 2018][WARN][com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl.notify] Obsolete content type encountered: 'text/javascript'.
[Sat May 05 10:55:33 CEST 2018][ERROR][de.willuhn.jameica.hbci.synchronize.AbstractSynchronizeBackend$Worker.run] error while synchronizing
java.lang.NullPointerException
  at org.jameica.hibiscus.bahnbonus.BahnSynchronizeJobKontoauszug.doOneAccount(BahnSynchronizeJobKontoauszug.java:132)
  at org.jameica.hibiscus.bahnbonus.BahnSynchronizeJobKontoauszug.execute(BahnSynchronizeJobKontoauszug.java:72)
  at org.jameica.hibiscus.bahnbonus.BahnSynchronizeBackend$MMTgJobGroup.sync(BahnSynchronizeBackend.java:158)
  at de.willuhn.jameica.hbci.synchronize.AbstractSynchronizeBackend$Worker.run(AbstractSynchronizeBackend.java:396)
  at de.willuhn.jameica.gui.GUI$7.run(GUI.java:1057)

[Sat May 05 10:55:33 CEST 2018][INFO][de.willuhn.jameica.hbci.synchronize.AbstractSynchronizeBackend$Worker.updateStatus] updating synchronization status to: ERROR
[Sat May 05 10:55:33 CEST 2018][INFO][de.willuhn.jameica.hbci.synchronize.AbstractSynchronizeBackend$Worker.run] stopping synchronization
[Sat May 05 10:55:34 CEST 2018][ERROR][com.gargoylesoftware.htmlunit.WebConsole$DefaultLogger.error] [iLogic] checkClientOrigin failed for origin null.
[Sat May 05 10:55:34 CEST 2018][ERROR][com.gargoylesoftware.htmlunit.javascript.background.JavaScriptJobManagerImpl.runSingleJob] Job run failed with unexpected RuntimeException: Wrapped com.gargoylesoftware.htmlunit.ScriptException: Error: PostMessageEndpoint: No peer (https://www.img-bahn.de/s3/prod/es/v1804/js/softlogin.js#476) (https://www.img-bahn.de/s3/prod/es/v1804/js/bd_18.04.p06.00.min.js#75)
net.sourceforge.htmlunit.corejs.javascript.WrappedException: Wrapped com.gargoylesoftware.htmlunit.ScriptException: Error: PostMessageEndpoint: No peer (https://www.img-bahn.de/s3/prod/es/v1804/js/softlogin.js#476) (https://www.img-bahn.de/s3/prod/es/v1804/js/bd_18.04.p06.00.min.js#75)
  at net.sourceforge.htmlunit.corejs.javascript.Context.throwAsScriptRuntimeEx(Context.java:1991)
  at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.doProcessPostponedActions(JavaScriptEngine.java:970)
  at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.processPostponedActions(JavaScriptEngine.java:1035)
  at com.gargoylesoftware.htmlunit.javascript.host.Promise.<init>(Promise.java:132)
  at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
  at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
  at java.lang.reflect.Constructor.newInstance(Unknown Source)
  at net.sourceforge.htmlunit.corejs.javascript.MemberBox.newInstance(MemberBox.java:231)
  at net.sourceforge.htmlunit.corejs.javascript.FunctionObject.call(FunctionObject.java:456)
  at com.gargoylesoftware.htmlunit.javascript.RecursiveFunctionObject.call(RecursiveFunctionObject.java:196)
  at net.sourceforge.htmlunit.corejs.javascript.BaseFunction.construct(BaseFunction.java:364)
  at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpretLoop(Interpreter.java:1530)
  at script(https://www.img-bahn.de/s3/prod/es/v1804/js/bd_18.04.p06.00.min.js:75)
  at script(https://www.img-bahn.de/s3/prod/es/v1804/js/bd_18.04.p06.00.min.js:75)
  at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpret(Interpreter.java:815)
  at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:111)
  at com.gargoylesoftware.htmlunit.javascript.host.Promise.<init>(Promise.java:126)
  at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
  at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
  at java.lang.reflect.Constructor.newInstance(Unknown Source)
  at net.sourceforge.htmlunit.corejs.javascript.MemberBox.newInstance(MemberBox.java:231)
  at net.sourceforge.htmlunit.corejs.javascript.FunctionObject.call(FunctionObject.java:456)
  at com.gargoylesoftware.htmlunit.javascript.RecursiveFunctionObject.call(RecursiveFunctionObject.java:196)
  at net.sourceforge.htmlunit.corejs.javascript.BaseFunction.construct(BaseFunction.java:364)
  at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpretLoop(Interpreter.java:1530)
  at script(https://www.img-bahn.de/s3/prod/es/v1804/js/bd_18.04.p06.00.min.js:75)
  at script(https://www.img-bahn.de/s3/prod/es/v1804/js/bd_18.04.p06.00.min.js:75)
  at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpret(Interpreter.java:815)
  at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:111)
  at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.doTopCall(ContextFactory.java:417)
  at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3424)
  at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:109)
  at com.gargoylesoftware.htmlunit.javascript.host.Promise$3.run(Promise.java:380)
  at com.gargoylesoftware.htmlunit.javascript.background.JavaScriptJobManagerImpl.runSingleJob(JavaScriptJobManagerImpl.java:424)
  at com.gargoylesoftware.htmlunit.javascript.background.DefaultJavaScriptExecutor.run(DefaultJavaScriptExecutor.java:155)
  at java.lang.Thread.run(Unknown Source)
Caused by: com.gargoylesoftware.htmlunit.ScriptException: Error: PostMessageEndpoint: No peer (https://www.img-bahn.de/s3/prod/es/v1804/js/softlogin.js#476)
  at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:914)
  at net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:599)
  at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:527)
  at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:843)
  at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:815)
  at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptFunction(HtmlPage.java:2518)
  at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptFunction(HtmlPage.java:2511)
  at com.gargoylesoftware.htmlunit.javascript.host.event.EventListenersContainer.executeEventListeners(EventListenersContainer.java:269)
  at com.gargoylesoftware.htmlunit.javascript.host.event.EventListenersContainer.executeBubblingListeners(EventListenersContainer.java:335)
  at com.gargoylesoftware.htmlunit.javascript.host.event.EventTarget.fireEvent(EventTarget.java:225)
  at com.gargoylesoftware.htmlunit.javascript.host.Window.dispatchEvent(Window.java:2094)
  at com.gargoylesoftware.htmlunit.javascript.host.Window$2$1.run(Window.java:2181)
  at net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:599)
  at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:527)
  at com.gargoylesoftware.htmlunit.javascript.host.Window$2.execute(Window.java:2186)
  at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.doProcessPostponedActions(JavaScriptEngine.java:965)
  ... 32 more
Caused by: net.sourceforge.htmlunit.corejs.javascript.JavaScriptException: Error: PostMessageEndpoint: No peer (https://www.img-bahn.de/s3/prod/es/v1804/js/softlogin.js#476)
  at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpretLoop(Interpreter.java:1023)
  at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpret(Interpreter.java:815)
  at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:111)
  at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$4.doRun(JavaScriptEngine.java:834)
  at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:899)
  ... 47 more

[Sat May 05 10:55:34 CEST 2018][INFO][de.willuhn.jameica.hbci.synchronize.AbstractSynchronizeBackend$Worker.run] finished
[Sat May 05 10:55:34 CEST 2018][INFO][de.willuhn.jameica.hbci.messaging.SyncEngineStatusMessageConsumer$1.run] Reloading start view
[Sat May 05 10:55:38 CEST 2018][ERROR][com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter.runtimeError] runtimeError: message=[An invalid or illegal selector was specified (selector: 'input.opener:checkbox, h2.opener, h3.opener, div.opener, th.opener, td.opener' error: Invalid selector: input.opener:checkbox).] sourceName=[https://www.img-bahn.de/s3/prod/es/v1804/js/bd_18.04.p06.00.min.js] line=[3] lineSource=[null] lineOffset=[0]
[Sat May 05 10:55:38 CEST 2018][ERROR][com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter.runtimeError] runtimeError: message=[An invalid or illegal selector was specified (selector: 'input:submit.tempdisabling, button.tempdisabling' error: Invalid selector: input:submit.tempdisabling).] sourceName=[https://www.img-bahn.de/s3/prod/es/v1804/js/bd_18.04.p06.00.min.js] line=[3] lineSource=[null] lineOffset=[0]
[Sat May 05 10:55:38 CEST 2018][ERROR][com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter.runtimeError] runtimeError: message=[An invalid or illegal selector was specified (selector: 'input.radio-opener:radio' error: Invalid selector: input.radio-opener:radio).] sourceName=[https://www.img-bahn.de/s3/prod/es/v1804/js/bd_18.04.p06.00.min.js] line=[3] lineSource=[null] lineOffset=[0]
[Sat May 05 10:55:38 CEST 2018][WARN][com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl.notify] Obsolete content type encountered: 'text/javascript'.
[Sat May 05 10:55:39 CEST 2018][WARN][com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl.notify] Obsolete content type encountered: 'text/javascript'.
[Sat May 05 10:55:39 CEST 2018][WARN][com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl.notify] Obsolete content type encountered: 'text/javascript'.
[Sat May 05 10:55:39 CEST 2018][WARN][com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl.notify] Obsolete content type encountered: 'text/javascript'.
[Sat May 05 10:55:39 CEST 2018][WARN][com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl.notify] Obsolete content type encountered: 'text/javascript'.
[Sat May 05 10:55:39 CEST 2018][WARN][com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl.notify] Obsolete content type encountered: 'text/javascript'.
[Sat May 05 10:55:39 CEST 2018][WARN][com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl.notify] Obsolete content type encountered: 'text/javascript'.
[Sat May 05 10:55:39 CEST 2018][WARN][com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.init] Error during JavaScriptEngine.init(WebWindow, Context)
TypeError: Cannot modify readonly property: constructor. (https://www.bahn.de/media/view/tms/js/exactag.js#1)
prototype: HTMLOptionElement
[Sat May 05 10:55:39 CEST 2018][WARN][com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.init] Error during JavaScriptEngine.init(WebWindow, Context)
TypeError: Cannot modify readonly property: constructor. (https://www.bahn.de/media/view/tms/js/exactag.js#1)
prototype: MutationObserver
[Sat May 05 10:55:39 CEST 2018][WARN][com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.init] Error during JavaScriptEngine.init(WebWindow, Context)
TypeError: Cannot modify readonly property: constructor. (https://www.bahn.de/media/view/tms/js/exactag.js#1)
prototype: URL
[Sat May 05 10:55:39 CEST 2018][WARN][com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.init] Error during JavaScriptEngine.init(WebWindow, Context)
TypeError: Cannot modify readonly property: constructor. (https://www.bahn.de/media/view/tms/js/exactag.js#1)
prototype: TransitionEvent
[Sat May 05 10:55:39 CEST 2018][WARN][com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.init] Error during JavaScriptEngine.init(WebWindow, Context)
TypeError: Cannot modify readonly property: constructor. (https://www.bahn.de/media/view/tms/js/exactag.js#1)
prototype: AnimationEvent
[Sat May 05 10:55:39 CEST 2018][WARN][com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl.notify] Obsolete content type encountered: 'text/javascript'.
[Sat May 05 10:55:39 CEST 2018][WARN][com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl.notify] Obsolete content type encountered: 'text/javascript'.
[Sat May 05 10:55:40 CEST 2018][WARN][com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl.notify] Obsolete content type encountered: 'application/x-javascript'.
[Sat May 05 10:55:40 CEST 2018][WARN][com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl.notify] Obsolete content type encountered: 'text/javascript'.


Die installierte Version von htmlunit ist 2.29

Hat mir vielleicht jemand einen Tipp, was da schief läuft?

Viele Grüsse,
Freuburger
infoman
Benutzer
Avatar
Geschlecht:
Beiträge: 8195
Dabei seit: 06 / 2008
Betreff:

Re: hibiscus.bahnbonus: Umsatzabfrage nicht möglich

 · 
Gepostet: 05.05.2018 - 17:01 Uhr  ·  #2
da muss @little.yoda evtl. das script anpassen, da bei Mitbewerber-Produkten auch ähnliche Anfragen laufen.
Hinweis HtmlUnit - (Latest release March 25, 2018 - version 2.30)
little.yoda
Benutzer
Avatar
Geschlecht: keine Angabe
Beiträge: 294
Dabei seit: 05 / 2014
Betreff:

Re: hibiscus.bahnbonus: Umsatzabfrage nicht möglich

 · 
Gepostet: 05.05.2018 - 20:22 Uhr  ·  #3
Schau ich mir an.

Wahrschienlich werde ich dieses Plugin nicht mehr korrigieren, da ich gerade dabei bin meine ganzen Plugins in einem großen Plugin zusammenzuführen.
Da ich aber ein paar Libaries von Sebastian nutze, die zur Zeit noch nicht über das normale Plugin-System verfügbar sind, kann ich das Plugin noch nicht veröffentlichen.
Freuburger
Benutzer
Avatar
Geschlecht: keine Angabe
Beiträge: 10
Dabei seit: 08 / 2017
Betreff:

Re: hibiscus.bahnbonus: Umsatzabfrage nicht möglich

 · 
Gepostet: 07.05.2018 - 19:51 Uhr  ·  #4
Ok, danke, dann weiss ich erstmal Bescheid.
Gewählte Zitate für Mehrfachzitierung:   0