Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Synchronized with get-pulsar.xml in another repository #1

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

LEB-ErikNordenskiold
Copy link

Hej @DSE-FredrikEngberg , jag tänkte att jag skulle testa lite med pulsar-by-example i helgen. Jag fick det dock inte att fungera. Fick detta fel:

C:\leb\pulsar-by-example\script\get-pulsar.xml:95: java.lang.ArrayIndexOutOfBoundsException: 1
    at org.apache.tools.zip.ZipEntry.getMergedFields(ZipEntry.java:364)
    at org.apache.tools.zip.ZipEntry.getAllExtraFieldsNoCopy(ZipEntry.java:387)
    at org.apache.tools.zip.ZipEntry.getAllExtraFields(ZipEntry.java:374)
    at org.apache.tools.zip.ZipEntry.getExtraFields(ZipEntry.java:333)
    at org.apache.tools.zip.ZipEntry.setExtra(ZipEntry.java:534)
    at org.apache.tools.zip.ZipEntry.setExtraFields(ZipEntry.java:313)
    at org.apache.tools.zip.ZipEntry.mergeExtraFields(ZipEntry.java:709)
    at org.apache.tools.zip.ZipEntry.setCentralDirectoryExtra(ZipEntry.java:545)
    at org.apache.tools.zip.ZipFile.readCentralDirectoryEntry(ZipFile.java:546)
    at org.apache.tools.zip.ZipFile.populateFromCentralDirectory(ZipFile.java:463)
    at org.apache.tools.zip.ZipFile.<init>(ZipFile.java:214)
    at org.apache.tools.ant.taskdefs.Expand.expandFile(Expand.java:184)
    at org.apache.tools.ant.taskdefs.Expand.execute(Expand.java:159)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
    at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:435)
    at org.apache.tools.ant.Target.performTasks(Target.java:456)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
    at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1260)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:441)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:435)
    at org.apache.tools.ant.Target.performTasks(Target.java:456)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1376)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1260)
    at org.apache.tools.ant.Main.runBuild(Main.java:853)
    at org.apache.tools.ant.Main.startAnt(Main.java:235)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:285)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:112)

Jag diffade då med motsvarande fil i LEB-System och i LEB-Portal, lade över denna ändring och nu verkar det fungera. Vet ej om det är något att ta in eller om det egentligen är något annat som behöver fixas. När jag diffade get-pulsar.xml i de olika repona såg jag att det vara ganska stora skillnader i den som används i LEB-Portal, borde inte den här filen vara identisk i alla projekt där man använder pulsar?

/Erik


This change is Reviewable

@DSE-FredrikEngberg
Copy link
Contributor

OK, vi tar en titt och återkommer!


Comments from Reviewable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants