GoikLectures issueshttps://gitlab.mi.hdm-stuttgart.de/goik/GoikLectures/-/issues2022-10-18T06:57:38+02:00https://gitlab.mi.hdm-stuttgart.de/goik/GoikLectures/-/issues/11Weather forecast: Add hint about skeleton project2022-10-18T06:57:38+02:00Gerstner Niklas Friedrichng066@hdm-stuttgart.deWeather forecast: Add hint about skeleton projectI think there should be a hint that there's a skeleton project that students can / should use for the weather forecast project.I think there should be a hint that there's a skeleton project that students can / should use for the weather forecast project.https://gitlab.mi.hdm-stuttgart.de/goik/GoikLectures/-/issues/10Weather forecast: Empty "Requirements" page2021-01-10T15:35:48+01:00Gerstner Niklas Friedrichng066@hdm-stuttgart.deWeather forecast: Empty "Requirements" pageIs the content missing or was content planned, but has never been added to this page?
https://freedocs.mi.hdm-stuttgart.de/sd1_sect_projectWeatherForecastRequirements.htmlIs the content missing or was content planned, but has never been added to this page?
https://freedocs.mi.hdm-stuttgart.de/sd1_sect_projectWeatherForecastRequirements.htmlhttps://gitlab.mi.hdm-stuttgart.de/goik/GoikLectures/-/issues/9Update weather skeleton models2021-01-10T15:32:03+01:00Gerstner Niklas Friedrichng066@hdm-stuttgart.deUpdate weather skeleton modelsSee changes: https://gitlab.mi.hdm-stuttgart.de/ng066/GoikLectures/-/compare/master...update-weatherskeleton
Download: https://gitlab.mi.hdm-stuttgart.de/ng066/GoikLectures/-/archive/update-weatherskeleton/GoikLectures-update-weatherske...See changes: https://gitlab.mi.hdm-stuttgart.de/ng066/GoikLectures/-/compare/master...update-weatherskeleton
Download: https://gitlab.mi.hdm-stuttgart.de/ng066/GoikLectures/-/archive/update-weatherskeleton/GoikLectures-update-weatherskeleton.zip?path=Doc/Sd1/Ref/Projects/WeatherSkeleton
- Fixed typo in Maven weather skeleton project description
- Added new model `Snow`
- Added missing properties to existing models
- Changed data type of certain properties in existing models
- Updated `stuttgart.weather.json` to reflect model changes (I simply fetched the data from the OpenWeatherMap API)
The tests pass and my personal weather forecast project seems to work fine with the updated models.https://gitlab.mi.hdm-stuttgart.de/goik/GoikLectures/-/issues/8Dead link in no. 1102020-12-09T22:42:17+01:00Gerstner Niklas Friedrichng066@hdm-stuttgart.deDead link in no. 110There's a dead link named "Fraction" in the last sentence of the answer to no. 110: https://freedocs.mi.hdm-stuttgart.de/sd1SectFraction.html#sde1QandaFraction
`https://freedocs.mi.hdm-stuttgart.de/P/Sd1/fraction/V2/target/site/apidocs/...There's a dead link named "Fraction" in the last sentence of the answer to no. 110: https://freedocs.mi.hdm-stuttgart.de/sd1SectFraction.html#sde1QandaFraction
`https://freedocs.mi.hdm-stuttgart.de/P/Sd1/fraction/V2/target/site/apidocs/de/hdm_stuttgart/mi/sd1/fraction/Fraction.html`https://gitlab.mi.hdm-stuttgart.de/goik/GoikLectures/-/issues/7Typo in no. 92 "Explaining times"2020-12-09T22:36:02+01:00Gerstner Niklas Friedrichng066@hdm-stuttgart.deTypo in no. 92 "Explaining times"See https://gitlab.mi.hdm-stuttgart.de/ng066/GoikLectures/-/commit/109af8e493b0348c5f8cad6ce665ab2c2843fba9
(I cannot create a merge request due to lack of permissions.)See https://gitlab.mi.hdm-stuttgart.de/ng066/GoikLectures/-/commit/109af8e493b0348c5f8cad6ce665ab2c2843fba9
(I cannot create a merge request due to lack of permissions.)https://gitlab.mi.hdm-stuttgart.de/goik/GoikLectures/-/issues/6Sd1: Answer unavailable for exercise "Generating square numbers" (No. 69)2020-11-10T22:01:06+01:00Gerstner Niklas Friedrichng066@hdm-stuttgart.deSd1: Answer unavailable for exercise "Generating square numbers" (No. 69)The answer for exercise [Generating square numbers (No. 69)](https://freedocs.mi.hdm-stuttgart.de/sd1_sect_while.html#sd1_statements_qanda_loopSquares) seems to be unavailable due to an error:
`No template of mode='make' defined for ele...The answer for exercise [Generating square numbers (No. 69)](https://freedocs.mi.hdm-stuttgart.de/sd1_sect_while.html#sd1_statements_qanda_loopSquares) seems to be unavailable due to an error:
`No template of mode='make' defined for element'programlisting'`https://gitlab.mi.hdm-stuttgart.de/goik/GoikLectures/-/issues/4Title of "Strings on CodingBat" exercises2020-06-27T14:01:26+02:00Gerstner Niklas Friedrichng066@hdm-stuttgart.deTitle of "Strings on CodingBat" exercisesThe title tag of the [Strings on CodingBat](https://freedocs.mi.hdm-stuttgart.de/sd1_coreClasses_sect_qandaString.html#sw1QandaExternalAdvancedString) exercises seems to be misplaced in the `coreClasses.xml` file and is therefore not dis...The title tag of the [Strings on CodingBat](https://freedocs.mi.hdm-stuttgart.de/sd1_coreClasses_sect_qandaString.html#sw1QandaExternalAdvancedString) exercises seems to be misplaced in the `coreClasses.xml` file and is therefore not displayed correctly on the page:
![strings-on-codingbat](/uploads/a525d8594602b3077266ee5f9e9ab0b7/strings-on-codingbat.png)
[I've forked this repository and tried to fix the problem](https://gitlab.mi.hdm-stuttgart.de/ng066/GoikLectures/commit/38fa14a6e0e0428678595b9820414b4e362cfe95), but unfortunately I'm unable to create a merge request. A "404 - Page Not Found" error is displayed when you try to create one by clicking the "[New merge request](https://gitlab.mi.hdm-stuttgart.de/ng066/GoikLectures/merge_requests/new)" button. Perhaps merge requests are disabled in the repository settings - but then why is the button still visible?https://gitlab.mi.hdm-stuttgart.de/goik/GoikLectures/-/issues/5LogManager causes false negative test results2020-06-27T10:43:05+02:00Malliaridis ChristosLogManager causes false negative test resultsLogManager causes `java.lang.NoClassDefFoundError` when running tests failing every test, even when correctly implemented the methods.
Way to reproduce this error:
1. Open exam 2015summer
2. Optional implement the `StringTransforms` f...LogManager causes `java.lang.NoClassDefFoundError` when running tests failing every test, even when correctly implemented the methods.
Way to reproduce this error:
1. Open exam 2015summer
2. Optional implement the `StringTransforms` first method `chinesischerAkzent(String)`
3. Run test suite `Test_StringTransforms` or `ShowReachedPoints`
Possible reasons of this error:
The LogManager seems to have problems finding the right class from inside a test class causing the line 10 from `StringTransforms.java` to fail.
```java
10. private static Logger log = LogManager.getLogger(StringTransforms.class);
```
Further information:
In some cases this error might cause timeout exceptions, in other it might show different classes that were not found.
In one case the error shown looked as follow:
```shell
java.lang.NoClassDefFoundError: ro/sync/basic/io/FilePathToURI
at org.apache.xerces.impl.XMLEntityManager.fixURI(Unknown Source)
at org.apache.xerces.impl.XMLEntityManager.expandSystemId(Unknown Source)
at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at org.apache.logging.log4j.core.config.xml.XmlConfiguration.<init>(XmlConfiguration.java:92)
at org.apache.logging.log4j.core.config.xml.XmlConfigurationFactory.getConfiguration(XmlConfigurationFactory.java:46)
at org.apache.logging.log4j.core.config.ConfigurationFactory$Factory.getConfiguration(ConfigurationFactory.java:492)
at org.apache.logging.log4j.core.config.ConfigurationFactory$Factory.getConfiguration(ConfigurationFactory.java:424)
at org.apache.logging.log4j.core.config.ConfigurationFactory.getConfiguration(ConfigurationFactory.java:293)
at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:616)
at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:637)
at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:231)
at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:153)
at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:45)
at org.apache.logging.log4j.LogManager.getContext(LogManager.java:194)
at org.apache.logging.log4j.LogManager.getLogger(LogManager.java:581)
at de.hdm_stuttgart.sw1.klausur.StringTransforms.<clinit>(StringTransforms.java:11)
at de.hdm_stuttgart.sw1.klausur.test.Test_StringTransforms.test_010_chinesischerAkzent_EmptyString(Test_StringTransforms.java:29)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298)
at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.ClassNotFoundException: ro.sync.basic.io.FilePathToURI
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
... 35 more
[[[Following error appeared on same test suite for every test / multiple times]]]
java.lang.NoClassDefFoundError: Could not initialize class de.hdm_stuttgart.sw1.klausur.StringTransforms
at de.hdm_stuttgart.sw1.klausur.test.Test_StringTransforms.test_020_chinesischerAkzent_Identisch(Test_StringTransforms.java:36)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298)
at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.lang.Thread.run(Thread.java:834)
```https://gitlab.mi.hdm-stuttgart.de/goik/GoikLectures/-/issues/2Java 9 + Javafx2018-06-17T15:00:41+02:00Dr. Martin GoikJava 9 + JavafxThe current MI Maven JavaFX archetype [mi-maven-archetype-javafxml](https://gitlab.mi.hdm-stuttgart.de/goik/GoikLectures/tree/master/ws/Archetypes/mi-maven-archetype-javafxml) is having Java 9 related issues (e.g. lacking dependencies) ...The current MI Maven JavaFX archetype [mi-maven-archetype-javafxml](https://gitlab.mi.hdm-stuttgart.de/goik/GoikLectures/tree/master/ws/Archetypes/mi-maven-archetype-javafxml) is having Java 9 related issues (e.g. lacking dependencies) thus requiring an update.
An updated archetype should contain a comprehensive JavaFX code sample sufficient for introductory purposes using updated Junit and log4j dependencies and related documentation. Proposed steps:
1. Tobias updating [maven-prototype-javafx](https://gitlab.mi.hdm-stuttgart.de/goik/GoikLectures/tree/master/ws/Archetypes/maven-prototype-javafx).
2. Martin updating [mi-maven-archetype-javafxml](https://gitlab.mi.hdm-stuttgart.de/goik/GoikLectures/tree/master/ws/Archetypes/mi-maven-archetype-javafxml)Dr. Martin GoikJordine Tobias Dr.Dr. Martin Goik2018-03-17https://gitlab.mi.hdm-stuttgart.de/goik/GoikLectures/-/issues/3Shifted line in Firefox2018-06-17T15:00:06+02:00Artur BergenShifted line in Firefox![Docker_-_Mozilla_Firefox_004](/uploads/d7b0fc510dc90fc8b33827118a51af9e/Docker_-_Mozilla_Firefox_004.png)
I was not able to commit this fix, so here's an issue solver. To fix this you have to set back a change in 37dbfe8e. With `verti...![Docker_-_Mozilla_Firefox_004](/uploads/d7b0fc510dc90fc8b33827118a51af9e/Docker_-_Mozilla_Firefox_004.png)
I was not able to commit this fix, so here's an issue solver. To fix this you have to set back a change in 37dbfe8e. With `vertical-align: baseline` in **reveal.css.patch** the displacement is gone. So remove line 18-26 and everything will be fine.
EDIT: or just merge the new branch into master :)Dr. Martin GoikDr. Martin Goik