theprojecter / spelstegen Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/spelstegen
Automatically exported from code.google.com/p/spelstegen
A page with information about the service needs to be added.
Original issue reported on code.google.com by per1978
on 11 Nov 2008 at 8:44
When running the application I get this error in the log and the statistics
don't work.
SEVERE: Exception while dispatching incoming RPC call
com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public
abstract java.lang.String
spelstegen.client.ChartGenerator.generateScoreHistoryChart(spelstegen.clien
exception: org.jfree.data.general.SeriesException: You are attempting to
add an observation for the time period 25-November-2008 but the series
already contains an observation for that time period. Duplicates are not
permitted. Try using the addOrUpdate() method.
at
com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:360)
at
com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:546)
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServi
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceSer
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicatio
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterC
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.j
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.j
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:12
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:10
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.jav
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Htt
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:636)
Caused by: org.jfree.data.general.SeriesException: You are attempting to
add an observation for the time period 25-November-2008 butthe series
already contains an observation for that time period. Duplicates are not
permitted. Try using the addOrUpdate() method.
at org.jfree.data.time.TimeSeries.add(TimeSeries.java:529)
at org.jfree.data.time.TimeSeries.add(TimeSeries.java:572)
at org.jfree.data.time.TimeSeries.add(TimeSeries.java:558)
at
spelstegen.server.chart.ScoreHistoryChart.getDataset(ScoreHistoryChart.java
at
spelstegen.server.chart.ScoreHistoryChart.<init>(ScoreHistoryChart.java:40)
at
spelstegen.server.ChartGeneratorImpl.generateScoreHistoryChart(ChartGenerat
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:5
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
at java.lang.reflect.Method.invoke(Method.java:616)
at
com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:527)
... 16 more
Original issue reported on code.google.com by [email protected]
on 1 Dec 2008 at 1:28
Player A has more points than player B.
If player A wins against player B he will add 5% of player B's points to
his, but player B will not loose any.
If player B wins against player A he will get 5% of player A's points, and
player A will loose theese points (As it works today).
Original issue reported on code.google.com by per1978
on 8 Jan 2009 at 3:12
If the same player is added twice it will add two entries in the
leaguePlayers table. There should be a check for this in the adding logic.
Original issue reported on code.google.com by [email protected]
on 19 Jan 2009 at 11:59
As joint
Original issue reported on code.google.com by per1978
on 11 Nov 2008 at 8:39
The admin flag can be set manually in the database as of now.
Original issue reported on code.google.com by [email protected]
on 4 Nov 2008 at 1:27
Create chart where score history for all leagues that a player participates
in are displayed in one chart.
Original issue reported on code.google.com by per1978
on 11 Nov 2008 at 7:57
1. Add property file 'build.properties' that holds current version. Version
numbers can for instance have the form major.minor.patch, where the initial
release can be 1.0.0.
2. The ant script shall generate a war file named spelstegen-1.0.0.war (for
version 1.0.0).
3. Update dependency list.
4. Add important junit tests and fail on errors.
Original issue reported on code.google.com by per1978
on 11 Nov 2008 at 7:52
Currently there is not much feedback when saving matches. Improve by eg.
displaying a message.
Original issue reported on code.google.com by [email protected]
on 12 Jan 2009 at 1:08
What steps will reproduce the problem?
1. Run script:
2. Run application and try to log in as: [email protected]/test.
3.
What is the expected output? What do you see instead?
Sometime it works, but most times the following exception is thrown:
[ERROR] Uncaught exception escaped
java.lang.NullPointerException: null
at
spelstegen.client.widgets.LeagueAdminPanel.loggedIn(LeagueAdminPanel.java:233)
at spelstegen.client.MainApplication.loggedIn(MainApplication.java:199)
at spelstegen.client.widgets.LoginPanel$1.onSuccess(LoginPanel.java:79)
at spelstegen.client.widgets.LoginPanel$1.onSuccess(LoginPanel.java:1)
at
com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceived(Re
questCallbackAdapter.java:215)
at
com.google.gwt.http.client.Request.fireOnResponseReceivedImpl(Request.java:254)
at
com.google.gwt.http.client.Request.fireOnResponseReceivedAndCatch(Request.java:2
26)
at com.google.gwt.http.client.Request.fireOnResponseReceived(Request.java:217)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
at
com.google.gwt.dev.shell.ie.IDispatchImpl.callMethod(IDispatchImpl.java:126)
at com.google.gwt.dev.shell.ie.IDispatchProxy.invoke(IDispatchProxy.java:155)
at com.google.gwt.dev.shell.ie.IDispatchImpl.Invoke(IDispatchImpl.java:294)
at com.google.gwt.dev.shell.ie.IDispatchImpl.method6(IDispatchImpl.java:194)
at org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMObject.java:117)
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1925)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2966)
at com.google.gwt.dev.GWTShell.pumpEventLoop(GWTShell.java:720)
at com.google.gwt.dev.GWTShell.run(GWTShell.java:593)
at com.google.gwt.dev.GWTShell.main(GWTShell.java:357)
I don't know why the behaviour is different from time to time.
Original issue reported on code.google.com by per1978
on 26 Dec 2008 at 11:21
Function to search for players and leagues.
Since we are using ajax we should dynamically update the search result list
while typing in search criteria.
Should we search for both players and leagues in the same search engine?
Original issue reported on code.google.com by per1978
on 11 Nov 2008 at 8:42
The database column "season" for each match is currently not used in the
gui. Add support for selecting which season is the current. Also support
for starting a new season should be added.
Original issue reported on code.google.com by [email protected]
on 4 Nov 2008 at 1:40
Add login dialoge and logic
Original issue reported on code.google.com by per1978
on 11 Nov 2008 at 8:45
Handles dependencies, builds, etc.
Original issue reported on code.google.com by per1978
on 20 Sep 2009 at 7:34
Use pie charts to compare stats for all matches in a season between two
players. For each sport in league compare:
- victories
- total score
- sets won
Original issue reported on code.google.com by per1978
on 11 Nov 2008 at 8:11
Add support to send match invitations to one or more players.
An invitation could be reoccuring and should then be stored in database. A
thread/timer should periodically check for invitations to send.
Optionally, a outlook meeting should be attached to the mail invitation.
Original issue reported on code.google.com by per1978
on 11 Nov 2008 at 8:22
More statistics to the people.
Original issue reported on code.google.com by [email protected]
on 4 Nov 2008 at 1:28
Add possibillity to add new matches.
1. Select two players from drop down lists.
2. Select sport.
3a. If single sport - select number of sets
3b. If sport group - like Racketlon - assume one set.
4a. Enter set scores in text boxes, where number of text boxes corresponds
to number of sets seleted in 3a.
4b. For each child sport - sport name is displayed and score can be added
in text boxes.
5. Possible to add comments.
6. User clicks save button.
Original issue reported on code.google.com by per1978
on 11 Nov 2008 at 8:53
What steps will reproduce the problem?
1.
2.
3.
What is the expected output? What do you see instead?
Please use labels and text to provide additional information.
Original issue reported on code.google.com by [email protected]
on 4 Nov 2008 at 1:26
GWT 1.6 includes direct support for web archive (war) output, faster
compilation, new widgets, new-and-improved event handling, and much more.
In addition, GWT 1.6 resolves dozens of bugs from the GWT issue tracker.
GWT 1.7 adds explicit support for Internet Explorer 8, Firefox 3.5, and
Safari 4 as well as a few high-priority bug fixes. In all other respects,
it is very similar to GWT 1.6. Note, however, that this release is version
1.7 rather than version 1.6.5 to signify a potentially breaking change for
libraries that use deferred binding to specialize code based on user agent
(see the next section for technical details).
Original issue reported on code.google.com by per1978
on 20 Sep 2009 at 7:33
What steps will reproduce the problem?
1. Start application and rezize browser window to a small size.
2. Click "Logga in" (Se login upper left and right corners of login
dialogue in attached image).
3. Log in as an existing user.
4. Maximize browser window.
5. Logout.
What is the expected output? What do you see instead?
- Uniformed login dialoge.
- Login/logout information on the same location no matter size of browser
window, or always on the upper right corner (adjust this as window is resized)
Original issue reported on code.google.com by per1978
on 26 Dec 2008 at 11:34
Attachments:
This should probably be decided on a league basis.
Suggestion:
Add a leagueMatchAdmins table which maps league id to player id's and
decides who are able to modify scores etc.
Original issue reported on code.google.com by [email protected]
on 12 Nov 2008 at 2:07
Add function to generate order of matches for an event
1. User selects all players to participate in an event.
2. Users selects number of matches to play and clicks a button.
2. Computer randomize match orders for players so each players meets other
players in the specified number of matches.
3a. User can choose to send match orders to players.
3b. User can choose to print match orders.
Original issue reported on code.google.com by per1978
on 11 Nov 2008 at 8:36
Create general mail module.
This module is useful to:
- send confirmation mail when register new members
- Send notifications to players when matches are registered
- Sen invitations
- etc
Original issue reported on code.google.com by per1978
on 11 Nov 2008 at 8:18
A league admin is one or more players that are allowed to add and remove
player from their respective league.
Suggestion:
Add a leagueAdmins table which maps league id to player id's.
Original issue reported on code.google.com by [email protected]
on 12 Nov 2008 at 2:09
- Break dependency to DB
- Support JDO
Original issue reported on code.google.com by per1978
on 20 Sep 2009 at 7:38
What is the expected output? What do you see instead?
When registering a match that consists of a set of child sports, like a
Racketlon match for instance, you don't wont to choose the number of sets.
Instead one set should be assumed and the user should be able to register
the score in each of the child sports.
Like this:
Anders spelade mot Daniel
i Racketlon
Pingis: 21 - 4
Badminton: 21 - 6
Squash: 3 - 21
Tennis: 21 - 18
Original issue reported on code.google.com by per1978
on 26 Dec 2008 at 11:44
At least a fixed width. Right now the width differs between tabs. If a tab
contains no data the whole table will shrink and look really ugly.
Original issue reported on code.google.com by per1978
on 13 Nov 2008 at 12:15
Possible to change your own player profile.
Original issue reported on code.google.com by per1978
on 11 Nov 2008 at 9:00
It's tedious to have to type them in each time.
Original issue reported on code.google.com by [email protected]
on 12 Jan 2009 at 1:09
An administrator shall be able to:
- Change admin privilage for other players. A player can be both
administrator and player of a league.
- Deregister players from a league.
Original issue reported on code.google.com by per1978
on 11 Nov 2008 at 9:04
The gui requires a user to be logged in to be able to add matches or users.
No server-side authorisation is done however and should be added.
Original issue reported on code.google.com by [email protected]
on 5 Nov 2008 at 1:30
Add possibillity to change registered matches.
1. User clicks on match to edit
2. Same UI as when register a match is displayed with existing data.
3a. The user can change match data or date/time of match and click save.
4b. The user can delete a match by clicking delete button.
5. A confirmation popup should be displayed to assure that user should
change/delete record.
Original issue reported on code.google.com by per1978
on 11 Nov 2008 at 8:57
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.